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

Compare commits

..

825 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
Mark Otto
f9a7a8941e
Unify chip input and editable Combobox (#43300)
* fix(combobox): support native form values and events

Multiple selections now submit one field per value. Commas stay in the
value, and an empty multiple selection submits no entries. Reuse an
explicit hidden input without removing application-owned fields.

Keep a stable field for input and change listeners. Sync fields before
notifications, restore initial selections on reset, and follow disabled
state and form ownership. Document the update and disposal contracts.

Forward Menu lifecycle events after its transitions. Keep native search
editing keys and cover the sticky search padding with logical CSS.

* feat(combobox): combine editable selection and chip entry

Search and select values from one editable field. Multiple selections
render as removable chips, and explicit free entry supports tags. Keep
query text separate from committed values and preserve native form data.

Use the existing Menu for positioning and lifecycle. Keep focus in the
editor while suggestions are highlighted. Preserve chip nodes, caret
positions, reset behavior, and input-method text during reconciliation.

Retire the separate Chips plugin and chip-input control. Keep static
chip styles and button-triggered Combobox markup. Document the alpha 2
markup, token, method, and event migration.

* fix(combobox): match chip fields to the default input height

Multiple values should fit the same row height as a normal input.
Use shared input spacing and typography, with smaller contextual chips.
Let the field grow when its values wrap.

Replace the text dismiss glyph with the SVG from the chip documentation.
Keep the named removal button and existing chip interaction behavior.

* fix(combobox): separate chip icon size from its hit area

Render the dismiss icon at 12px inside a 24px removal button. Move chips
closer to the field's inline start while keeping normal text padding
for an empty editor. Use logical spacing so the inset follows RTL.

* fix(combobox): tighten chip dismiss spacing

Use negative inline margins to bring the dismiss button closer to the
label and chip edge. Keep its 24px hit area and 12px SVG artwork.

* fix(combobox): derive chip corners from the field radius

Use a nested chip radius based on the wrapping field's radius, border,
and inset. Clamp the result at zero so square fields keep square chips.

* fix(combobox): balance chip insets within the field

Match the field's inline padding to its vertical padding when chips
are present. Derive chip corners from that inset and pull the dismiss
button's end margin in another 2px without reducing its hit area.

* fix(combobox): soften chip corners within balanced fields

Use half the field radius for chips so equal input padding does not
leave their corners nearly square. Keep square fields square.

* fix(combobox): restore chip selection and keyboard behavior

Highlight chips with the filled active state when users navigate or
select them. Restore modifier clicks, anchored ranges, select-all, and
deletion of highlighted chips. Keep native query editing and RTL keys.

Keep chip highlights separate from committed values. Report UI selection
through select.bs.combobox and restore the chip selection methods on
Combobox. Bulk removal honors each cancellation and emits one value
change before recovering focus.

Document the restored interaction and alpha migration. Cover range
anchors, duplicate values, disabled chips, reset, and disposal.

* fix(combobox): select chips on every focus path

Tabbing to a chip's remove button or focusing a chip directly should
show its primary selected state. Apply that highlight without changing
committed values, and dismiss the suggestion popup.

Guard focus controlled by range navigation and modifier clicks so it
does not collapse or undo the user's chip selection.

* fix(combobox): suppress inner chip focus outlines

Keep the filled selected chip and the wrapping field's focus ring as
focus indicators. Suppress the nested outlines on chips and their
remove buttons during keyboard navigation.

* fix(combobox): guard form and editor edge cases

Selection callbacks can change or dispose the component before an outer
operation completes. Stop stale selection and focus work after those
callbacks, and keep pending popup sizing from changing disposed markup.

Handle native composition events through the shared event system. Keep
unfinished input out of blur commits, reconcile completed composition,
and preserve focus after the editor loses it. Let the IME handle its
keys in both Combobox and Menu.

Follow external reset forms without a backing field, omit disabled
single options, and clear references to removed or disabled suggestions.
Add regressions and clarify the synchronous form update requirement.

* docs(chips): move standalone chips to Components

Chips can stand alone or appear within a form component. Place their
docs in Components and describe that wider use. Keep the old Forms URL
as a redirect, and update navigation and cross-links.

* fix(chips): limit hover feedback to interactive chips

Static chips change color and show a pointer cursor on hover, even
when they have no action. Keep static chips neutral and apply hover
feedback to links, buttons, and Combobox chips. A dismiss button keeps
its own hover state without changing the whole chip.

Add interactive examples and correct the documented CSS layer. Allow
for the extra selectors in the unminified CSS bundle budget.

* docs(combobox): lead with editable examples

Show search and selection in the input from the first example. Use
inputs for the shared examples and group the button variants together.
Use the editable markup in the form and setup guidance too.

* docs(combobox): restore the overview feature list

Describe editable inputs and button toggles in the original overview.
Include chips, free entry, form submission, and selection events.

* docs(combobox): preserve example indentation

Match the form field examples by adding the source indentation that
MDX strips. Record the convention in the docs guidance.

* fix(combobox): focus search directly when opening

Clicking a searchable combobox moved focus to the trigger before
the opening animation moved it to search.

Focus search as soon as the menu opens. Keep the trigger in the
tab order and return focus to it on Escape.

* docs(combobox): style the Language example label

* ci(combobox): fix bundle budgets and spelling

Round the three JavaScript bundle limits up to the next quarter
kilobyte to account for the search focus changes. Reword the docs
indentation rule so it passes the spelling check.

* fix(combobox): preserve resets and expose selection state

A canceled second reset could discard a completed reset. Keep each
pending reset until its own callback runs. Give button-mode options
listbox roles, handle Escape on the toggle, and restore chip focus
rings. Keep long values inside the field and use shared state tokens.

* fix(combobox): fit chips to the shared control size

Compact controls were 30px tall, but their fixed-height chips made
the multiple-selection field 34px tall. Derive chip and dismiss-button
heights from the space left by the control padding and borders. Check
compact, default, and spacious controls in the browser.

* docs(combobox): redirect chip input readers to the merged component

The former chip input page now points to Combobox. Explain the
consolidation at the top of that page and link the migration steps
for existing chip inputs.

* chore(combobox): account for the current main bundle size

The rebased build includes the merged Range and hash-link fixes.
Raise the three affected limits to the next standard budget step.
2026-11-12 12:48:15 -08:00
Mark Otto
9fce85dac5
Open collapses and tabs from URL hash links (#42835)
* feat(js): open collapses and tabs from URL hash links

Visiting a page with a fragment left opted-in collapses and tabs
closed, so deep links could not reveal their content.

Add `data-bs-hash` on the target. On load and hashchange, scroll
the trigger, show the panel, then scroll the target into view.

Fixes #34299

* fix(hash): keep fragment scrolling current after page load

A late import missed the initial fragment. An earlier opening could
also scroll after the user chose another fragment. Handle loaded
pages and ignore stale scroll callbacks. Wait for component opening
without leaving shown-event listeners after canceled events.
2026-11-11 20:32:05 -08:00
Mark Otto
026d2d599f
Fix Range refresh, native reset, and RTL alignment (#43305)
* fix(range): refresh decorations and honor form resets

Let applications refresh bubble configuration and datalist ticks with
update() while preserving constructor option priority. Keep drag events
on the value-only update path.

Refresh decorations after native form reset and release reset handlers
and pending work on disposal. Use a decorative div for the bubble so
WebKit cannot reset its inner markup as an output control.

Align the fill, bubble, and ticks with the native thumb in RTL layouts.

* docs(range): note accessible tick preset considerations

Record clickable labels as an optional future direction for sparse
presets. Require real buttons, keyboard activation, visible focus, and
usable targets while keeping ordinary ticks decorative by default.

* chore(range): account for the added bundle size

The Range refresh and reset fixes exceed three JavaScript bundle limits
by small amounts. Raise only those limits to the next standard quarter
kilobyte using the repository's bundlewatch helper.

* fix(range): honor shared radius and shadow tokens

Custom pill radii did not reach the range track or thumb. The track
also read a shadow token with no default. Use the shared tokens and
state the required prefix step for Sass builds.
2026-11-11 20:27:22 -08:00
Julien Déramond
795268b959
Docs: drop the purple theme-color now that BUI sets one per color scheme (#43347)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:47:37 +01:00
dependabot[bot]
c28b3dc3e6
Build(deps-dev): Bump the development-dependencies group with 14 updates (#43339)
Bumps the development-dependencies group with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.3.4` | `7.3.5` |
| [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `8.1.1` | `8.1.2` |
| [@pagefind/component-ui](https://github.com/Pagefind/pagefind) | `1.5.2` | `1.6.0` |
| [@twbs/bui](https://github.com/twbs/bui) | `0.1.8` | `0.1.10` |
| [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) | `5.0.5` | `5.1.0` |
| [@vitest/browser-playwright](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright) | `5.0.5` | `5.1.0` |
| [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul) | `5.0.5` | `5.1.0` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.4.2` | `7.4.5` |
| [eslint](https://github.com/eslint/eslint) | `10.13.0` | `10.14.0` |
| [globals](https://github.com/sindresorhus/globals) | `17.13.0` | `17.14.0` |
| [html-validate](https://gitlab.com/html-validate/html-validate) | `11.17.0` | `11.18.0` |
| [mime](https://github.com/broofa/mime) | `4.1.1` | `4.1.2` |
| [pagefind](https://github.com/Pagefind/pagefind) | `1.5.2` | `1.6.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.5` | `5.1.0` |


Updates `@astrojs/markdown-remark` from 7.3.4 to 7.3.5
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.5/packages/markdown/remark)

Updates `@astrojs/mdx` from 8.1.1 to 8.1.2
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/mdx@8.1.2/packages/integrations/mdx)

Updates `@pagefind/component-ui` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/Pagefind/pagefind/releases)
- [Changelog](https://github.com/Pagefind/pagefind/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pagefind/pagefind/compare/v1.5.2...v1.6.0)

Updates `@twbs/bui` from 0.1.8 to 0.1.10
- [Commits](https://github.com/twbs/bui/commits)

Updates `@vitest/browser` from 5.0.5 to 5.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/browser)

Updates `@vitest/browser-playwright` from 5.0.5 to 5.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/browser-playwright)

Updates `@vitest/coverage-istanbul` from 5.0.5 to 5.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/coverage-istanbul)

Updates `astro` from 7.4.2 to 7.4.5
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.4.5/packages/astro)

Updates `eslint` from 10.13.0 to 10.14.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.13.0...v10.14.0)

Updates `globals` from 17.13.0 to 17.14.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.13.0...v17.14.0)

Updates `html-validate` from 11.17.0 to 11.18.0
- [Release notes](https://gitlab.com/html-validate/html-validate/tags)
- [Commits](https://gitlab.com/html-validate/html-validate/compare/v11.17.0...v11.18.0)

Updates `mime` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.1.1...v4.1.2)

Updates `pagefind` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/Pagefind/pagefind/releases)
- [Changelog](https://github.com/Pagefind/pagefind/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Pagefind/pagefind/compare/v1.5.2...v1.6.0)

Updates `vitest` from 5.0.5 to 5.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@astrojs/mdx"
  dependency-version: 8.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@pagefind/component-ui"
  dependency-version: 1.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@twbs/bui"
  dependency-version: 0.1.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser-playwright"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@vitest/coverage-istanbul"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.4.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: eslint
  dependency-version: 10.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: globals
  dependency-version: 17.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: html-validate
  dependency-version: 11.18.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: mime
  dependency-version: 4.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: pagefind
  dependency-version: 1.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: vitest
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-11-11 10:43:21 +01:00
dependabot[bot]
2735db1af9
Build(deps): Bump the github-actions group with 4 updates (#43338)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.39.1 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9b32540854...1fc58d04a4)

Updates `github/codeql-action/autobuild` from 4.39.1 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9b32540854...1fc58d04a4)

Updates `github/codeql-action/analyze` from 4.39.1 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9b32540854...1fc58d04a4)

Updates `github/codeql-action/upload-sarif` from 4.39.1 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9b32540854...1fc58d04a4)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-11 09:10:32 +01:00
Mark Otto
0d43a58f7c
Stage npm releases for maintainer approval on main (#43336)
* ci: publish npm releases with trusted publishing

Publish GitHub releases through npm OIDC authentication. Check the
package version against the release tag and build the package before
publishing. Send prereleases to next and stable releases to latest.

* ci: require maintainer approval for npm releases

Stage release packages for npm approval with two-factor authentication.
Install npm 12.2.1 so the workflow supports staged publishing without
relying on the npm version bundled with Node.js.

* ci: use npm 11 for release builds

npm 12 rejects the version_short config passed by the v5 build scripts.
Use npm 11.21.1 to support those builds and staged publishing.
2026-11-09 22:04:41 -08:00
Shubham Padkonde
9062790fdb
Keep unpadded accordion contents inside rounded corners (#43187)
* Keep unpadded accordion contents inside rounded corners

* test(accordion): cover panel corner edge cases

Exercise the reported non-flush list, logical RTL corners, and custom
border sizes. Add open menus with default and body containers to catch
clipping regressions from the panel overflow rule.

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-11-04 21:19:46 -08:00
Mark Otto
1df006e271
docs: cover alpha 2 migration changes (#43301)
Document the browser floor, dialog behavior, and CSS customization
changes since alpha 1 so existing adopters can review their overrides.
Keep the v5.4 modal size mapping and list the new dialog size separately.
2026-11-04 21:19:12 -08:00
Mark Otto
f44544700b
docs: outline changes under consideration for v7 (#43304)
Give readers one place to find the v7 direction for Sass, browser
support, positioning, and web components. Link it from the browser
support guide.
2026-11-04 21:15:15 -08:00
Samy Ferhat
a8984ebdee
Reserve the nav overflow toggle only when needed (#43217)
- Keep all nav items visible when they fit without the More toggle.
- Count gaps only between visible items, including the toggle when needed.
- Cover exact-fit and toggle-width boundaries.

Fixes #43214
2026-11-04 09:55:43 -08:00
Aditya N. Gandhi
4f3beccda7
Keep a self-targeted dialog open (#43086)
- Keep an open dialog unchanged when an internal trigger targets that same dialog.
- Preserve link default prevention and document explicit dismissal.
- Cover self-targeted buttons and links.

Fixes #43072
2026-11-04 09:55:24 -08:00
Aryan Sachin
5b58bdc3e7
Preserve literal tooltip and popover attributes (#43113)
- Preserve title and content attributes as written, including decimal and empty strings.
- Cover rendered Popover content, option precedence, and the text/HTML security boundary.

Refs #43090. The v6 fix is complete; the v5 backport remains tracked in that issue.
2026-11-04 09:54:13 -08:00
Mark Otto
3fc7f7d3e2
Allow keyed components to share an element (#42992)
- Register distinct component types on the same element and use explicit keys for overlay cleanup.
- Cover component coexistence, disposal, and Combobox/Menu reuse.
- Add alpha 2 migration notes and document component lookup and ownership.

Closes #42965
2026-11-04 09:52:51 -08:00
Akshat Gupta
6a0aa24734
Switch: apply --switch-checked-indicator-bg to the checked thumb (#43148)
The token was declared in $switch-tokens but never read, so the thumb kept
--switch-indicator-bg when checked. Use it in the checked ::before rule,
keeping --theme-contrast first so themed switches are unchanged.

Fixes #43143
2026-11-04 09:00:21 -08:00
Julien Déramond
caf54cb510
Restore the close button dark variant (#43032)
* Restore the close button dark variant

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Apply suggestion from @julien-deramond

* Docs: show the close button dark variant on a dark example

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Apply suggestion from @julien-deramond

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:00:00 -08:00
Julien Déramond
76c8d9912d
Add .dialog-2xl size to dialogs (#43292)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 07:00:33 +01:00
Mark Otto
07d5527cae
Clarify mobile and desktop drawer sheet behavior (#43290)
The sheet docs promise support for any placement, which suggests that
start and end sheets stay against the side of the viewport.

Describe the mobile bottom-sheet use case and its centered position
on larger screens. Point readers to regular drawers for side panels.
2026-11-03 21:46:28 -08:00
Mark Otto
5bd7493591
Replace the global scrollbar gutter with JS compensation (#43283)
* fix(dialog): compensate scrollbar offsets with JavaScript

Pages with classic scrollbars reserve a permanent blank gutter even
when they do not scroll. Removing that gutter alone makes the page
shift when a dialog opens.

Measure root and full-width fixed-element expansion when locking
scroll. Restore the original inline styles after the last owner
closes. Share this lock between Dialog and Drawer, including native
close and disposal paths.

* chore(bundlewatch): account for the shared scroll lock

The new Dialog and Drawer scroll lock increases three JavaScript
bundles beyond their size limits. Raise only those limits to the next
quarter-kilobyte boundary using the existing budget update script.
2026-11-03 21:32:11 -08:00
Mark Otto
0117328ac4
Raise the v6 browser support floor (#43177)
* docs: raise the v6 browser support floor

Set the browser targets for the rest of the v6 release line and document
which platform features they make safe to use. Remove the stale unreleased
versions query and clarify which newer features remain unavailable.

* docs: address browser support review feedback

Keep the minimum-version table in two columns on small screens.
Clarify that the higher browser floors expand support for features
already used as progressive enhancements in alpha 1.
2026-11-03 21:32:01 -08:00
dependabot[bot]
3b7f323188
Bump the dependencies with 10 updates (#43276)
Bumps the development-dependencies group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/check](https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check) | `0.9.11` | `0.9.12` |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.3.3` | `7.3.4` |
| [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `8.1.0` | `8.1.1` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.4.1` | `7.4.2` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.6.1` | `10.6.2` |
| [html-validate](https://gitlab.com/html-validate/html-validate) | `11.16.4` | `11.17.0` |
| [npm-run-all2](https://github.com/bcomnes/npm-run-all2) | `9.0.3` | `9.0.4` |
| [postcss](https://github.com/postcss/postcss) | `8.5.31` | `8.5.32` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.72.0` | `8.72.1` |
| [unist-util-visit](https://github.com/syntax-tree/unist-util-visit) | `5.1.0` | `5.2.0` |



Updates `@astrojs/check` from 0.9.11 to 0.9.12
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/language-tools/astro-check/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/check@0.9.12/packages/language-tools/astro-check)

Updates `@astrojs/markdown-remark` from 7.3.3 to 7.3.4
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.4/packages/markdown/remark)

Updates `@astrojs/mdx` from 8.1.0 to 8.1.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/mdx@8.1.1/packages/integrations/mdx)

Updates `astro` from 7.4.1 to 7.4.2
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.4.2/packages/astro)

Updates `autoprefixer` from 10.6.1 to 10.6.2
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.6.1...10.6.2)

Updates `html-validate` from 11.16.4 to 11.17.0
- [Release notes](https://gitlab.com/html-validate/html-validate/tags)
- [Commits](https://gitlab.com/html-validate/html-validate/compare/v11.16.4...v11.17.0)

Updates `npm-run-all2` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/bcomnes/npm-run-all2/releases)
- [Changelog](https://github.com/bcomnes/npm-run-all2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/npm-run-all2/compare/v9.0.3...v9.0.4)

Updates `postcss` from 8.5.31 to 8.5.32
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.31...8.5.32)

Updates `typescript-eslint` from 8.72.0 to 8.72.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.1/packages/typescript-eslint)

Updates `unist-util-visit` from 5.1.0 to 5.2.0
- [Release notes](https://github.com/syntax-tree/unist-util-visit/releases)
- [Commits](https://github.com/syntax-tree/unist-util-visit/compare/5.1.0...5.2.0)

---
updated-dependencies:
- dependency-name: "@astrojs/check"
  dependency-version: 0.9.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.3.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@astrojs/mdx"
  dependency-version: 8.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: autoprefixer
  dependency-version: 10.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: html-validate
  dependency-version: 11.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: npm-run-all2
  dependency-version: 9.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.32
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: typescript-eslint
  dependency-version: 8.72.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: unist-util-visit
  dependency-version: 5.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-03 14:11:45 +01:00
dependabot[bot]
7e914e3fd0
Chore(deps): Bump GitHub Actions dependencies with 4 updates (#43277)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.39.0 to 4.39.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6f2ac81f5c...9b32540854)

Updates `github/codeql-action/autobuild` from 4.39.0 to 4.39.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6f2ac81f5c...9b32540854)

Updates `github/codeql-action/analyze` from 4.39.0 to 4.39.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6f2ac81f5c...9b32540854)

Updates `github/codeql-action/upload-sarif` from 4.39.0 to 4.39.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6f2ac81f5c...9b32540854)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-03 12:09:24 +01:00
Julien Déramond
2871f2a55c
Docs: wrap the form text example in a form field, which provides the spacing (#43274)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 21:22:53 +01:00
Julien Déramond
25e322a54e
Checkbox: style indeterminate checkboxes like checked ones in every state (#43273)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:01:05 +01:00
Julien Déramond
e0bbab74ad
Docs: set color-scheme in the custom color mode example (#43272)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 19:48:52 +01:00
Julien Déramond
e93ba5e526
Docs: point the SRI Hash Generator link to srihash.org (#43258)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 08:41:21 +01:00
Julien Déramond
c2ab624f40
OTP input: don't fire input or complete events when Delete or Backspace has nothing to remove (#43255)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 14:21:19 +01:00
Julien Déramond
a4d4afa8d8
OTP input: don't edit readonly or disabled fields, and handle Delete like Backspace (#43252)
Co-authored-by: shakilurrehman21 <rehmanshakil21@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:48:11 +01:00
Julien Déramond
f0dcf4b5e8
Docs: let the sidebar links wrap (#43248)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 07:38:07 +01:00
Julien Déramond
2f63a73763
Update re2js through an npm override (#43243)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:29:22 +01:00
Julien Déramond
c967e2cbe9
Bump @twbs/bui to 0.1.8 (#43238)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 21:21:02 +01:00
Julien Déramond
6f754cb2d6
Docs: explain how to reach Bootstrap's Sass variables and mixins with @use (#43235)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 20:36:59 +01:00
Julien Déramond
0cc9057527
Remove table, form text and navbar toggler tokens that no rule reads (#43223)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:53:32 +01:00
Julien Déramond
dc620a00a5
Read the tabs radius and card subtitle color tokens (#43222)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:31:28 +01:00
Julien Déramond
18ae69b0f2
Read the indeterminate and checked indicator tokens in the check and switch (#43221)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:03:18 +01:00
Mark Otto
7e468ee492
Docs: improve prose paragraph wrapping (#43209)
Use pretty wrapping for paragraphs in prose content. This avoids short
last lines without changing component examples that opt out of prose styles.
2026-10-28 10:51:34 -07:00
Julien Déramond
8e2c4e5d3b
Docs: redirect the old borders utilities URL to the border page (#43220)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:01:47 +01:00
Julien Déramond
05331e182f
Update postcss-selector-parser in the lockfile (#43219)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 21:19:24 +01:00
Julien Déramond
8792aaaf0a
Docs: show the code and StackBlitz button on every Flex & Grid example (#43218)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 21:13:29 +01:00
Mark Otto
1d2510300d
Improve alert content examples (#43211)
* docs(alert): improve content examples

Explain the alert flex layout and show how to create simple and complex
content layouts with utilities and markup.

* docs(alert): stretch vertical content

Stretch the vertical alert content across the available width and use
valid JSX syntax for the horizontal rule.
2026-10-27 12:53:48 -07:00
Julien Déramond
9bfeda9fe7 Docs: start StackBlitz playgrounds from the example's source and its plugins
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 19:41:53 +01:00
Julien Déramond
f6a95daaa1 Start the data APIs that wait for DOMContentLoaded when Bootstrap loads after the page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 19:41:53 +01:00
ump45nose
ecc5ec73bc
Tooltip: remove dead modal listener code (#43182)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-10-27 14:10:13 +01:00
dependabot[bot]
5d0401e235
Chore(deps-dev): Bump the development-dependencies group with 6 updates (#43213)
Bumps the development-dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/check](https://github.com/withastro/astro/tree/HEAD/packages/language-tools/astro-check) | `0.9.10` | `0.9.11` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.4.0` | `7.4.1` |
| [eslint](https://github.com/eslint/eslint) | `10.12.0` | `10.13.0` |
| [html-validate](https://gitlab.com/html-validate/html-validate) | `11.16.2` | `11.16.4` |
| [postcss](https://github.com/postcss/postcss) | `8.5.30` | `8.5.31` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.71.2` | `8.72.0` |


Updates `@astrojs/check` from 0.9.10 to 0.9.11
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/language-tools/astro-check/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/check@0.9.11/packages/language-tools/astro-check)

Updates `astro` from 7.4.0 to 7.4.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.4.1/packages/astro)

Updates `eslint` from 10.12.0 to 10.13.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.12.0...v10.13.0)

Updates `html-validate` from 11.16.2 to 11.16.4
- [Release notes](https://gitlab.com/html-validate/html-validate/tags)
- [Commits](https://gitlab.com/html-validate/html-validate/compare/v11.16.2...v11.16.4)

Updates `postcss` from 8.5.30 to 8.5.31
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.30...8.5.31)

Updates `typescript-eslint` from 8.71.2 to 8.72.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@astrojs/check"
  dependency-version: 0.9.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: eslint
  dependency-version: 10.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: html-validate
  dependency-version: 11.16.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.31
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: typescript-eslint
  dependency-version: 8.72.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 13:48:07 +01:00
ump45nose
37941cfb0b
Docs: fix the defaults for shadows, gradients and smooth scroll (#43156)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-10-27 07:08:53 +01:00
Julien Déramond
9522bdf4b4
Docs: fix popover content option type (#43212)
Co-authored-by: Kevinjohn Gallagher <kevinjohngallagher@hotmail.com>
2026-10-27 06:55:19 +01:00
Julien Déramond
d793f282b0
Update markdownlint-cli to 0.50.0 and fast-uri to 3.1.9 (#43201)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 22:36:40 +01:00
Julien Déramond
2bb544eb42
Docs: StackBlitz button on the ResizableExample blocks (#43198)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 14:30:29 +01:00
Julien Déramond
2ae083278f
Docs: add an Edit in StackBlitz button to the Examples templates (#43197)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 14:22:26 +01:00
Julien Déramond
725f1a5b91
Docs: add the StackBlitz button to the token playground on the Theme page (#43196)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:06:44 +01:00
Julien Déramond
a23a2d7c1e
Docs: StackBlitz button on the examples that hide their markup (#43195)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 11:58:59 +01:00
Julien Déramond
6ae3f8690e
Docs: bring the StackBlitz button back on most examples (#43191)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:52:13 +02:00
Mark Otto
ccca997d23
Fix temporal input indicator alignment (#43181)
Temporal input indicators stay next to their value when the input grows.
Position the native indicator against the input so it stays at the inline
end of the control.
2026-10-23 20:58:48 -07:00
Mark Otto
d70b3f4e35
docs: clarify standalone JavaScript dependencies (#43189)
The full non-bundle build uses bare module specifiers for Floating UI
and Vanilla Calendar Pro. Explain that browsers need an import map for
both dependencies, and use the bundle in the direct-loading example.
2026-10-23 20:58:20 -07:00
Mark Otto
02fa188cd9
fix(dialog): remove closed dialogs from layout (#43188)
Pages with long closed dialogs retain their dimensions and gain extra
blank space because Bootstrap overrides the browser's hidden display.

Use display only while the dialog has its open attribute. Keep the
existing exit transition active until JavaScript removes that attribute,
and add starting styles to preserve entry transitions.
2026-10-23 20:58:03 -07:00
Mark Otto
e956a9ace7
Fix large switch label alignment (#43186) 2026-10-23 20:56:52 -07:00
dependabot[bot]
45f3838364
Chore(deps): Bump the github-actions group with 5 updates (#43160)
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.38.3` | `4.39.0` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.38.3` | `4.39.0` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.38.3` | `4.39.0` |
| [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) | `9.1.0` | `9.2.0` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.38.3` | `4.39.0` |


Updates `github/codeql-action/init` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](24c54180a6...6f2ac81f5c)

Updates `github/codeql-action/autobuild` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](24c54180a6...6f2ac81f5c)

Updates `github/codeql-action/analyze` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](24c54180a6...6f2ac81f5c)

Updates `streetsidesoftware/cspell-action` from 9.1.0 to 9.2.0
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](6f3c77c140...ce1816e4ce)

Updates `github/codeql-action/upload-sarif` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](24c54180a6...6f2ac81f5c)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: streetsidesoftware/cspell-action
  dependency-version: 9.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-22 20:51:03 +02:00
dependabot[bot]
7f165eefbc
Chore(deps-dev): Bump the development-dependencies group with 10 updates (#43158)
Bumps the development-dependencies group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.3.2` | `7.3.3` |
| [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `8.0.3` | `8.1.0` |
| [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) | `5.0.4` | `5.0.5` |
| [@vitest/browser-playwright](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright) | `5.0.4` | `5.0.5` |
| [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul) | `5.0.4` | `5.0.5` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.3.8` | `7.4.0` |
| [bundlewatch](https://github.com/bundlewatch/bundlewatch/tree/HEAD/packages/bundlewatch) | `0.4.2` | `1.1.0` |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `10.3.6` | `10.4.0` |
| [playwright](https://github.com/microsoft/playwright) | `1.64.0` | `1.64.1` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.4` | `5.0.5` |


Updates `@astrojs/markdown-remark` from 7.3.2 to 7.3.3
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.3/packages/markdown/remark)

Updates `@astrojs/mdx` from 8.0.3 to 8.1.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/mdx@8.1.0/packages/integrations/mdx)

Updates `@vitest/browser` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/browser)

Updates `@vitest/browser-playwright` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/browser-playwright)

Updates `@vitest/coverage-istanbul` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/coverage-istanbul)

Updates `astro` from 7.3.8 to 7.4.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.4.0/packages/astro)

Updates `bundlewatch` from 0.4.2 to 1.1.0
- [Release notes](https://github.com/bundlewatch/bundlewatch/releases)
- [Commits](https://github.com/bundlewatch/bundlewatch/commits/v1.1.0/packages/bundlewatch)

Updates `cspell` from 10.3.6 to 10.4.0
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.4.0/packages/cspell)

Updates `playwright` from 1.64.0 to 1.64.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.64.0...v1.64.1)

Updates `vitest` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/vitest)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@astrojs/mdx"
  dependency-version: 8.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser"
  dependency-version: 5.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser-playwright"
  dependency-version: 5.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/coverage-istanbul"
  dependency-version: 5.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: bundlewatch
  dependency-version: 1.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: cspell
  dependency-version: 10.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: playwright
  dependency-version: 1.64.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: vitest
  dependency-version: 5.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-22 20:48:19 +02:00
Julien Déramond
3fb91ac5f7
Dependabot: run version updates on v5-dev too (#43157)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:33:09 +02:00
ump45nose
9fb2e4070e
Docs: fix the xl container max-width in the layout tables (#43155) 2026-10-22 19:34:51 +02:00
ump45nose
0a7d4423c0
Docs: document the menu option in the Menu options table (#43140)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-10-21 19:19:31 +02:00
pricop
487c5c396f
New breadcrumb variable for divider spacing (#43091)
* New breadcrumb variable for divider spacing

This change adds a new breadcrum divider variable for cases when we need the breadcrumb to be flush with the content, but also control the spacing for the breadcrumb divider.

The old way was calculating the margin inline based on the divider item's padding-x and dividing it by a value (4), but if padding-x was set to 0, there was no way to customize this without applying an utility class over the divider element itself.

* Update scss/_breadcrumb.scss

Co-authored-by: Mark Otto <markdotto@gmail.com>

* Added alert component custom border width support

* Remove alert border width variable

This was supposed to be for a different PR.

* Update scss/_breadcrumb.scss

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-10-21 09:15:36 -07:00
Julien Déramond
4651e0d511
Docs: add a datepicker example with the icon at the end (#43144)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 17:59:30 +02:00
Julien Déramond
cf1da65fa6
Docs: pre-bundle clipboard for the dev server (#43135)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 21:21:25 +02:00
dependabot[bot]
6f284eab93
Chore(deps-dev): Bump follow-redirects from 1.16.0 to 1.16.1 (#43129)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.16.0...v1.16.1)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 21:12:12 +02:00
dependabot[bot]
095da5e67a
Chore(deps-dev): Bump js-yaml from 5.4.3 to 5.5.0 (#43130)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 5.4.3 to 5.5.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.4.3...5.5.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.5.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 21:08:03 +02:00
dependabot[bot]
42e97f144a
Chore(deps-dev): Bump markdown-it from 14.3.1 to 14.3.3 (#43132)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.3.1 to 14.3.3.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.3/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.3.1...14.3.3)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.3.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 20:58:27 +02:00
dependabot[bot]
b2ecd59eef
Chore(deps-dev): Bump the development-dependencies group across 1 directory with 14 updates (#43124)
Bumps the development-dependencies group with 14 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@twbs/bui](https://github.com/twbs/bui) | `0.1.1` | `0.1.4` |
| [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) | `5.0.3` | `5.0.4` |
| [@vitest/browser-playwright](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright) | `5.0.3` | `5.0.4` |
| [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul) | `5.0.3` | `5.0.4` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.3.6` | `7.3.8` |
| [lockfile-lint](https://github.com/lirantal/lockfile-lint/tree/HEAD/packages/lockfile-lint) | `5.0.1` | `5.1.0` |
| [mime](https://github.com/broofa/mime) | `4.1.0` | `4.1.1` |
| [playwright](https://github.com/microsoft/playwright) | `1.63.0` | `1.64.0` |
| [postcss](https://github.com/postcss/postcss) | `8.5.29` | `8.5.30` |
| [prettier](https://github.com/prettier/prettier) | `3.9.9` | `3.9.10` |
| [stylelint-order](https://github.com/hudochenkov/stylelint-order) | `8.1.1` | `8.1.2` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.71.1` | `8.71.2` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.3` | `5.0.4` |
| [zod](https://github.com/colinhacks/zod) | `4.6.5` | `4.6.7` |



Updates `@twbs/bui` from 0.1.1 to 0.1.4
- [Commits](https://github.com/twbs/bui/commits)

Updates `@vitest/browser` from 5.0.3 to 5.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.4/packages/browser)

Updates `@vitest/browser-playwright` from 5.0.3 to 5.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.4/packages/browser-playwright)

Updates `@vitest/coverage-istanbul` from 5.0.3 to 5.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.4/packages/coverage-istanbul)

Updates `astro` from 7.3.6 to 7.3.8
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.3.8/packages/astro)

Updates `lockfile-lint` from 5.0.1 to 5.1.0
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Changelog](https://github.com/lirantal/lockfile-lint/blob/main/packages/lockfile-lint/CHANGELOG.md)
- [Commits](https://github.com/lirantal/lockfile-lint/commits/lockfile-lint-api@5.1.0/packages/lockfile-lint)

Updates `mime` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.1.0...v4.1.1)

Updates `playwright` from 1.63.0 to 1.64.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.63.0...v1.64.0)

Updates `postcss` from 8.5.29 to 8.5.30
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.29...8.5.30)

Updates `prettier` from 3.9.9 to 3.9.10
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.9...3.9.10)

Updates `stylelint-order` from 8.1.1 to 8.1.2
- [Release notes](https://github.com/hudochenkov/stylelint-order/releases)
- [Changelog](https://github.com/hudochenkov/stylelint-order/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hudochenkov/stylelint-order/compare/8.1.1...8.1.2)

Updates `typescript-eslint` from 8.71.1 to 8.71.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.71.2/packages/typescript-eslint)

Updates `vitest` from 5.0.3 to 5.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.4/packages/vitest)

Updates `zod` from 4.6.5 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.6.5...v4.6.7)

---
updated-dependencies:
- dependency-name: "@twbs/bui"
  dependency-version: 0.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser"
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser-playwright"
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/coverage-istanbul"
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.3.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: lockfile-lint
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: mime
  dependency-version: 4.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: playwright
  dependency-version: 1.64.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.30
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.9.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: stylelint-order
  dependency-version: 8.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: typescript-eslint
  dependency-version: 8.71.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: vitest
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 20:49:41 +02:00
dependabot[bot]
59b78284b5
Chore(deps): Bump the github-actions group with 5 updates (#43125)
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.38.2` | `4.38.3` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.38.2` | `4.38.3` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.38.2` | `4.38.3` |
| [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.4.4` | `2.5.0` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.38.2` | `4.38.3` |


Updates `github/codeql-action/init` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2892aa5e19...24c54180a6)

Updates `github/codeql-action/autobuild` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2892aa5e19...24c54180a6)

Updates `github/codeql-action/analyze` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2892aa5e19...24c54180a6)

Updates `ossf/scorecard-action` from 2.4.4 to 2.5.0
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](2d1146689b...fa7117db83)

Updates `github/codeql-action/upload-sarif` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2892aa5e19...24c54180a6)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: ossf/scorecard-action
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 20:44:48 +02:00
Julien Déramond
d1ca2bb91b
Fix the password strength text color (#43122)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:28:32 +02:00
Julien Déramond
38e57e5b64
Docs: fix the JavaScript of the StackBlitz examples (#43110)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 11:05:42 +02:00
Julien Déramond
548f671d0f
Menu: use physical keywords for transform-origin (#43106)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 19:29:25 +02:00
Julien Déramond
54f2d26c95
Docs: add a <main> landmark to the homepage and the 404 page (#43105)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 19:09:40 +02:00
Julien Déramond
fac983e5f2
Docs: precise that card title and text need no styles of their own (#43103) 2026-10-16 18:41:48 +02:00
Nick Albrecht
cc127d888e
Docs: replace the <vstack> element with .vstack in the alert examples and keep their <hr> spacing (#43087)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 21:55:25 +02:00
dependabot[bot]
564fc6d992
Chore(deps-dev): Bump the development-dependencies group across 1 directory with 6 updates (#43082)
Bumps the development-dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.3.1` | `7.3.2` |
| [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `8.0.2` | `8.0.3` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.3.5` | `7.3.6` |
| [html-validate](https://gitlab.com/html-validate/html-validate) | `11.16.1` | `11.16.2` |
| [postcss](https://github.com/postcss/postcss) | `8.5.28` | `8.5.29` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.71.0` | `8.71.1` |



Updates `@astrojs/markdown-remark` from 7.3.1 to 7.3.2
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.2/packages/markdown/remark)

Updates `@astrojs/mdx` from 8.0.2 to 8.0.3
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/mdx@8.0.3/packages/integrations/mdx)

Updates `astro` from 7.3.5 to 7.3.6
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.3.6/packages/astro)

Updates `html-validate` from 11.16.1 to 11.16.2
- [Release notes](https://gitlab.com/html-validate/html-validate/tags)
- [Changelog](https://gitlab.com/html-validate/html-validate/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/html-validate/html-validate/compare/v11.16.1...v11.16.2)

Updates `postcss` from 8.5.28 to 8.5.29
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.28...8.5.29)

Updates `typescript-eslint` from 8.71.0 to 8.71.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.71.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@astrojs/mdx"
  dependency-version: 8.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.3.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: html-validate
  dependency-version: 11.16.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.29
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: typescript-eslint
  dependency-version: 8.71.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 21:28:27 +02:00
dependabot[bot]
7b3d885733
Chore(deps): Bump the github-actions group with 2 updates (#43081)
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/setup-node` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](8207627860...949feb2413)

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](043fb46d1a...cf430e030d)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 19:18:29 +02:00
Julien Déramond
ae735c30fc
Docs: give unlabelled checkbox, radio and switch examples an aria-label="..." and explain how to fill it (#43079)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:26:12 +02:00
Julien Déramond
ebd627c654
Keep a --radius-pill value passed through $root-tokens (#43074)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 20:14:10 +02:00
Julien Déramond
1531588bc3
Fix the docs "View & Edit" link: add the .mdx extension and point it at main (#43073)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 19:23:45 +02:00
Julien Déramond
88e6c23522
Fix invalid division in the list-inline-item margin (#43071)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 18:55:57 +02:00
Max!!
9dfcd354ac
Docs: fix typo in Quickstart page (#43059) 2026-10-13 18:27:25 +02:00
David C
9c41000c1b
Docs: fix typo in Field component page (#43068) 2026-10-13 11:54:45 +02:00
xiao
8a35078968
Fix drawer backdrop exit transition on close (#43028)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 21:32:36 +02:00
Julien Déramond
21ae14f6e2
Docs: use bootstrap-utilities for the utility-only build (#43056)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 19:37:47 +02:00
Julien Déramond
56c93e556f
Docs: make the flex utilities nav example fill the width from sm (#43055) 2026-10-12 18:45:24 +02:00
jonnysp
6fd8427edf
Add flex display to nav-fill and nav-justified classes (#43047)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 18:24:35 +02:00
Julien Déramond
565d7ce52b
Docs: Remove outdated card dependency reference from collapse parent option (#43042)
Co-authored-by: Kamal Rawal <obviouslykamal@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 17:24:34 +02:00
Julien Déramond
10c5e4f099
Docs: move aria-current to the active link in the cheatsheet pagination (#43040)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 16:53:13 +02:00
Julien Déramond
a365d67ba8
Docs: add href to active pagination sizing links (#42709) (#43039)
Co-authored-by: Kevinjohn Gallagher <kevinjohngallagher@hotmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 16:43:34 +02:00
Julien Déramond
a5bd99cd0d
Remove the nonexistent theme layer from the AGENTS.md layers list (#43038)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 16:21:29 +02:00
Julien Déramond
7ec940cb58
Add link to Bootstrap OpenSSF Scorecard Report in README (#43037) 2026-10-11 11:08:48 +02:00
Julien Déramond
04c2d30cdd
Docs: remove the $enable-negative-margins option (#43027)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 18:09:46 +02:00
Julien Déramond
5c8346da85
Update immutable and postcss-selector-parser to fix security alerts (#43022)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 13:09:39 +02:00
dependabot[bot]
d879672a73
Bump the dependencies with 12 updates (#43019)
Bumps the development-dependencies group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `8.0.1` | `8.0.2` |
| [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) | `4.1.11` | `5.0.3` |
| [@vitest/browser-playwright](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright) | `4.1.11` | `5.0.3` |
| [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul) | `4.1.11` | `5.0.3` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `7.3.2` | `7.3.5` |
| [eslint](https://github.com/eslint/eslint) | `10.9.1` | `10.12.0` |
| [globals](https://github.com/sindresorhus/globals) | `17.11.0` | `17.13.0` |
| [html-validate](https://gitlab.com/html-validate/html-validate) | `11.10.0` | `11.16.1` |
| [playwright](https://github.com/microsoft/playwright) | `1.62.1` | `1.63.0` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.68.0` | `8.71.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.11` | `5.0.3` |
| [yaml](https://github.com/eemeli/yaml) | `2.9.0` | `2.9.1` |



Updates `@astrojs/mdx` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/mdx@8.0.2/packages/integrations/mdx)

Updates `@vitest/browser` from 4.1.11 to 5.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/browser)

Updates `@vitest/browser-playwright` from 4.1.11 to 5.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/browser-playwright)

Updates `@vitest/coverage-istanbul` from 4.1.11 to 5.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/coverage-istanbul)

Updates `astro` from 7.3.2 to 7.3.5
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.3.5/packages/astro)

Updates `eslint` from 10.9.1 to 10.12.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.9.1...v10.12.0)

Updates `globals` from 17.11.0 to 17.13.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.11.0...v17.13.0)

Updates `html-validate` from 11.10.0 to 11.16.1
- [Release notes](https://gitlab.com/html-validate/html-validate/tags)
- [Changelog](https://gitlab.com/html-validate/html-validate/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/html-validate/html-validate/compare/v11.10.0...v11.16.1)

Updates `playwright` from 1.62.1 to 1.63.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.62.1...v1.63.0)

Updates `typescript-eslint` from 8.68.0 to 8.71.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.71.0/packages/typescript-eslint)

Updates `vitest` from 4.1.11 to 5.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest)

Updates `yaml` from 2.9.0 to 2.9.1
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.9.0...v2.9.1)

---
updated-dependencies:
- dependency-name: "@astrojs/mdx"
  dependency-version: 8.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser"
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@vitest/browser-playwright"
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@vitest/coverage-istanbul"
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: astro
  dependency-version: 7.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: eslint
  dependency-version: 10.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: globals
  dependency-version: 17.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: html-validate
  dependency-version: 11.16.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: playwright
  dependency-version: 1.63.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: typescript-eslint
  dependency-version: 8.71.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: vitest
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: yaml
  dependency-version: 2.9.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-10 12:42:03 +02:00
Julien Déramond
4983945547
Remove an unused import in the docs Astro integration (#43021)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 12:41:11 +02:00
Julien Déramond
4dee7a525f
Don't leave focus on a disabled carousel control when the viewport isn't focusable (#43020)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 12:31:58 +02:00
Julien Déramond
6c4271bd9e
Bump @floating-ui/dom to 1.8.0 (#42892)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-10 12:23:23 +02:00
Julien Déramond
ed8fef0137
Ignore TypeScript major updates in Dependabot (#43017)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 12:06:53 +02:00
Julien Déramond
f162469fce
Document the html label in the contributing guidelines (#43012)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 10:00:47 +02:00
Julien Déramond
3e8137bd42
Document the labels and use their new names in release notes and Dependabot (#43010)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 09:56:13 +02:00
dependabot[bot]
7771f16bec
Bump @humanfs/node from 0.16.7 to 0.16.8 (#42995)
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 20:04:16 +02:00
dependabot[bot]
a13ff50e9f
Bump sharp from 0.35.4 to 0.35.5 (#42996)
Bumps [sharp](https://github.com/lovell/sharp) from 0.35.4 to 0.35.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](https://github.com/lovell/sharp/compare/v0.35.4...v0.35.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.35.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 20:03:37 +02:00
dependabot[bot]
c2b05e360a
Bump brace-expansion to 5.0.12 (#42994)
Bumps  and [brace-expansion](https://github.com/juliangruber/brace-expansion). These dependencies needed to be updated together.

Updates `brace-expansion` from 5.0.5 to 5.0.12
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.12)

Updates `brace-expansion` from 5.0.9 to 5.0.12
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.12)

Updates `brace-expansion` from 5.0.6 to 5.0.12
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 20:03:00 +02:00
dependabot[bot]
e56b037019
Bump undici from 8.10.0 to 8.11.2 (#42993)
Bumps [undici](https://github.com/nodejs/undici) from 8.10.0 to 8.11.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v8.10.0...v8.11.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.11.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 20:02:18 +02:00
Julien Déramond
01842bb7eb
Ignore URL-encoded characters in cspell (#42999)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:00:47 +02:00
Mark Otto
916458dff3
Fix image source URL in README.md 2026-10-08 10:06:01 -07:00
Mark Otto
780627306e
Prepare Bootstrap v6.0.0-alpha.1 release (#42997)
* chore(release): prepare Bootstrap 6 alpha

Update release guidance and version tooling for the first Bootstrap 6
alpha from main. Remove stale v6-dev workflow references, pin the
prerelease in agent skills, and make future version updates reliable.

* chore(dist): rebuild for v6.0.0-alpha.1

* docs: use the local logo in the README

Load the tracked Bootstrap logo instead of the deployed documentation
asset, and remove the obsolete fixed height.

* fix(docs): keep the README logo path spellcheckable

Use the literal version placeholder in the local logo path so cspell does
not parse the percent-encoded bracket as an unknown word.
2026-10-08 09:37:03 -07:00
Mark Otto
3c93e2ce21
Fix docs build on Windows (#42991)
* fix(docs): make site copy cross-platform

Running `npm run docs-build` on Windows fails after Astro finishes
because the build command relies on Unix `rm` and `cp` utilities.

Move the cleanup and recursive copy into a Node script so the docs build
uses the same filesystem operations on every supported platform.

* fix(docs): make Astro cleanup cross-platform

Running the Astro cleanup task on Windows fails because it invokes the
Unix-only `rm` command.

Remove generated Astro directories with the Node.js filesystem API so
the task works consistently across supported platforms.
2026-10-08 09:03:06 -07:00
Mark Otto
f6cc0f2cde fix(docs): reserve space for the masthead ad
The asynchronously loaded desktop ad shifts the centered masthead content
when it appears.

Wrap the ad in a stable container and reserve its minimum height at medium
viewports and above so the masthead keeps its initial position.
2026-10-06 12:55:27 -07:00
Mark Otto
ff8866a147
Use dotted Bootstrap 6 alpha version (#42984)
* chore(release): use dotted alpha version

* docs(home): disable install command highlighting

* fix(home): refine copy button feedback
2026-10-06 11:39:46 -07:00
Mark Otto
a1bf4f62dc
fix(docs): validate Astro types and example assets (#42983)
Docs type errors could accumulate unnoticed because the main lint task did
not run Astro's checker. Add it to the lint suite and correct the existing
component, route, and third-party integration types.

Example pages without a trailing slash resolved local CSS and JavaScript
against the examples root. Resolve relative assets from the canonical
example directory so both URL forms load the same files.
2026-10-06 11:39:15 -07:00
dependabot[bot]
d00a5cd33e
Bump http-cache-semantics from 4.2.0 to 4.3.0 (#42990)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.2.0 to 4.3.0.
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-version: 4.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 20:33:11 +02:00
dependabot[bot]
853b5d650b
Bump shell-quote from 1.10.0 to 1.12.0 (#42989)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.10.0 to 1.12.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.12.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 20:32:44 +02:00
Julien Déramond
fb2f9ff8d4
Bump devalue from 5.8.1 to 5.9.4 2026-10-06 20:31:25 +02:00
dependabot[bot]
526fc14f48
Bump source-map-js from 1.2.1 to 1.2.2 (#42986)
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 20:25:43 +02:00
Julien Déramond
68557ae587
Bump js-yaml 2026-10-06 20:22:18 +02:00
dependabot[bot]
0d7e98fbc4
Bump the dependencies with 3 updates (#42981)
Bumps the development-dependencies group with 3 updates in the / directory: [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell), [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) and [prettier](https://github.com/prettier/prettier).

Updates `cspell` from 10.3.3 to 10.3.6
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.3.6/packages/cspell)

Updates `eslint-plugin-html` from 8.2.0 to 8.2.1
- [Changelog](https://github.com/BenoitZugmeyer/eslint-plugin-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/BenoitZugmeyer/eslint-plugin-html/compare/v8.2.0...v8.2.1)

Updates `prettier` from 3.9.8 to 3.9.9
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.8...3.9.9)

---
updated-dependencies:
- dependency-name: cspell
  dependency-version: 10.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: eslint-plugin-html
  dependency-version: 8.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.9.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 20:14:29 +02:00
dependabot[bot]
708bc6e7df
Bump the GitHub Actions group with 4 updates (#42982)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.38.1 to 4.38.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1c5b675653...2892aa5e19)

Updates `github/codeql-action/autobuild` from 4.38.1 to 4.38.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1c5b675653...2892aa5e19)

Updates `github/codeql-action/analyze` from 4.38.1 to 4.38.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1c5b675653...2892aa5e19)

Updates `github/codeql-action/upload-sarif` from 4.38.1 to 4.38.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1c5b675653...2892aa5e19)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.38.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.38.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 20:06:52 +02:00
Mark Otto
ced32cbb33
Refactor docs to use the shared BUI package (#42980)
* refactor(docs): consume shared Astro UI primitives

Use the local docs UI package for head metadata, theme controls, search
markup, and Pagefind behavior while retaining Bootstrap-specific layouts,
content readers, versioning, examples, and build integration.

* refactor(docs): delegate the shared shell to docs UI

Replace local navigation, search, theme, layout, footer, ads, and
Table of Contents copies with thin adapters to @twbs/docs-ui.

Keep documentation-only scripts, sidebars, content readers, and examples
local while deduplicating Bootstrap's browser module and shared Sass.

* refactor(docs): consume shared code examples

Delegate Code, Example, ResizableExample, highlighting, clipboard
behavior, placeholder parsing, and example styles to @twbs/docs-ui.
Keep only thin Bootstrap configuration adapters for repository links and
config token replacement.

* refactor(docs): consume the published BUI package

Resolve the shared shell, examples, browser helpers, and styles from
@twbs/bui 0.1.0 instead of a sibling checkout. Configure Bootstrap's Sass
source for the package peer and keep the calendar peer available to docs
builds.

Use BUI's canonical footer configuration so project links stay aligned
across Bootstrap sites.

* fix(docs): refine mobile docs actions

Give page introductions more room below the mobile navbar and use compact
text for the table-of-contents control. Present install downloads as simple
accent links so they fit their table cells cleanly.

* fix(docs): update BUI for self-hosted installs

Bootstrap's root package cannot satisfy a required peer of its docs UI,
so clean installs tried to fetch the unpublished Bootstrap alpha.

Update to BUI 0.1.1, which keeps the compatibility range while making
Bootstrap optional for the self-hosted documentation build.
2026-10-06 09:50:00 -07:00
Julien Déramond
9212becec2
Improve JSDoc of parseSelector, reflow and getNextActiveElement in js/src/util/index.ts (#42977)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 19:06:31 +02:00
Andreas Venturini
c8ac8c9f79
Let .theme-* classes color the range (#42973)
The range fill, thumb, and thumb hover ring read --primary-base
directly, so .theme-* had no effect on .form-range, unlike .check and
.switch. Fall back from --theme-bg / --theme-focus-ring to primary in
the range tokens, and document the theme colors.
2026-10-05 09:28:27 -07:00
Julien Déramond
ebb53da4fa
Fix .btn-group-divider position in RTL (#42976)
The divider is a `::before` positioned with the physical `left`, so in RTL
it lands on the outer edge of the second button instead of between the two
buttons. Use `inset-inline-start` so it follows the writing direction.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-04 18:16:57 +02:00
dependabot[bot]
0632eaa44a
Bump brace-expansion from 1.1.18 to 1.1.21 (#42972)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.18 to 1.1.21.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.18...v1.1.21)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 13:23:21 +02:00
Julien Déramond
992b495cb1
Fix Vite dependency scan error in docs dev server (#42970)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 18:38:05 +02:00
dependabot[bot]
d62b03b9c2
Bump fast-uri from 3.1.6 to 3.1.8 (#42959)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 17:21:59 +02:00
dependabot[bot]
6e78706040
Bump dependencies with 2 updates (#42963)
Bumps the development-dependencies group with 2 updates in the / directory: [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell), and [prettier](https://github.com/prettier/prettier).

Updates `cspell` from 10.3.2 to 10.3.3
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.3.3/packages/cspell)

Updates `prettier` from 3.9.6 to 3.9.8
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.6...3.9.8)

---
updated-dependencies:
- dependency-name: cspell
  dependency-version: 10.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.9.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 17:17:42 +02:00
dependabot[bot]
e4a821b8a9
Bump the GitHub Actions dependencies with 4 updates (#42964)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.38.0 to 4.38.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b96794f015...1c5b675653)

Updates `github/codeql-action/autobuild` from 4.38.0 to 4.38.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b96794f015...1c5b675653)

Updates `github/codeql-action/analyze` from 4.38.0 to 4.38.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b96794f015...1c5b675653)

Updates `github/codeql-action/upload-sarif` from 4.38.0 to 4.38.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b96794f015...1c5b675653)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.38.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.38.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 17:09:08 +02:00
Mark Otto
3824fb30e5 Rebuild 2026-09-28 22:45:50 -07:00
Mark Otto
ebe710af56
Add .table-card for rounded tables (#42832)
* feat(tables): add `.table-card` for rounded tables

People often nest tables in cards to get a bordered, rounded look.
That creates padding, margin, and double-border edge cases.

Add a `.table-card` wrapper that clips and rounds the table itself,
and document the utilities-only equivalent.

Closes #39774

* fix(tables): silence stylelint on `.table-card` cell selectors

The last-row border reset needs the same deep universal cell path as
`.table`, plus a wrapper and optional responsive nest. That trips the
compound, universal, and combinator limits.

* chore(css): increase table-card bundle limit
2026-09-28 22:45:31 -07:00
Mark Otto
0b62385361
Floating labels: always float date and time inputs (#42833)
* fix(forms): always float labels on date and time inputs

Date, time, datetime-local, month, and week inputs do not support
placeholders like text fields, so floating labels looked filled even
when empty and padding stayed inconsistent.

Keep those controls (and selects) in the floated label and padding
state, and document the behavior.

Fixes #39257

* fix(forms): mute date/time separators and dedupe docs

Date and time inputs show hard `/` and `:` dividers that fight the
control’s muted placeholder look in WebKit and Blink.

Color those separators with the control placeholder token, and fold the
duplicate date and time docs section into one.

* feat(forms): add always-floating labels for v6

Port the always-visible floating label opt-in from #36155 to the v6
token and label-first :has() model.

Show placeholders on focus by default, and add .form-floating-always
to keep the label floated with a visible placeholder.

Supersedes #36155

* fix(forms): pass floating label CI checks

Use lint-compatible date, time, and select selectors while preserving
their matches. Raise the minified CSS budget to cover the new floating
label rules.
2026-09-28 22:39:56 -07:00
Mark Otto
114ce7ee49 Rebuild distribution files 2026-09-28 22:21:09 -07:00
Mark Otto
ee883d0148 Increase unminified bundle size limit 2026-09-28 22:21:01 -07:00
Alexandre Kohler
8a978f8857
Fix Chips Shift+Click range selection losing its anchor (#42956)
A range selection without addToSelection calls clearSelection(), which
also resets the anchor chip. The next Shift+Click then has no anchor and
falls back to a single selection. Keep the anchor across the reset.
2026-09-28 22:13:56 -07:00
Mark Otto
5fe400ce2e
Keep dismiss-on-next-click popovers open for tip interaction (#42834)
* fix(popover): keep dismiss-on-next-click open inside the tip

Selecting text or focusing a control inside a focus-triggered
popover closed it, because focus left the trigger.

Keep the tip open for tip focus and tip pointerdown, and dismiss
on outside pointerdown instead.

Fixes #31088

* Bump bundlewatch limits for the tooltip tip-interaction logic

Raise the bootstrap.min.js and bootstrap.bundle.min.js size limits to fit
the added tooltip focus and pointer handling.

* bump
2026-09-28 22:13:34 -07:00
Mark Otto
cab1b73091 hide examples for now 2026-09-28 22:09:00 -07:00
Mark Otto
1b257cdbce fix linter 2026-09-28 22:08:29 -07:00
Mark Otto
873b23e9b7 Rebuild 2026-09-28 22:07:31 -07:00
Mark Otto
7a796a810e docs(migration): sync v6 guidance with current APIs
Update the migration guide and agent skills for current component markup,
theme classes, dependencies, container queries, and JavaScript behavior.

Remove stale Calendar guidance and document native Drawer markup, current
browser floors, and the bundled versus standalone dependency model.
2026-09-28 22:07:20 -07:00
Mark Otto
708c720d98
Add a manual workflow to deploy the docs to gh-pages (#42922)
Publishing the docs meant building the site and pushing it to gh-pages by
hand. This adds a workflow_dispatch job that builds the site, then copies it
over a gh-pages checkout with rsync. The copy omits --delete, so every older
docs/<version> directory survives while the root files and the current version
get replaced.

The job uses no third-party actions. GitHub's own Pages actions replace the
whole site on each deploy, so they cannot keep the version archive.

Also drop release-drafter. The release UI now generates the notes, and
.github/release.yml keeps the same label categories.
2026-09-28 22:00:41 -07:00
Mark Otto
4e11a28355
agents(release): restore the Bootstrap release workflow (#42960)
Give maintainers a project skill for the full release path. Include
version preparation, validation, package publishing, release assets,
NuGet publishing, documentation deployment, and final checks.

Require explicit approval before each external release write.
2026-09-28 22:00:28 -07:00
Mark Otto
2fbe30ae7c
Fix v6 component regressions and docs SRI (#42961)
* fix(docs): omit SRI for local assets

The docs site serves its bundled assets from versioned local paths, but the
helpers attach hashes for CDN files in production.

Stop adding integrity attributes to these local URLs so browsers load built
assets when their content differs from CDN artifacts.

* fix(js): remove component listeners on dispose

Disposed chips, comboboxes, and strength meters leave listeners attached to
child elements because their events do not use component namespaces.

Namespace these listeners and remove them during disposal while preserving
listeners that consumers added.

* fix(datepicker): synchronize parsed values

Date-only input values can shift by one day outside UTC, and programmatic
selection changes do not update connected inputs and display elements.

Parse date-only values in local time and route all selection updates through
the same value synchronization path.

* fix(dialog): respect backdrop and swap cancellation

Dialogs and drawers with no backdrop still close on an outside click. Dialog
swaps also close the source when either lifecycle event cancels the swap.

Honor disabled backdrops and check both cancelable lifecycle events before a
swap changes either dialog. Register focus restoration only for accepted
shows.

* fix(tab): ignore stale activation completion

Rapid tab activation lets an earlier transition finish after a newer one. The
stale callback then restores the wrong selected and accessibility state.

Track each activation request and ignore callbacks that no longer match the
latest request.

* chore(bundlewatch): raise JavaScript size limits

The required component fixes increase three generated JavaScript bundles
beyond their existing gzip limits.

Raise each limit to the next quarter kilobyte with the repository's
Bundlewatch update tool.
2026-09-28 22:00:16 -07:00
Mark Otto
8b86f40c88
Add token playground to theme docs (#42929)
* Add token playground to theme docs

Show how theme and layout tokens flow to components. Readers change the
radius, spacer, or primary color and see the button, input, alert, and
card update together. The Remint control demonstrates how derived tokens
(bg-subtle, fg, border) restate the theme today.

* Add remint to cspell word list
2026-09-28 22:00:04 -07:00
Mark Otto
28577f878e Simplify URL for launch 2026-09-28 20:25:02 -07:00
jonnysp
790c5dd1ea
Update card component theme class naming (#42937) 2026-09-28 16:41:02 -07:00
Julien Déramond
b5794f91c1
Docs: fix v5 breakpoint values in breakpoints docs (#42958)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:19:40 +02:00
Julien Déramond
bd0a4f63ce
Remove unused $enable-caret and caret mixins (#42957)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 14:44:59 +02:00
Mark Otto
f9fb3a45cb
fix(docs): focus search after pointer opens (#42954)
Clicking the navbar search button opens the dialog but leaves the search
field unfocused. Keyboard shortcuts already focus it.

Focus the field after the dialog entry transition so pointer focus cannot
return to the trigger.
2026-09-26 13:10:00 -07:00
Mark Otto
e2b18a61be
Fix OTP input truncation for formatted paste (#42953)
* Add failing test when pasting into OTP input

* Fix OTP input pasting being truncated

* Reduce bundle size, test for disposing paste listener

* fix(otp-input): preserve native paste behavior

Pasting a formatted OTP avoids maxlength truncation, but the custom
handler replaces the complete value for every paste and changes readonly
fields.

Insert partial codes into the selected range, replace the existing value
only for complete codes, and leave readonly or empty pastes unchanged.
Update the paste tests to emulate native maxlength insertion.

* perf(otp-input): reduce paste handler bundle size

The paste behavior fix pushes the unminified bundle above its size limit.
Reuse mutable selection bounds instead of repeated conditional expressions
to preserve the behavior with less generated code.

---------

Co-authored-by: Sondre Aasemoen <sondre@eons.io>
2026-09-26 13:01:03 -07:00
Mark Otto
624c7b98c6
Close plain navbar drawers on resize past expand (#42828)
* Close plain navbar drawers on resize past expand

The resize handler only matched responsive `.{bp}:drawer` classes, so
navbar drawers using plain `.drawer` stayed open after expand and kept
overlay styles. Widen the selector and cover it with a unit test.

* fix(drawer): track navbar container resizing

Change an open navbar's width without resizing the viewport: its drawer
can expand inline while the native dialog stays open.

Observe the containing navbar and close the drawer after its computed
position becomes static. Limit resize scans to valid drawer classes so
unrelated dialogs stay open.

* chore(bundlewatch): raise the bundle size limit

The drawer resize observer raises the compressed unminified bundle above
its current limit. Increase that limit by 0.25 kB to cover the change.
2026-09-25 22:21:13 -07:00
Mark Otto
f609168631 dist 2026-09-25 21:39:21 -07:00
Mark Otto
8918d6b8c5 chore(lint): ignore expected local lint noise
Unit tests use nested callbacks for Jasmine structure and async events.
Disable that rule for unit specs. Exclude local Cursor metadata from
Git and ESLint.
2026-09-25 21:37:08 -07:00
Mark Otto
7889996c64
Improve placeholder sizing and loading animations (#42882)
* Update placeholder sizing, docs, and animations

* feat(placeholders): favor shimmer for loading states

Use the wave animation for loading skeletons and inline status text.
Move the old opacity effect to placeholder-pulse while keeping the
placeholder-glow class as a compatibility alias.

Update the component docs, migration guidance, migration skill, and
docs search loader to use the new recommendation.

* Fix bundlewatch
2026-09-25 21:34:04 -07:00
Mark Otto
1c746ff83e
Relocate overflowing nav menus as overflow submenus (#42873)
* Relocate overflowing nav menus as overflow submenus

A nav item that hosts a menu used to collapse into a plain cloned link.
The menu became unreachable once the nav item overflowed, so a nested
menu was lost at narrow widths.

Move the original `.menu` into a `.submenu` of the overflow menu instead
of cloning it. One live menu keeps its ids, its nested submenus, and its
node state. Only the trigger is cloned, with the menu data attributes
stripped and `aria-haspopup` added. Restore moves the menu back to its
nav item and disposes the menu instances that were created.

* Type a relocated menu parent as ParentNode

`tsc` rejected `parent.append(menu)`, because `Node` does not declare
`append`. Store the parent as `ParentNode`, which does, and which is what
`Node.parentNode` already returns.

* Raise the JS bundlewatch budgets

The submenu relocation adds about 0.4KB gzipped to the minified builds,
and both budgets had under 0.1KB of headroom. Move
`bootstrap.min.js` to 34.0KB and `bootstrap.bundle.min.js` to 56.0KB.

* Handle menu state during nav overflow relocation

An open nav menu kept stale classes when its item moved into overflow.
Menus moved to another container were also missed, and cloned anchor
triggers lost keyboard focus.

Cache each hosted menu before it can move, reset open state during
relocation, and keep anchor triggers focusable. Add regression coverage
for relocation, nested interaction, container menus, and menu rebuilds.
Raise the bundled size budget to fit the added handling.

* Raise the unminified bundlewatch budget

The bundled build is 73.13KB after the nav overflow changes, which is
above the 73KB limit. Raise the limit to 73.25KB.

* Fully round nav pills

The radius token leaves visible corners on taller pill navigation. Use a
component-specific 3rem radius for the pill container and links.

* Fix nav overflow startup and clipped menus

Resizable examples clip the generated overflow menu because their fixed
positioning strategy cannot reach the toggle that NavOverflow creates.
Expose a menu strategy option and use it in those previews.

Hide the expanded nav until its first calculation completes to prevent a
startup flash and scrollbar. Remove the icon line box so icon-only toggles
stay vertically centered.
2026-09-25 20:11:27 -07:00
Julien Déramond
48477bd401
Docs: drop non-existing .btn-ghost (#42950) 2026-09-25 21:03:31 +02:00
Mark Otto
3df38af287
Update Vanilla Calendar Pro to v3.4.0 and fix datepicker dismissal (#42856)
* Update Vanilla Calendar Pro to v3.4.0 and register only needed extensions

VCP v3.4.0 moves its optional features into extensions that ESM users must
import. The datepicker now registers only `months`, which
`displayMonthsCount` needs. This keeps time, weeks, motion, and annotations
out of `bootstrap.bundle.js`.

The v3.4.0 core is still larger than v3.2.0, so `bootstrap.bundle.min.js`
grows from 55.98 kB to 57.32 kB gzipped. Raise its budget to 57.5 kB, and
lower the unminified bundle budget to 73 kB.

Add `Datepicker.registerExtensions()` so that pages can enable other
features for every datepicker, including those the data API creates.
Extensions in `vcpOptions.extensions` merge with the registered set. The
docs show only core features, plus an Extensions section that explains how
to add the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BSipmEzpamwBN3vxKsUcge

* Revert "Add a calendar docs page"

The calendar docs page came with the calendar and datepicker split,
which landed on v6-dev by accident. We are not keeping the split, so
remove the page and its sidebar entry.

This reverts commit 04e526914.

* Merge the calendar Sass back into the datepicker

The calendar and datepicker split landed on v6-dev by accident, pushed
straight from a local branch instead of through this PR. We are not
keeping it, so restore the single `_datepicker.scss` and its
`--datepicker-*` tokens, and drop the calendar tokens from the docs and
the migration guide.

Keep the fix for the month and year grids. VCP 3.2.0 and later wrap
months and years in row and cell elements, so the column grid still has
to go on the row.

The split also broke popup dismissal. The popup rule set `opacity: 1`
with more specificity than `[data-vc-calendar-hidden]`, so a hidden popup
stayed visible. The single file keeps the two rules at equal
specificity, and the hidden rule wins by order.

* Fix the theme sync by caching the ancestor on first lookup

* Let vcpOptions.type through and style VCP's animated transitions

These changes come from the VCP 3.3.1 bump, which a force push dropped
from this branch. The version bump itself is no longer needed.

The datepicker always set VCP's `type` itself, so `vcpOptions.type` was
silently ignored. Let it through when `displayMonthsCount` is 1. More
months still force VCP's required `'multiple'` type. In v3.4.0 the
`'week'` type needs the `weeks` extension, so document that.

With animation on, VCP clips the outgoing view and layers a ghost clone
on top of it. Without the clip and the absolute positioning, the clone
stays in normal flow and shows through under the calendar. Style
`[data-vc-clip]`, `[data-vc-ghost]`, and `[data-vc-collapsing]`.

Co-authored-by: Mark Otto <markdotto@gmail.com>

* Point the VCP CDN URL at v3.4.0

The v3.4.0 upgrade bumped the package but left the docs CDN URL on
v3.2.0.

* Drop the week view and the weeks extension

We do not want the week view, week numbers, or collapse to a week, so
stop supporting them. The datepicker sets VCP's `type` itself again, and
`vcpOptions.type` no longer reaches VCP. Remove the `[data-vc-collapsing]`
styles, the `weeks` row in the extensions table, and the `weeks` usage in
the docs, unit tests, and type tests. The tests use `motion` and `time`
as the sample extensions instead.

* Support only the months extension and drop registerExtensions()

We do not style or test VCP's optional features, so stop offering them.
The datepicker always passes `extensions: [months]`, which
`displayMonthsCount` needs, and ignores `vcpOptions.extensions`. Remove
`Datepicker.registerExtensions()`, the animated transition styles for
the `motion` extension, and the extensions docs. The docs now say that
options from other extensions are not supported.

* Close the datepicker on outside presses and on a second trigger click

VCP hides the popup on an outside click itself, but it skips Bootstrap's
hide events. Close it on `pointerdown` outside the trigger and calendar
too, so presses on non-focusable elements fire `hide.bs.datepicker` and
`hidden.bs.datepicker`. The same handler already covers `focusin`.

VCP also schedules a show on every click of its trigger, after the data
API toggle runs. A second click on a button trigger closed the popup and
VCP opened it again. Cancel that reopen when the toggle closed it.

The two fixes add about 90 bytes, so raise the `bootstrap.min.js` budget
to 33.75 kB.

* Typo

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-09-25 08:38:44 -07:00
Julien Déramond
ef95957df1
Remove stale .form-select selectors from input group styles (#42928)
.form-select was consolidated into .form-control on <select> elements,
but these two selectors in the input group border-radius rules still
targeted the old class. They no longer matched anything.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 19:20:11 -07:00
Julien Déramond
c307fa8cb8
Remove react-nextjs example from v6 docs (#42893)
React Bootstrap has no Bootstrap v6-compatible release yet, and its
components render their own DOM, so pairing it with v6's CSS breaks
styling entirely. The example was dropped from twbs/examples' v6-dev
branch for the same reason (twbs/examples#997); this removes its
listing from the docs examples page to match.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 19:20:03 -07:00
Julien Déramond
30be5a4707
Wire --spacer to $spacer in root tokens (#42927)
$root-tokens hardcoded --spacer: 1rem instead of interpolating
$spacer. Every --spacer-N token derives from $spacer through the
$spacers map, so overriding $spacer moved the scale but left the
base token stuck at 1rem. Other tokens in the same map already
interpolate their Sass variable (e.g. --border-width), so this
brings --spacer in line with that convention.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 19:19:34 -07:00
Julien Déramond
4edc9f8d50
Fix undefined --fg-color reference in nav tokens (#42930)
--nav-tabs-link-active-color and --nav-underline-link-active-color
referenced --fg-color, a token that does not exist. Use --fg-body,
the same token .nav-link-active-color already uses for this state.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 14:46:49 -07:00
Julien Déramond
66e425780c
Declare missing --btn-input-font-weight token (#42931)
--btn-font-weight referenced var(--btn-input-font-weight), but that
token was never declared alongside its --btn-input-* siblings. Add it
to scss/_root.scss so buttons resolve the intended font weight
instead of silently inheriting.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 14:46:29 -07:00
Christian Oliff
b58a235391
Delete CLAUDE.md (#42940)
This is no longer needed (finally!)
2026-09-24 14:46:08 -07:00
Julien Déramond
32a7a4e1df
chore(deps): pin prettier-plugin-astro to 0.14.1 2026-09-22 18:34:49 +02:00
dependabot[bot]
c4ce982ab0
Bump dependencies with 7 updates (#42942)
Bumps the development-dependencies group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.3.0` | `7.3.1` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.5.5` | `10.6.1` |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `10.3.0` | `10.3.2` |
| [image-size](https://github.com/image-size/image-size) | `2.0.2` | `2.0.4` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `5.4.1` | `5.4.2` |
| [rollup](https://github.com/rollup/rollup) | `4.63.1` | `4.63.3` |
| [zod](https://github.com/colinhacks/zod) | `4.5.4` | `4.6.5` |

Updates `@astrojs/markdown-remark` from 7.3.0 to 7.3.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.1/packages/markdown/remark)

Updates `autoprefixer` from 10.5.5 to 10.6.1
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.5...10.6.1)

Updates `cspell` from 10.3.0 to 10.3.2
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.3.2/packages/cspell)

Updates `image-size` from 2.0.2 to 2.0.4
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](https://github.com/image-size/image-size/commits)

Updates `js-yaml` from 5.4.1 to 5.4.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.4.1...5.4.2)

Updates `rollup` from 4.63.1 to 4.63.3
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.63.1...v4.63.3)

Updates `zod` from 4.5.4 to 4.6.5
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.5.4...v4.6.5)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: autoprefixer
  dependency-version: 10.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: cspell
  dependency-version: 10.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: image-size
  dependency-version: 2.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: js-yaml
  dependency-version: 5.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: rollup
  dependency-version: 4.63.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: zod
  dependency-version: 4.6.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-09-22 18:30:54 +02:00
dependabot[bot]
93c81728b3
Bump the GitHub Actions dependencies with 4 updates (#42943)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdf488f595...b96794f015)

Updates `github/codeql-action/autobuild` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdf488f595...b96794f015)

Updates `github/codeql-action/analyze` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdf488f595...b96794f015)

Updates `github/codeql-action/upload-sarif` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdf488f595...b96794f015)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-22 17:45:08 +02:00
Kamal Rawal
875f44d1c0
Docs: fix typo in Tooltips page (#42941)
Signed-off-by: Rawal27 <obviouslykamal@gmail.com>
2026-09-21 09:00:27 +02:00
dependabot[bot]
5726523804
Bump dependencies with 4 updates (#42933)
Bumps the development-dependencies group with 4 updates in the / directory: [autoprefixer](https://github.com/postcss/autoprefixer), [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell), [postcss](https://github.com/postcss/postcss) and [postcss-cli](https://github.com/postcss/postcss-cli).

Updates `autoprefixer` from 10.5.4 to 10.5.5
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.4...10.5.5)

Updates `cspell` from 10.2.0 to 10.3.0
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.3.0/packages/cspell)

Updates `postcss` from 8.5.26 to 8.5.28
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.26...8.5.28)

Updates `postcss-cli` from 11.0.1 to 12.0.0
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/11.0.1...12.0.0)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-version: 10.5.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: cspell
  dependency-version: 10.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.28
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss-cli
  dependency-version: 12.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-15 13:10:33 +02:00
dependabot[bot]
047ee5eca0
Bump streetsidesoftware/cspell-action in the github-actions group (#42934)
Bumps the github-actions group with 1 update: [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action).


Updates `streetsidesoftware/cspell-action` from 9.0.1 to 9.1.0
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](e0668cf020...6f3c77c140)

---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-15 13:03:32 +02:00
Mark Otto
2f488fd7e5
Document Drawer non-modal scroll behavior. (#42825)
Clarify that scroll + no backdrop uses show() without a focus trap, addressing the leftover a11y notes from #34584.
2026-09-12 14:39:19 -07:00
Mark Otto
e878eae0fa
Fix Dialog swap opening both dialogs on double-click (#42926)
A fast double-click on a swap trigger opened both dialogs with a doubled
backdrop. The second click hit the just-opened dialog's own swap trigger
before its entry transition ended, so the outgoing dialog could not hide.

Ignore a swap trigger while the outgoing dialog still has .dialog-swap-in.

Reported at https://github.com/twbs/bootstrap/discussions/42444#discussioncomment-18384037

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-12 14:35:58 -07:00
Mark Otto
06ae2652fc
Resolve alert theme tokens at the declaration (#42923)
The alert tokens held the `--theme-*` lookups themselves, so anyone who
overrode `--alert-bg` or `--alert-color` also lost the theme fallback. Move
each lookup to the declaration that uses it. The tokens now hold plain base
values, and a `.theme-*` class still wins.

Compose the border in the declaration too, and drop the `--alert-border`
token that only wrapped the other three.

Round the corners with `--radius-7` to match the other surface components.
2026-09-12 14:35:23 -07:00
Julien Déramond
9e8c00df08
Use percentages for the navbar dark color-mix() weights (#42925)
CSS Color 5 requires a <percentage> for the color-mix() mixing weight. A
bare number parses in a custom property declaration, but makes the value
invalid at computed-value time. Every .navbar-dark link color was dropped,
and the element inherited its color instead. No browser reports a warning.

The four values came from the v5 rgba($white, .55) form and kept the
decimal. The other 28 color-mix() calls in the stylesheet use percentages.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-12 14:34:02 -07:00
Mark Otto
28985c6485 Mark Carousel and Scrollspy as added in 6.0.0
Both pages were missing the version badge the other new components carry.
Also drop a stray blank line after Navbar.
2026-09-11 15:55:58 -07:00
dependabot[bot]
65211bce74
Bump axios from 1.16.0 to 1.20.0 (#42918)
Bumps [axios](https://github.com/axios/axios) from 1.16.0 to 1.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.16.0...v1.20.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 18:24:58 +02:00
Julien Déramond
04e000fd81
Bump svgo from 4.0.2 to 4.1.0 2026-09-09 18:18:18 +02:00
Julien Déramond
f9d0e422be
Bump Astro dependencies 2026-09-09 18:17:11 +02:00
Julien Déramond
e76d8db0a3
Bump dependencies with 6 updates (#42913) (#42919)
Bumps the development-dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.2.4` | `7.3.0` |
| [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) | `3.7.3` | `3.7.4` |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `10.1.1` | `10.2.0` |
| [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) | `8.1.4` | `8.2.0` |
| [terser](https://github.com/terser/terser) | `5.50.0` | `5.51.2` |
| [zod](https://github.com/colinhacks/zod) | `4.4.3` | `4.5.4` |

Updates `@astrojs/markdown-remark` from 7.2.4 to 7.3.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.3.0/packages/markdown/remark)

Updates `@astrojs/sitemap` from 3.7.3 to 3.7.4
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/sitemap@3.7.4/packages/integrations/sitemap)

Updates `cspell` from 10.1.1 to 10.2.0
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.2.0/packages/cspell)

Updates `eslint-plugin-html` from 8.1.4 to 8.2.0
- [Changelog](https://github.com/BenoitZugmeyer/eslint-plugin-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/BenoitZugmeyer/eslint-plugin-html/commits)

Updates `terser` from 5.50.0 to 5.51.2
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.50.0...v5.51.2)

Updates `zod` from 4.4.3 to 4.5.4
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.4.3...v4.5.4)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@astrojs/sitemap"
  dependency-version: 3.7.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: cspell
  dependency-version: 10.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: eslint-plugin-html
  dependency-version: 8.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: terser
  dependency-version: 5.51.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: zod
  dependency-version: 4.5.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 17:58:20 +02:00
dependabot[bot]
df7c34be01
Bump the GitHub Actions group with 5 updates (#42914)
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.8` | `4.37.9` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.37.8` | `4.37.9` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.8` | `4.37.9` |
| [JustinBeckwith/linkinator-action](https://github.com/justinbeckwith/linkinator-action) | `2.4.5` | `2.5.0` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.8` | `4.37.9` |


Updates `github/codeql-action/init` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](db488ddef3...cdf488f595)

Updates `github/codeql-action/autobuild` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](db488ddef3...cdf488f595)

Updates `github/codeql-action/analyze` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](db488ddef3...cdf488f595)

Updates `JustinBeckwith/linkinator-action` from 2.4.5 to 2.5.0
- [Release notes](https://github.com/justinbeckwith/linkinator-action/releases)
- [Changelog](https://github.com/JustinBeckwith/linkinator-action/blob/main/CHANGELOG.md)
- [Commits](36a0bfbfec...12f7a61a56)

Updates `github/codeql-action/upload-sarif` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](db488ddef3...cdf488f595)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: JustinBeckwith/linkinator-action
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 17:42:34 +02:00
Mark Otto
bc4bcb4074 rebuild 2026-09-05 22:49:45 -07:00
Mark Otto
428dba513b docs(utilities): sync spacing and radius scales
Document all spacing values through step 12 across margin, padding,
gap, space, gutters, and utility API examples. Correct the responsive
space syntax and custom negative-map example.

Expand border-radius examples through step 9 and show the correct Sass
map and generated root tokens.
2026-09-05 22:49:45 -07:00
Mark Otto
4270e851e4 refactor(docs): tune homepage masthead spacing
Reduce the introductory text size on narrow screens, increase the
action gap, and use keyline menu dividers. Remove the redundant
masthead button shadow override.
2026-09-05 22:49:45 -07:00
Mark Otto
07c5745c20 feat(docs): link navigation to v6 examples
Send the Examples navigation item to the dedicated v6 examples
repository. Store the URL in shared config and mark the link as
external in both navigation layouts.
2026-09-05 22:49:45 -07:00
Mark Otto
a5c9a135fa refactor(placeholders): use the black color token
Use the runtime black custom property for the wave mask and remove the
unused Sass color dependency.
2026-09-05 22:49:45 -07:00
Mark Otto
4235592e5a fix(buttons): style open toggles as active
Apply the active button treatment when a toggle has the show class, so
open menus keep the same pressed state as other active controls.
2026-09-05 22:49:45 -07:00
Mark Otto
33ac9b6c61 feat(config): refine spacing and radius scales
Add quarter-step spacing values through 3rem and smooth the largest
radius steps. Update the migration guide and migration skill with the
new utility mappings.
2026-09-05 22:49:45 -07:00
Mark Otto
7913a23135 refactor(cards): simplify card borders and layout
Put the outer border on the card and use single dividers between its
content sections. Remove the temporary card-list helper and let flush
list groups inherit the card corners.

Update body alignment, grouped cards, examples, and migration guidance
to match the new structure.
2026-09-05 22:49:45 -07:00
Julien Déramond
10dc3fb3b9
Bump dependencies with 16 updates (#42890) 2026-09-01 20:59:41 +02:00
dependabot[bot]
af47b3ee88
Bump postcss-selector-parser (#42887)
Bumps  and [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser). These dependencies needed to be updated together.

Updates `postcss-selector-parser` from 7.1.1 to 7.1.5
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/v7.1.1...7.1.5)

Updates `postcss-selector-parser` from 6.1.2 to 6.1.4
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/v7.1.1...7.1.5)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version: 6.1.4
  dependency-type: indirect
- dependency-name: postcss-selector-parser
  dependency-version: 7.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-01 20:07:31 +02:00
dependabot[bot]
699ee417af
Bump js-yaml from 5.4.0 to 5.4.1 (#42888)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 5.4.0 to 5.4.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.4.0...5.4.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.4.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-01 20:04:55 +02:00
dependabot[bot]
4c2ebd29a2
Bump dependencies with 5 updates (#42883)
Bumps the development-dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.2.2` | `7.2.4` |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `10.0.1` | `10.1.1` |
| [globby](https://github.com/sindresorhus/globby) | `16.2.3` | `16.2.4` |
| [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) | `2.2.0` | `2.3.0` |
| [rollup](https://github.com/rollup/rollup) | `4.62.4` | `4.63.0` |

Updates `@astrojs/markdown-remark` from 7.2.2 to 7.2.4
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.2.4/packages/markdown/remark)

Updates `cspell` from 10.0.1 to 10.1.1
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.1.1/packages/cspell)

Updates `globby` from 16.2.3 to 16.2.4
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v16.2.3...v16.2.4)

Updates `karma-jasmine-html-reporter` from 2.2.0 to 2.3.0
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v2.2.0...v2.3.0)

Updates `rollup` from 4.62.4 to 4.63.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.62.4...v4.63.0)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: cspell
  dependency-version: 10.1.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: globby
  dependency-version: 16.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: karma-jasmine-html-reporter
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: rollup
  dependency-version: 4.62.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-09-01 19:59:32 +02:00
dependabot[bot]
88f20da430
Bump GitHub actions dependencies with 4 updates (#42884)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff2f1c621b...db488ddef3)

Updates `github/codeql-action/autobuild` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff2f1c621b...db488ddef3)

Updates `github/codeql-action/analyze` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff2f1c621b...db488ddef3)

Updates `github/codeql-action/upload-sarif` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff2f1c621b...db488ddef3)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-01 19:40:07 +02:00
cccabinet
6c96a2bfdf
Examples: Fix navbar-nav alignment in drawer navbar examples (#42881) 2026-08-31 20:19:42 +02:00
Mark Otto
afca40e8c3 rebuild 2026-08-31 10:05:32 -07:00
Mark Otto
48d294763c animation warning 2026-08-31 10:05:22 -07:00
Mark Otto
ed9529bf53 tweak cards css
- no need for .card-title
- link border-radius values
2026-08-31 10:05:10 -07:00
Mark Otto
2c9cda12dc fix 2026-08-31 10:04:38 -07:00
Mark Otto
e6194ec114 Dist and bundlewatch 2026-08-30 21:20:35 -07:00
Mark Otto
86fead8676 docs(migration): cover recent v6 API changes
The last two weeks added :host tokens, defaults() map
merges, accordion modifiers, hoverable tooltips, and a
standalone calendar. The migration guide omitted them,
and the agent skills still described the old APIs.
2026-08-30 21:15:55 -07:00
Mark Otto
c52dd50325 Fix quickstart CodePen demo link
Replace the old demo URL with the current Bootstrap quickstart example.
2026-08-29 14:59:01 -07:00
Mark Otto
eb76797213 Fix text button playground markup
Put text button content on its own indented line so generated examples
match the markup used by the other button types.
2026-08-29 14:59:01 -07:00
Mark Otto
04e5269146 Add a calendar docs page
The calendar now has its own Sass partial and token map, so document it
apart from the datepicker. The page covers the inline calendar, the
`--calendar-*` tokens, and the color modes.

Point at the datepicker for options, methods, and events, because the
calendar has no JavaScript of its own.
2026-08-29 14:59:01 -07:00
Mark Otto
b21ecc4dc8 Update Vanilla Calendar Pro to v3.2.0
VCP 3.2.0 wraps the months and years in row and cell elements to fix
their ARIA grid structure. That change moves the grid columns off the
container, so put the column grid on the new row elements. The month and
year views otherwise collapse to three rows.

Also split the calendar grid out of the datepicker into its own Sass
partial and token map. The datepicker now layers the popup surface onto a
bare calendar, instead of inline calendars undoing the popup styling. Use
the `--calendar-*` tokens to style a calendar and the `--datepicker-*`
tokens to style the popup.

Add unit tests that pin the month and year markup, because this
regression was invisible to the suite.

Closes #42836
2026-08-29 14:59:01 -07:00
Mark Otto
3d86b41462
Add an accordion-gap modifier (#42874)
Spacing accordion items apart used to need a custom margin on each item.
A margin joins the panel block-size transition, so adjacent items jumped
while a panel opened.

Add `.accordion-gap`, which lays the accordion out as a flex column and
puts the space in `gap`. A flex gap stays constant during the transition.
Each item clips its overflow and keeps a full border radius, so corners
do not retarget while the panel opens. Set the space with the new
`--accordion-gap` token.
2026-08-29 14:58:47 -07:00
Julien Déramond
99c17bb64d
Docs: uniformize var used to store document.querySelector call in JavaScript page 2026-08-29 09:57:26 +02:00
Mark Otto
04b638f1ae
Tighten theme mix, shades, and border docs (#42875)
Mix colors in oklch instead of lab, so a tint or a shade keeps a more
even lightness across the palette. Pull the 950 and 975 shades back to
70% and 76%, because the darkest steps had collapsed together.

Mix the dark mode `--border-subtle` from gray-800 and gray-900. Plain
gray-900 was too close to the dark body background to read as a border.

Let an active nav pill follow `--theme-bg` and `--theme-contrast`, so a
theme utility on a pill nav now takes effect.

Fix the swatch shortcode, which split `light-dark()` on the first comma.
A nested `color-mix()` broke that split and fell back to the raw string.
Match parens instead, and unwrap `var(--token)` for display.

Document the border tokens that already shipped: `bg`, `body`, `white`,
and `black`.
2026-08-28 12:30:35 -07:00
Mark Otto
6e714152c2
Keep a nonmodal dialog centered (#42876)
Open a dialog with `show()` and it sits off center. `show()` does not use
the top layer, so the dialog needs its own positioning. That positioning
centered the dialog with `translate(-50%, -50%)`, but the open state sets
`transform: none` to end the entry animation. The transform reset then
removed the centering.

Center with `inset: 0` and the `margin: auto` already on `.dialog`, and
add `height: fit-content` so the block axis also centers. Nothing here
depends on `transform` anymore.
2026-08-28 12:30:22 -07:00
Mark Otto
7a753b92b1
Remove the breadcrumb bottom margin (#42877)
A breadcrumb added a bottom margin of its own, so it fought the spacing
utility or the layout gap around it. Remove the
`--breadcrumb-margin-bottom` token and set `margin-bottom: 0` to clear
the browser default on the list. Spacing is now the page's job.
2026-08-28 12:28:23 -07:00
Mark Otto
e1f0110510
Refresh the homepage masthead (#42878)
* Refresh the homepage masthead

Link the v6 announcement post, which is now live. Widen the headline
column to `lg:col-10` so the lead paragraph breaks over fewer lines.

Group the install command, the agents link, and the docs button on one
row from the `md` breakpoint, and wrap the docs button in an accent
shadow so it reads as the primary action.

Point the second footer link at the Bootstrap 5 docs. It used to repeat
the install page that the docs button already opens. Use the absolute
`getbootstrap.com` URL, as `Versions.astro` does, because the v5 docs are
not part of this build.

* Format the masthead with Prettier

`docs-prettier-check` runs as part of `npm run lint` and rejected the
new markup. Wrap the long anchors the way Prettier wants.
2026-08-28 12:28:14 -07:00
dependabot[bot]
5ace9b3108
Bump brace-expansion from 1.1.12 to 1.1.18 (#42786)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 1.1.18.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.18)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-25 21:47:45 +02:00
dependabot[bot]
c07a4931f6
Bump fast-uri from 3.1.4 to 3.1.6 (#42803)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.6.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.4...v3.1.6)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-25 21:45:35 +02:00
dependabot[bot]
5315ecbea3
Bump js-yaml from 5.3.0 to 5.4.0 (#42787)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 5.3.0 to 5.4.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.3.0...5.4.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.2.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-25 21:41:15 +02:00
Julien Déramond
418be70c16
Bump dependencies
- @astrojs/mardkown-remark: 7.2.2 → 7.2.4
- @astrojs/mdx: 7.0.3 → 7.0.8
- astro: 7.0.9 → 7.2.6
2026-08-25 21:38:56 +02:00
Issayah
432c116e5c
Docs: update BootstrapVueNext as non-alpha anymore (#42848)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-08-25 21:00:17 +02:00
Julien Déramond
0a52112654
Move Linkinator to a dedicated monthly workflow (#42863) 2026-08-25 20:19:06 +02:00
dependabot[bot]
31a3269ff6
Bump GitHub Actions with 5 updates (#42867)
Bumps the github-actions group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |
| [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) | `8.4.0` | `9.0.1` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |



Updates `github/codeql-action/init` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5595ccaf91...ff2f1c621b)

Updates `github/codeql-action/autobuild` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5595ccaf91...ff2f1c621b)

Updates `github/codeql-action/analyze` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5595ccaf91...ff2f1c621b)

Updates `streetsidesoftware/cspell-action` from 8.4.0 to 9.0.1
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](de2a73e963...e0668cf020)

Updates `github/codeql-action/upload-sarif` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5595ccaf91...ff2f1c621b)

---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: streetsidesoftware/cspell-action
  dependency-version: 9.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-24 22:35:01 +02:00
Julien Déramond
a5390f3917
Bump dependencies (#42865) (#42866)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-24 21:40:20 +02:00
Julien Déramond
a22f0b538c
Bump the GitHub Actions group with 9 updates (#42822) (#42862)
Bumps the github-actions group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.2` | `4.37.6` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.37.2` | `4.37.6` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.2` | `4.37.6` |
| [JustinBeckwith/linkinator-action](https://github.com/justinbeckwith/linkinator-action) | `2.4.2` | `2.4.5` |
| [actions/stale](https://github.com/actions/stale) | `10.4.0` | `11.0.0` |
| [coverallsapp/github-action](https://github.com/coverallsapp/github-action) | `2.3.7` | `2.3.8` |
| [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) | `7.6.0` | `7.7.0` |
| [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.4.3` | `2.4.4` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.2` | `4.37.6` |

Updates `github/codeql-action/init` from 4.37.2 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e0647621c2...5595ccaf91)

Updates `github/codeql-action/autobuild` from 4.37.2 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e0647621c2...5595ccaf91)

Updates `github/codeql-action/analyze` from 4.37.2 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e0647621c2...5595ccaf91)

Updates `JustinBeckwith/linkinator-action` from 2.4.2 to 2.4.5
- [Release notes](https://github.com/justinbeckwith/linkinator-action/releases)
- [Changelog](https://github.com/JustinBeckwith/linkinator-action/blob/main/CHANGELOG.md)
- [Commits](7b6b0bc671...36a0bfbfec)

Updates `actions/stale` from 10.4.0 to 11.0.0
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](1e223db275...4391f3da66)

Updates `coverallsapp/github-action` from 2.3.7 to 2.3.8
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](5cbfd81b66...8d6379e14d)

Updates `release-drafter/release-drafter` from 7.6.0 to 7.7.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](eada3c96a6...34d80673e0)

Updates `ossf/scorecard-action` from 2.4.3 to 2.4.4
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](4eaacf0543...2d1146689b)

Updates `github/codeql-action/upload-sarif` from 4.37.2 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e0647621c2...5595ccaf91)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: JustinBeckwith/linkinator-action
  dependency-version: 2.4.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/stale
  dependency-version: 11.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: coverallsapp/github-action
  dependency-version: 2.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-08-24 17:56:51 +02:00
Mark Otto
0cc23c8636
fix(docs): balance the example theme picker (#42859)
The fixed example theme picker leaves space for a chevron that its icon
set does not include. The menu also opens toward the viewport edge.

Use a square icon button in examples and open its menu above the button.
Keep the full theme picker in the documentation navigation.
2026-08-21 20:55:35 -07:00
Mark Otto
fdd639962a
Add .theme-reset to drop inherited theme tokens (#42857)
* feat(css): add .theme-reset to drop inherited theme tokens

Put .theme-reset on a nested container inside a .theme-* subtree.
Theme-aware children then use their component fallbacks again.

.theme-* tokens inherit by design. There was no way to return to
unthemed defaults. This class sets each --theme-* custom property
to initial so var(--theme-*, fallback) uses the fallback.

* chore: bump bootstrap-utilities.css bundlewatch limit

.theme-reset ships with the theme helper classes. The utilities
CSS is 19.28 kB gzip, which is over the 19.25 kB cap.
2026-08-21 20:36:21 -07:00
Mark Otto
9192d3411e
Make tooltips hover-able (#42838)
Let users move the pointer onto the tip without it hiding, so they can
reach interactive content inside it (WCAG 1.4.13). Track the original
trigger for delegated tooltips and attach matching leave listeners on
the tip element. Add an "Interactive tooltips" docs example and note the
behavior in the accessibility section.

Closes #28411
Supersedes #35151

Co-authored-by: Ryan Berliner <ryan.berliner@gmail.com>
2026-08-20 15:40:00 -07:00
Mark Otto
dee70a8ba2
Use :host in root selectors so Web Components can access CSS vars (#42839)
* Use `:host` in root selectors so Web Components can access CSS vars

Reproduce twbs/bootstrap#37162 on v6-dev. Adds `:host` beside every
`:root` selector that emits CSS custom properties, so components styled
in a shadow root see the tokens.

* Point the CSS variables snippet at `:root, :host`

Netlify compiles CSS before the docs site. The old `:root {`
regex no longer matches after we add `:host`.
2026-08-20 13:33:37 -07:00
Mark Otto
b296065ed5
Wrap TOC titles and fade the scroll edges (#42854)
* docs: wrap TOC titles and fade the scroll edges

Long heading names were clipping in the sidebar. Wrap them and
fade the list when it overflows so the current section stays
readable.

* Remove comments on fade effect for scrolling

Removed comments about fading edges for scrolling.
2026-08-19 21:12:11 -07:00
Mark Otto
1a36235c6a
Fix Sass theme map configuration and merge overrides via defaults() (#42849)
* Fix Sass theme map configuration and merge overrides via defaults()

bootstrap.scss never forwarded the theme module, so configuring
`$theme-colors` through the entrypoint with `@use ... with (...)` failed
with a "not declared with !default" error. Forward the theme module to
expose the theme maps for configuration.

Also convert the theme maps to the defaults() pattern so overrides merge
on top of the built-ins instead of replacing the whole map, and let a
`null` value remove a key. The default build output is unchanged.

Add a regression test and update the Sass and Theme docs.

Fixes #42847

* Use var(--black) in theme config test to satisfy color-named lint

The stylelint color-named rule rejects named colors like `black` in
declaration values. Reference the token instead, which also matches how
real theme maps set values.
2026-08-19 21:09:43 -07:00
Mark Otto
77ba2eaa68
Close the datepicker when focus leaves (#42855)
* fix(datepicker): close the popup when focus leaves

Vanilla Calendar Pro ignores focus, so keyboard users could
tab out and leave the calendar open. Dismiss it on document
focusin outside the trigger and popup.

* chore: drop generated dist from the datepicker focus fix

Keep the source, tests, and docs. Rebuild dist on merge.

* refactor(datepicker): cut the focus-dismiss comments

Keep one note on why the listener is on document. Drop the rest.
2026-08-19 21:09:37 -07:00
Mark Otto
e61fa75f2b
Add a For Agents menu to the homepage (#42853)
* docs(homepage): add a For Agents menu

Give agents a homepage path to our skills and llms.txt.
The menu copies the install command and opens ChatGPT or Claude.

* style(docs): format the For Agents menu with Prettier
2026-08-19 21:09:21 -07:00
Mark Otto
16c3eb04f0
Use defaults() for global config maps and $badge-variants (#42850)
Convert the remaining plain !default map literals to the defaults()
two-step pattern, so `@use ... with (...)` merges overrides on top of
the built-ins and a null value removes a key. This matches every other
token, size, and variant map in the codebase.

Covers $spacers, $negative-spacers, $sizes, $radii, $border-widths,
$container-max-widths, $position-values, $aspect-ratios, $font-weights,
$color-tints, $color-shades, and $badge-variants. The default build
output is byte-identical.

Add a regression test that merges config maps through the entrypoint.
2026-08-19 21:04:42 -07:00
Mark Otto
4bacc48b71 dist 2026-08-12 15:48:05 -07:00
Mark Otto
fcc29a099d
Add :focus-within styles to .form-control (#42829)
* Add `:focus-within` styles to `.form-control`.

Let wrapper controls (for example `.form-adorn`) show the focus ring when a child input is focused. Fixes #40827.

* Remove unused focus-ring import from form-adorn.

Dropping the local :focus-within rule left @use focus-ring unused and failed css-lint-imports.
2026-08-12 08:15:18 -07:00
Mark Otto
b18d6eefbf
Docs: prerender pages with Speculation Rules (#42830)
* perf(docs): prerender pages with Speculation Rules

Docs navigations wait on a full page load even when the next
page is already clear from hover or intent.

Add Chromium Speculation Rules with moderate eagerness, and
defer Fathom until prerender activation so unused prerenders
do not inflate pageviews.

Closes #41907

* fix(docs): format Analytics.astro for Prettier

The Speculation Rules analytics script failed docs-prettier-check
because the inline script attributes were on one line.
2026-08-12 08:14:40 -07:00
Mark Otto
ebf1b487c7
Merge pull request #42827 from twbs/docs/accordion-expand-collapse-all
Document accordion expand/collapse all toggle
2026-08-11 22:33:55 -07:00
Mark Otto
85cf704263 chore(cspell): allow longhands
CSS docs call out width longhands versus the border
shorthand. Add the plural form so the spell check passes.
COMMIT && git status --short && git log -1 --oneline
2026-08-11 21:52:00 -07:00
Mark Otto
2af7b08ebb docs(accordion): show expand/collapse all toggle
People often need every accordion section open at once
for find-in-page, printing, or less clicking. Exclusive
`name` groups block that unless you clear them first.

Add a docs recipe with one toggle button that opens all
items (after removing `name`) and restores exclusive
grouping on collapse.

References #40725
COMMIT && git status --short && git log -1 --oneline
2026-08-11 19:56:12 -07:00
Mark Otto
e59de39abd Stop tracking the accidental node_modules symlink
The /node_modules/ gitignore rule only matched directories, so a symlink
slipped into v6-dev. Drop it from the index and ignore any node_modules
path so npm install cannot stage it again.
2026-08-11 19:32:45 -07:00
Mark Otto
d282783e4a docs(border): document per-side width utilities
Refs #41371
2026-08-11 15:42:55 -07:00
Mark Otto
ea61a3020a
Merge pull request #42826 from twbs/docs/invoker-commands-dialog-drawer
Document Invoker Commands for Dialog and Drawer
2026-08-11 14:48:25 -07:00
Mark Otto
973ad08560 Document Invoker Commands demos for Dialog and Drawer. 2026-08-11 14:44:27 -07:00
Mark Otto
6bfd67014c
Finish the CSS-first transition model (#42816)
* Document the v6 transition model

Bootstrap now animates components in CSS and lets JavaScript toggle one
state class, but that rule only lived in the migration guide. Add a
Customize page that names the state classes, the token trio, and the four
ways to remove the motion, so component migrations have one contract to
follow.

* Give dialog, drawer, menu, and toast a transition-property token

These four components exposed a duration and an easing token but hard-coded
the property list, so a slide meant rewriting the whole declaration. Each one
now reads --{name}-transition-property, which also let the dialog and the
drawer drop their duplicate open-state transition: one list covers both
directions because visibility interpolates as a step that stays visible while
either end is.

The accordion panel gets the same trio, in place of a hard-coded .2s that
ignored the component tokens.

* Move alert, tab, tooltip, and popover off the shared .fade class

These four components animated through a generic .fade class that authors had
to remember, and they sequenced the animation from JavaScript. Each one now
declares its own transition and its own token trio in CSS, as the toast
already did, and animates by default:

- An alert fades out from a .hiding class, because an alert is visible in the
  markup with or without .show, so the absence of .show cannot mark the exit.
- A tab pane fades in from @starting-style. The plugin adds .active and .show
  in the same frame instead of waiting a transition between them. The outgoing
  pane still leaves at once, since two in-flow panes cannot cross-fade without
  one stacking under the other.
- A tooltip or popover fades in from @starting-style. `animation: false` now
  adds .tooltip-instant or .popover-instant, the same class an author can add.

The JavaScript reads the computed transition duration instead of looking for a
class, so .transition-none, an -instant class, reduced motion, and
$enable-transitions all resolve the promise at once.

.fade stays for author markup, and it is harmless where it remains, but no
component depends on it.

* Animate collapse with interpolate-size instead of JavaScript

The plugin measured the content and wrote inline sizes to fake a height
animation. CSS can do it: `interpolate-size` interpolates `0` to the `auto`
of the open state, so the plugin only toggles `.show`. This drops the
`.collapsing` class and the size math, and matches the accordion.

Also raise the CSS bundlewatch ceilings for this transition series.

* Drop the stale .hide callout from the toast docs

v6 removed the deprecated class, so the note about keeping it for
backwards compatibility no longer applies.

* Stop the horizontal collapse demo from shifting the page

The wrapper reserved 120px, but the open card measures 138px in the docs,
so the content below it jumped on open.

* Reserve the same height in the collapse visual fixture
2026-08-11 11:06:32 -07:00
Mark Otto
a8d5e15c65
Re-mint CSS vars for .theme-contrast (#42824)
* Re-mint CSS vars for .theme-contrast

* spice up the example

* more better
2026-08-11 10:53:32 -07:00
Mark Otto
a472999dfd
Make nav overflow a wrapper around the nav (#42814)
* Make nav overflow a wrapper around the nav

The component measured and observed the same .nav that it collapsed, so each
pass changed the width that produced it. Where the nav width tracked its
content, the two states straddled the collapseBelow threshold and the
ResizeObserver ran hundreds of times a second. That read as items that never
collapse, plus flicker on load.

The nav now lives inside a .nav-overflow wrapper that carries the data
attribute. The component measures and observes the wrapper, which its own output
cannot change. Inline-size containment on the wrapper closes the last path back
in: the min-content width of the items otherwise leaks through a flex ancestor
and widens the wrapper whenever the items are visible.

Items no longer shrink, so the measured widths are the widths the nav really
needs, and the nav gap is counted instead of a 10px fudge.

Fixes #42639

* Let moreText be false for an icon-only overflow toggle

An empty string already hid the label, but it left an empty element behind and
took the accessible name of the button with it. false says the intent, writes no
text element, and falls back to aria-label="More" so the button keeps a name.
An empty string now behaves the same way.

Closes #42639

* Use an English label in the custom toggle example

* Fix sanitizer specs for the wrapper API and bump JS budgets

The #42805 XSS specs still put data-bs-toggle on the nav itself. Point
them at the wrapper markup. Raise the minified JS caps by a quarter
kilobyte for the wrapper path growth.

* Document the nav overflow wrapper in the migration guide
2026-08-10 22:07:45 -07:00
Aljo Joby
e268909d10
Sanitize HTML icon options in Chips and NavOverflow (#42805)
* Sanitize HTML icon options in Chips and NavOverflow

dismissIcon, moreIcon, and [data-bs-overflow-icon] markup were inserted
via innerHTML without going through the sanitizer. moreText and
menuPlacement were also interpolated into HTML string templates.

Route icon HTML through a dedicated DefaultIconAllowlist, insert
moreText with textContent, and build the NavOverflow toggle with DOM
APIs so those values cannot break out of their slots.

* Raise the minified JS budgets by a quarter kilobyte

The icon allowlist and sanitizer calls in Chips and NavOverflow push the
gzipped min builds a few dozen bytes over the previous caps.

* Update sanitizer section for clarity on HTML rendering

Clarified the explanation of components that can render or accept HTML, emphasizing the use of the built-in content sanitizer to prevent XSS attacks.

* Add viewbox to the cspell dictionary

The icon allowlist uses the lowercased SVG attribute name that the
sanitizer matches on, so cspell flagged it as unknown.

* Tighten DefaultIconAllowlist after review feedback

Document that viewbox is lowercased on purpose for attribute matching,
and drop <use> so icon HTML cannot load external SVG fragments via href.

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-08-10 21:29:37 -07:00
Mark Otto
c24f5b403f Minor adjustments 2026-08-10 20:54:35 -07:00
Mark Otto
28a01ffe4d adjust callouts 2026-08-10 20:54:35 -07:00
Mark Otto
2721ec779f Shrink close button a smidge 2026-08-10 20:54:35 -07:00
Mark Otto
aecd996095 Remove commented out 2026-08-10 20:54:35 -07:00
Mark Otto
a71e28adda yap less 2026-08-10 20:54:35 -07:00
Mark Otto
ffc1278842
Fix Menu keyboard navigation inside nested submenus (#42804)
* Fix Menu keyboard navigation inside nested submenus

Arrow keys collected only the direct `.menu-item` children of `.menu`, so
they skipped every submenu trigger, which sits at `.menu > .submenu >
.menu-item`. A menu built entirely from submenus had no reachable items.

Keys pressed inside an open submenu panel did nothing at all. The keydown
handler is delegated on both the toggle and `.menu`, and delegation stops
at the innermost match, so the handler ran on the nested `.menu`. From
there the toggle is not a sibling, and the last-resort lookup only
searched the `.submenu` wrapper. The handler bailed out before any branch,
which killed the arrows, Home, End and Escape. Escape left the user unable
to dismiss the menu by keyboard. The same lookup also picked the first
toggle in the document when a menu used `container`, so an arrow key could
open an unrelated menu.

Resolve the owning menu from the open instances first, and treat submenu
triggers as items of their parent level. Moving focus along a level now
closes the submenus focus left behind, which matches hover and click.

Two specs claimed to cover the submenu ArrowLeft and Escape paths but
called the methods directly instead of dispatching keys, and a third
asserted nothing. That is why the regression stayed hidden. All three now
dispatch real events, and new specs cover the arrows, Home, End, ArrowLeft
and Escape inside open submenus, a third level, and the `container` case.

Co-authored-by: Aljo Joby <141745680+aljojoby9@users.noreply.github.com>

* Merge the duplicate submenu open branches in Menu

Enter, Space and the RTL-aware enter arrow each opened a submenu through
their own copy of the same sixteen lines. Only the key test differed, so
one guard covers all three.

* Mark Menu submenu triggers as popups on init

A submenu trigger only got `aria-haspopup` when its submenu first opened,
and it never got a starting `aria-expanded`. Assistive technology
therefore gave no hint that a submenu existed until the user had already
opened it.

Set both attributes on every `.submenu > .menu-item` that wraps a nested
`.menu`, at any depth, when the instance is created. A closed menu is
`display: none`, so the triggers enter the accessibility tree only after
the toggle builds the instance, which keeps the lazy data API correct. An
author supplied `aria-expanded` is left alone, for a submenu that must
start open.

* Raise the minified JS budgets by a quarter kilobyte

The keyboard and aria work adds about 190 bytes to each minified bundle,
which left both budgets with roughly a hundred bytes of room. The next
small addition to any component would have failed CI for no reason of its
own. Raise both by one step so the ceiling moves on purpose rather than
during an unrelated review.

---------

Co-authored-by: Aljo Joby <141745680+aljojoby9@users.noreply.github.com>
2026-08-07 20:46:53 -07:00
Mark Otto
fc71f2419a
Add color-scheme utilities so one embed can opt out of dark mode (#42807)
Adds .color-scheme-light, .color-scheme-dark, and .color-scheme-auto so a light-only embed can opt out of dark mode, plus a Color scheme utilities page. Regenerates the utilities metadata, which also restores the dynamic-viewport entries missed by #42800.

Closes #38750
2026-08-07 20:33:58 -07:00
Mark Otto
bb354e8ccc
Move Toast transitions to CSS with @starting-style (#42783)
Toast still used the v4-era show dance: JS toggled `.fade`, forced a
reflow, then juggled `.show`, `.showing`, and a deprecated `.hide` class
to fake an exit animation. Menu, Dialog, and Drawer already express this
in CSS, so Toast was the last component carrying the old pattern.

The fade now lives on `.toast` itself, using `@starting-style` for the
entry state and a discrete `display` transition so the toast stays laid
out while it fades out. JS only toggles `.show`.

Replace the `animation` option with a `.toast-instant` class, matching
`.dialog-instant` and `.drawer-instant`. Alpha is the right time to drop
the `.showing` and `.hide` compatibility classes rather than ship them.
2026-08-06 08:36:39 -07:00
Mark Otto
7c1b6b3f0d
Fix transition tokens so every listed property animates (#42781)
* Emit transition longhands so every listed property animates

The composed `--*-transition` tokens put a property list and one duration
into the `transition` shorthand. In that shorthand the duration binds to
the last property only. A button therefore animated `box-shadow` but left
`color`, `background-color`, and `border-color` at `0s`.

Each component now declares `-property`, `-duration`, and `-timing` tokens.
A new `transition-longhand()` mixin emits the `transition-*` longhands.
Those longhands repeat one duration and easing across the full property
list, and each token stays independently overridable.

This affects buttons, nav links, accordions, form controls, range thumbs,
and floating labels.

* Gate transitions behind prefers-reduced-motion: no-preference

The transition mixins emitted a transition, then switched it off again in a
`prefers-reduced-motion: reduce` query. Each animated rule therefore paid for
an override block. The mixins now emit the transition inside a
`no-preference` query instead, which drops those blocks and shrinks the CSS.

Rules that force `transition: none` stay outside the query. Those rules
disable motion on purpose, so they must reach reduced-motion readers too.
The old guard tested `!= none`, which missed `none !important` because Sass
passes it as a two-item list. `list.index()` catches both spellings.

A browser without support for the media feature now gets no transition. The
migration guide records that trade-off.

Also rename `transition-longhand()` to `transition-props()`.
2026-08-05 13:58:00 -07:00
Mark Otto
1d05588de9
Motion utilities, tokenized component transitions, and animated form controls (#42716)
* Coordinate menu shown/hidden events with the CSS transition

Fire shown.bs.menu and hidden.bs.menu after the enter/exit transition
completes, and keep the menu positioned in place through its close so it
no longer snaps away mid-animation, matching Dialog and Drawer behavior.

* Standardize component transition tokens into duration/timing pairs

Split the fade and collapse tokens into granular -duration/-timing
custom properties and add a shared --transition-timing-overlay easing so
dialog, drawer, menu, carousel, accordion, and the navbar toggler share
consistent, overridable motion.

* Animate checkbox, radio, and switch marks

The check tick, radio dot, and switch thumb now ease in with a shared
overshoot defined by new --control-transition-* tokens, giving the
controls a subtle pop on toggle. Motion is suppressed under
prefers-reduced-motion via the transition mixin.

* Add motion utilities for controlling animation

Introduce .transition-none, .animation-none, .animation-shake, and
.animation-pop, documented on a new Motion utilities page. The
decorative shake and pop keyframes are disabled under
prefers-reduced-motion.

* Add hover-lift helper

.hover-lift raises an element with a transform and shadow on hover and
focus-visible, tuned through --hover-lift-* tokens and suppressed under
prefers-reduced-motion. Documented with a new helper page.

* Add a toolbar actions slot to Example for replaying animations

Example and Code now expose an actions slot rendered in the code
toolbar, and a data-bd-replay handler restarts one-shot animation demos
by re-applying the animation class. Adds an arrow-counterclockwise icon
for the replay control.

* Document motion changes in the migration guide

Note the new motion utilities, animated checkbox/radio/switch marks, the
split fade/collapse transition tokens, the .hover-lift helper, and the
deferred menu shown/hidden events.

* Make the toggler a no-op when no value is provided

Guard against a missing data-bs-value so calling toggle() without a
value returns early instead of throwing, and allow null in the value
type. Adds a regression test.

* Add per-size gap tokens for buttons

Wire .btn-#{size} to a --btn-input-#{size}-gap custom property and define
that token for every size, so button sizes control their own content gap.
Also add a base --btn-input-gap token and read it through --btn-gap, which
replaces the hardcoded fallback in the gap declaration.

* Simplify the CSS layer label in page meta

* Group the radio example under a shared name

Show two radios sharing a name attribute so the form-field example
demonstrates real single-select behavior.
2026-08-05 13:56:06 -07:00
Mark Otto
1a800c1093
Return a promise from the JavaScript lifecycle methods (#42802)
* Remove the Collapse toggle option

The `toggle` option made the constructor change the state that the markup
declares. That surprised people, so almost every caller passed
`toggle: false`. Remove the option and always keep the declared state.
Call `show()`, `hide()`, or `toggle()` to change it.

* Return a promise from the JavaScript lifecycle methods

`show()`, `hide()`, `toggle()`, and `close()` returned before the
transition ended, so a caller had to listen for a `shown.bs.*` or
`hidden.bs.*` event to continue. `_queueCallback` now returns a promise
and each component awaits it, so a caller can `await` the method instead.
The promise always settles, so a no-op call cannot strand the caller.
2026-08-05 12:57:40 -07:00
Mark Otto
7937bb7bfe
Forward config from bootstrap.scss so $utilities is configurable (#42801)
* Forward config from bootstrap.scss so $utilities is configurable

`$utilities` lives in `_config.scss`, which `bootstrap.scss` never
forwarded. Every Sass example on the utilities API page therefore failed
with "This variable was not declared with !default in the @used module".
Forward config, then rewrite the examples around the two working patterns.

* Use the `as *` convention in the utilities API snippets

The `as bs` namespace appears nowhere else in the repo. The docs load
Bootstrap modules with `as *`, so these snippets now do the same. Sass
writes an assignment to an `as *` member back to the source module, so
the two-file pattern still reaches `bootstrap/scss/config`.

* Add a free key to the width example in the utilities API docs

The example said it adds a value, but key `10` already exists at
`10rem`, so the merge replaced it. Key `20` is free, and `20%` matches
the other width percentages. The example now adds `.w-20` and keeps
`.w-10`.
2026-08-05 12:57:18 -07:00
Mark Otto
b6f2284b04
Add a default aria-pressed to toggle buttons (#42797)
`aria-pressed` has no default value. Assistive technology reads a toggle
button without it as a plain button and never announces the pressed state.
Add the missing attribute on `DOMContentLoaded`, and read the `.active`
class to pick the value.
2026-08-05 12:45:26 -07:00
Mark Otto
d91aa13b0b
Remove the Collapse toggle option (#42799)
The `toggle` option made the constructor change the state that the markup
declares. That surprised people, so almost every caller passed
`toggle: false`. Remove the option and always keep the declared state.
Call `show()`, `hide()`, or `toggle()` to change it.
2026-08-05 12:41:08 -07:00
Mark Otto
4e36c0e111
Add dynamic viewport height and width utilities (#42800)
* Add dynamic viewport height and width utilities

A mobile browser changes the viewport when it shows or hides its URL bar,
so a `100vh` section overflows. The `dvh` and `dvw` units follow that
change. Add `.dvh-100`, `.min-dvh-100`, `.dvw-100`, and `.min-dvw-100`.

* Raise the bootstrap-utilities.css bundlewatch limit to 19.0 kB

The new dynamic viewport utilities add 21 bytes gzipped. The old 18.75 kB
limit kept only 13 bytes of space, so the check failed.
2026-08-05 12:40:58 -07:00
Mark Otto
b38d141ce4
Give the navbar a min-height instead of computed heights (#42795)
* Give the navbar a min-height instead of computed heights

v5 derived the brand height from the nav link font size, line height, and
padding. That math no longer matches the v6 navbar, which centers its
children with flexbox. Remove the chain and the stale TODO. Add a
`--navbar-min-height` token, so a default navbar keeps a 3.5rem floor.

* Clean up comments in _navbar.scss

Removed comments for navbar styles to improve clarity.
2026-08-05 12:39:51 -07:00
Mark Otto
d248abccaa Reserve scrollbar space in code blocks
A horizontal scrollbar in a `<pre>` block covers the last line of code.
`scrollbar-gutter: stable` keeps the space free, so the scrollbar cannot
hide content.
2026-08-05 12:12:20 -07:00
Mark Otto
786637213a Let dismiss triggers find responsive drawers
A responsive drawer replaces the `.drawer` base class with a
breakpoint-prefixed class, such as `.lg:drawer`. The `closest()` lookup
matched only the base class, so a close button had to carry an explicit
`data-bs-target`. Match the prefixed class too.
2026-08-05 12:11:57 -07:00
Mark Otto
4ff6ee39e1 Make .form-adorn wrappers focus the input on click
The wrapper looks like an input, so people click the icon, the text, or the
padding and expect the field to take focus. A `<label>` wrapper gives that
behavior natively, so no JavaScript is necessary. Mark the adornments with
`aria-hidden="true"`, so their text stays out of the accessible name.
2026-08-05 12:11:40 -07:00
Mark Otto
4f980b83b5 Remove unused selector engine helpers
`children()` and `focusableChildren()` have no callers in the source or in
the tests. Remove them to keep the module small. `prev()` stays, because
Menu and ScrollSpy still use it.
2026-08-05 12:11:13 -07:00
Mark Otto
7061a9317a
Drop system-ui from the default body font stack (#42780)
system-ui resolves to the user interface font of the locale, not to a
neutral font. On Japanese Windows it becomes Yu Gothic UI, which draws
bold Greek and Simplified Chinese glyphs incorrectly, and which is too
condensed for long text. The keyword is made for application UI, not for
articles.

--body-font-family now uses the full v5 native font stack without
system-ui. Tailwind, Starlight, and VitePress made the same change.

Also point the datepicker and the CSS variables example at
--body-font-family. Both referenced --font-sans-serif, which no v6 file
defines. Remove the semicolon inside the --font-mono string, which made
the build print a duplicate semicolon.

Fixes #42703
2026-08-01 07:48:33 -06:00
Mark Otto
b74e0e49e9
Fix menus with unclickable items inside drawers (#42777) 2026-07-31 21:37:56 -06:00
Mark Otto
e76a2d7247
Fix custom mouse event handler semantics (#42778)
`EventHandler` emulates `mouseenter` and `mouseleave` with `mouseover` and `mouseout`
listeners. The guard that kept the emulation honest read `originalTypeEvent in
customEvents`, which only matches the bare strings. Every component namespaces its
events, so no component ever got the containment check. The guard also wrapped the
caller's callback and stored the wrapper, so removal by reference, deduplication and
one-off bookkeeping all compared against a function the caller never held.

Store the semantic event type on the handler instead, and apply the containment check
inside the handler. This keeps the caller's function identity intact and fixes Carousel
resuming autoplay between slides, Tooltip hiding between children of its trigger, and
Menu leaking a submenu listener on each close.

Co-authored-by: ShiroKSH <kushidashiro@gmail.com>
2026-07-31 21:31:59 -06:00
Mark Otto
e4b4cffe01
Drop Collapse trigger .collapsed state and rely on aria-expanded (#42771) 2026-07-30 08:25:35 -07:00
Mark Otto
0d5f092a94
Add llms.txt files, an AI docs page, and agent skills (#42770)
* Add llms.txt and llms-full.txt for AI tools

Generate /llms.txt (a curated, llmstxt.org-style index of the docs) and
/llms-full.txt (the full docs text concatenated for ingestion) from the
sidebar and docs content, and link both from the install page.

* Add LLMs docs page and agent skills for install and bundler setups

Pull in the getting-started/llms page, the bundler/install agent skills
(bootstrap-v6-install, -npm, -webpack, -parcel, -vite), guide callouts
linking each skill, and the eslint allowance for skill code blocks.

* Refine AI docs page and agent skills

Rename the getting-started page to /getting-started/ai (ai.mdx) and its
sidebar entry to AI. Generate the skills table from each SKILL.md
frontmatter via a new skills lib and SkillsTable shortcode, adding a
guide key to every skill so the table never drifts from the files.

Standardize skill customization on CSS-token overrides ($root-tokens and
$*-tokens), matching the Customize › Sass docs, and note that token names
are authored unprefixed (PostCSS adds the --bs- prefix). Rename workflow
'Phase' to 'Step' throughout, add SRI integrity placeholders to the CDN
snippet, and fix the Vite file-tree box drawing.

* Expand agent skills beyond setup and migration

Agents had guidance for installing Bootstrap and moving off v5, but
nothing for everyday work, so add skills for authoring a component and
its JavaScript, customizing the color system, and generating utilities.
A v4-to-v6 skill covers projects skipping v5 entirely, and the v5-to-v6
skill now points there and fixes its layer list and `$radius` example.

* fix spellcheck

* Update the component JS skill for the TypeScript sources

The skill still described the pre-rebase toolchain: JS sources in js/src, a
js/index.js barrel, Karma, and Jasmine specs. Rewrite it against what is on
v6-dev now — TypeScript sources with the config/field/override conventions the
compiler options force, the js/src/index.ts barrel, the type tests that guard
the shipped declarations, and Vitest browser mode with its Jasmine shim.

TypeScript code blocks in markdown need a parser, so point ESLint at the
TypeScript one for them; the blocks are checked for syntax only.
2026-07-28 15:11:42 -07:00
Mark Otto
61bf477043
Replace Karma with Vitest and finish the Rollup removal (#42764)
* Add "llms" to the cspell dictionary

The llms.txt work fails the spellcheck on a word that is now part of the
project vocabulary.

Unblocks #42728

* Raise browser coverage and derive the build targets from browserslist

The `.browserslistrc` comment claimed about 90.8% coverage, but
`npx browserslist --coverage` measured 77.53%. Two things caused the gap.
The `>=` lines are joined with OR, so they never acted as floors, and
caniuse gives the newest Safari a null release date, which hides roughly
8.2 points of real usage from every range query.

Adding `unreleased versions` recovers that Safari share at zero output
cost, because it is newer than every floor. Lowering the floors to the
true native `light-dark()` boundary reaches about 88% for 1.68 kB of CSS,
all of it `-webkit-backdrop-filter`. We stop there on purpose: the next
rung up drops below native `light-dark()`, where Lightning CSS falls back
to the custom-property polyfill that broke `data-bs-theme`.

Dropping and_uc, and_qq and kaios costs 0.718% and removes the only
reason Autoprefixer emitted `-webkit-mask-*` and `-moz-column-gap`, so
`removeRedundantPrefixes` now only trims the prefixed `transition`
declarations that come from the prefixed thumb selectors.

With the list reduced to an explainable set, `build/browser-targets.mjs`
can resolve it at build time instead of restating the floors by hand.

* Remove the dead BrowserStack integration

The workflow has been `disabled_manually` with zero runs since about
October 2024, so this has not tested anything for well over a year. The
browser matrix pinned Chrome 60, Firefox 60, iOS 12 and Android 8, all
far below the v6 floors, so re-enabling it would only fail on modern
syntax.

Dropping the launcher also removes 34 packages from the lockfile,
including the legacy tunnel wrapper and its unzip stack. The README
credit goes too, since we no longer use the service.

`ip` and `karma-jasmine-html-reporter` stay: `npm run js-debug` still
needs both.

* Port the integration test bundles to Rolldown

Both configs bundle the already-built dist, so no TypeScript is involved
and the switch is mechanical. `@rollup/plugin-replace` becomes
`transform.define`, and node resolution is built in, so the plugin stack
disappears. They now share `build/browser-targets.mjs` with the dist
build instead of carrying their own Babel targets.

Also drops the `js/tests/integration/rollup*.js` glob from the ESLint
config. It never matched anything, because the files are `.mjs`.

* Replace Karma with Vitest browser mode

Vitest 4 ships browser mode as stable, so the specs now run in a real
Chromium through Playwright. The suite drops from about 25 seconds to
under 6, and the runner needs no Rollup or Babel stack of its own.

The specs are written against Jasmine, so `js/tests/vitest-setup.js` maps
that API onto Vitest rather than rewriting roughly 22,000 lines. The one
behaviour that cannot be codemodded is `spyOn`: Jasmine stubs the method,
Vitest calls through, and 92 call sites here rely on the stub. A blind
conversion would leave tests that pass while asserting nothing, so the
shim stubs by default and restores the real method only for
`.and.callThrough()`. hammer-simulator assigns to `event.target`, which
throws in the strict mode a module gets, so it runs through a Function
constructor to keep the sloppy-mode behaviour Karma gave it.

Coverage now instruments all of `js/src` instead of only the files a spec
imports. That is a larger and more honest denominator, and it immediately
showed `combobox.ts` at 0%, so this adds the missing spec. The branch
threshold moves from 89 to 88 to match the new denominator; statements,
functions and lines all still clear 90.

Vitest 4 also removed the `done` callback, so the four remaining
callback-style specs now return a promise.

* Remove Rollup and Babel

Karma was the last thing using them. With the specs on Vitest and the
dist builds and integration bundles on Rolldown, nothing reads
`.babelrc.mjs` or the Rollup TypeScript resolver any more, so both files
and all nine packages go.

Rollup and Babel still appear in the lockfile as transitive dependencies,
because Vite bundles Rollup and the Istanbul coverage provider
instruments through Babel. Neither is ours to configure now.

Also records the deliberate `rolldown` pin. It is exact-pinned while
still release-candidate software, so Dependabot should not move it
without review.

* Replace the aria and datepicker type casts with real types

Nine `as unknown as` casts and seven `as any` casts hid two different
problems behind the same syntax.

Seven of the `as unknown as` casts passed a boolean to `setAttribute`,
which takes a string. A `setAriaAttribute` helper does that conversion in
one place, so callers no longer reach for a cast. The two that remain are
unrelated and stay: one writes to `element.style`, the other is a
not-set config sentinel.

The datepicker casts were bridging Bootstrap's wide `string` and `number`
config types to the narrow literal unions Vanilla Calendar Pro actually
accepts. Narrowing `DatepickerConfig` to those unions removes all seven
and turns an out-of-range value into a compile error instead of a silent
no-op inside the calendar. One assertion survives, where `getMonth()`
returns a number TypeScript cannot prove is 0-11, but it now names the
type it narrows to.

Also deletes the stale `selector-engine.ts` TODO. It claims `next()` is
unused, but `prev()` and `next()` have three call sites each across
`menu.ts`, `scrollspy.ts` and `combobox.ts`, and both are tested.

* Make Tab throw when its element has no tab-panel ancestor

The constructor carried a TODO saying it should throw in v6, and this is
v6. Until now it returned early and handed back an instance that looked
fine but did nothing, so a markup mistake produced tabs that silently
refused to switch.

This is a breaking change for anyone constructing a Tab outside a
`.list-group`, `.nav` or `[role="tablist"]` container. The old test
asserted the silent return by name, so it now asserts the throw instead.

* Cover the remaining plugins in the type-level API tests

`api.ts` and `consumer.ts` only exercised 11 of the 20 plugins, so the
public surface of the other nine was never asserted. Both files now cover
all of them.

The datepicker assertions are the point of this. Four negative cases
check that the narrowed Vanilla Calendar Pro unions reject out-of-range
values such as `firstWeekday: 7` or `displayMonthsCount: 13`. Extending
`consumer.ts` matters more than `api.ts` here, because it reads the
emitted declarations and so proves the unions survive the `.d.ts` emit
rather than widening on the way out.

Also adds a Dialog case for a prevented `show` event, which was an
uncovered branch.

* Document the Vitest and Rolldown switch

`js/tests/README.md` still described Karma and Jasmine, and its paths said
`tests/unit/` where the real path is `js/tests/unit/`. It now covers
Vitest browser mode and calls out the two things that will catch a
contributor out: `spyOn` stubs by default unlike `vi.spyOn`, and Vitest 4
dropped the `done` callback. The coverage section explains why the branch
floor sits at 88 and why an untested plugin now reports 0% instead of
vanishing from the report.

`contribute.mdx` listed Sass, PostCSS and terser but named no JavaScript
bundler at all, so it gains a section on Rolldown and on how
`build/browser-targets.mjs` keeps both pipelines on one browser list.
`migration.mdx` gets the same switch from the consumer's angle, since it
only matters to people who build from source.

`AGENTS.md` is updated to match.

* rebuild

* Exclude the type-assertion tests from CodeQL

`js/tests/types/` holds compile-time assertions. `tsc` checks them and
nothing ever runs or bundles them, so the quality suite's unused-variable
query fires on essentially every line: the typed declaration is the
assertion, and using the variable afterwards would add nothing.

The files were already full of these before this branch. They only became
visible because CodeQL annotates changed lines on a pull request, so
extending the coverage to all 20 plugins lit up 40 notices for a pattern
that was already there.

* Update the browser support docs for the new floors

This branch lowered the browserslist floors, but the browsers and devices
page still reproduced the old ones. It listed Chrome and Edge 130, Firefox
132, and Safari 18, where the real minimums are now Chrome and Edge 123,
Firefox 120, and Safari 17.5.

The rationale was stale in two more ways. It claimed the floors covered
roughly 90% of users, a figure that came from browserslist.dev and its
pinned caniuse data; `npx browserslist --coverage` reports 87%. It also
said we could not lower the floors, which this branch did. Each floor now
sits on the first version of that engine with native `light-dark()`, so
the real constraint is the polyfill that breaks `data-bs-theme`.

Also note that browserslist ORs its lines, because the page implied `last
2 major versions` was the whole policy, and record that we now exclude UC
Browser, QQ Browser, and KaiOS.

* Raise the browser floors to Chrome 130, Firefox 132, and Safari 18

A floor applies to a whole major line. We cannot raise it in a minor
release, so whatever 6.0 ships caps what every later 6.x feature may use.
Earlier in this branch I set the floors on the first versions with native
`light-dark()`, which bought 2.18 points of coverage but left v6.x with
the oldest baseline we could tolerate rather than the one we want.

The low Firefox floor was also wrong on its own terms. `:has()` needs
Firefox 121, so Firefox 120 sat inside our support window and could not
render our forms, which use `:has()` 28 times in validation alone. The new
floors sit on the newest feature v6 already depends on: `:has()` at Firefox
121, `content-visibility` at Firefox 125 and Safari 18, `<details name>` at
Firefox 130, `text-wrap: balance` at Chrome 130, and unprefixed
`backdrop-filter` at Safari 18. `light-dark()` stays the hard lower bound.

Coverage drops from 87.19% to 85.01%. The JavaScript is byte-identical,
because every version in both sets handles the syntax we emit. The CSS
loses the `-webkit-backdrop-filter` copies on the Dialog and Drawer
backdrops, so it fits under the old bundlewatch limit again and this branch
no longer needs to raise it.

* Record what the browser floors buy us

The file already explained which features set each floor. It did not say
what the floors give us in return, so the cost was documented and the
benefit was not. Anyone reading it could see why we cannot go lower without
learning what they may safely use.

Add two lists. The first names the features that need no fallback, prefix,
or polyfill in any 6.x release. The second names the ones we still cannot
use, with the version that blocks each. Firefox is the blocker in almost
every case. Relative color syntax is the closest at Firefox 133, and anchor
positioning is the one worth waiting for, because it would let Menu,
Tooltip, Popover, and Combobox drop Floating UI.

Every version here comes from the caniuse-lite copy in this repo, checked
against the current floors. Comments only, so the resolved target list and
the build output do not change.

* Document the raised browser floors for upgraders

The migration guide never mentioned browser support. That was the largest
gap in it, because v5 supported Chrome and Firefox 60 and Safari 12, while
v6 now needs Chrome and Edge 130, Firefox 132, and Safari 18. A reader with
an older audience cannot adopt v6 at all, and nothing in the guide said so.

Add a warning callout to the upgrade steps rather than a changelog bullet,
because this is a prerequisite to check before starting, not a change to
apply while working. It links to the browsers and devices page for the
reason behind each version.

The approach page embeds `.browserslistrc` in full, so the rationale
comments added in the last commit now render there ahead of the queries.
Point that page at the summary table, so a reader who only wants the
versions does not have to scroll the comments.

* Move the browserslist commentary into the docs

The rationale had grown to roughly 50 comment lines, and the approach page
embeds this file in full, so all of it rendered there ahead of the queries
it was meant to explain. Prose belongs on a page that can format it.

Move the parts the docs did not already cover onto the browsers and devices
page: why `last 2 major versions` carries our mobile coverage, why
`unreleased versions` is worth eight points, how to measure coverage and why
not to trust browserslist.dev, which features the floors do and do not give
us, and which prefixes the excluded engines would add. Leave behind a
pointer to that page and the two rules a person editing the file must not
get wrong.

Both pages now read the query lines out of the file through `fileMatch`
instead of hand-copying them. That is what drifted in the first place: the
page still claimed Chrome 130 and Safari 18 after the floors briefly moved
to 123 and 17.5. The regex is anchored on the first and last query, so a
restructure fails the docs build rather than shipping stale versions.

The resolved target list, the derived oxc targets, and the build output are
all unchanged.
2026-07-28 14:44:00 -07:00
Julien Déramond
15cf3dc5d4
Guard placeholder glow/wave animations behind prefers-reduced-motion (#42768) 2026-07-28 22:40:15 +02:00
Julien Déramond
7d83c392fe
Docs: document the .user-select-text utility (#42767) 2026-07-28 22:05:07 +02:00
Julien Déramond
f39e617d3d
Docs: use <ScssDocs> shortcode for all "Sass utilities API" sections (#42766) 2026-07-28 21:34:11 +02:00
Julien Déramond
0756b55750
Docs: fix text-align Sass utlitie sAPI code snippet sample 2026-07-28 21:00:17 +02:00
Julien Déramond
18e5f9bcdd
Docs: mention the use of .flex-row for .card-body usage (#42765)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2026-07-28 20:47:02 +02:00
Julien Déramond
75da23e2a2
Docs: remove stale pre-v6 version callouts (#42763) 2026-07-28 20:39:49 +02:00
Mark Otto
6acaed1a74
New container queries for CSS grid (#42598)
* New container queries for CSS grid, add new fullscreen demo maybe

* Docs: format ResizableExample.astro with Prettier
2026-07-28 09:30:02 -07:00
Mark Otto
cbb161b4cb
Document .contains-* container-query utilities (#42726)
Add a Container queries page under Utilities > Layout documenting the
.contains-inline and .contains-size utilities (container-type), wire it
into the sidebar, and add scss-docs markers so its Sass API renders.
2026-07-28 09:29:31 -07:00
dependabot[bot]
4b13146d9d
Bump the dependencies with 4 updates (#42761)
Bumps the development-dependencies group with 4 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.5.3` | `10.5.4` |
| [globby](https://github.com/sindresorhus/globby) | `16.2.1` | `16.2.2` |
| [postcss](https://github.com/postcss/postcss) | `8.5.19` | `8.5.21` |
| [prettier](https://github.com/prettier/prettier) | `3.9.5` | `3.9.6` |

Updates `autoprefixer` from 10.5.3 to 10.5.4
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.3...10.5.4)

Updates `globby` from 16.2.1 to 16.2.2
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v16.2.1...v16.2.2)

Updates `postcss` from 8.5.19 to 8.5.21
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.19...8.5.21)

Updates `prettier` from 3.9.5 to 3.9.6
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.5...3.9.6)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-version: 10.5.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: globby
  dependency-version: 16.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.9.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-28 13:12:04 +02:00
dependabot[bot]
f14d231961
Bump the github-actions group with 6 updates (#42762)
Bumps the github-actions group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `7.0.0` | `7.0.1` |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.0` | `4.37.2` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.37.0` | `4.37.2` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.0` | `4.37.2` |
| [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) | `7.5.1` | `7.6.0` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.0` | `4.37.2` |

Updates `actions/checkout` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9c091bb21b...3d3c42e5aa)

Updates `github/codeql-action/init` from 4.37.0 to 4.37.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](99df26d4f1...e0647621c2)

Updates `github/codeql-action/autobuild` from 4.37.0 to 4.37.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](99df26d4f1...e0647621c2)

Updates `github/codeql-action/analyze` from 4.37.0 to 4.37.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](99df26d4f1...e0647621c2)

Updates `release-drafter/release-drafter` from 7.5.1 to 7.6.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](4d75298e00...eada3c96a6)

Updates `github/codeql-action/upload-sarif` from 4.37.0 to 4.37.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](99df26d4f1...e0647621c2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-28 13:01:28 +02:00
Mark Otto
b5a89d6151 rebuild 2026-07-27 23:13:18 -07:00
Mark Otto
c447c2e73d Switch the dist builds from Rollup to Rolldown
Rolldown is Rollup's native-speed successor and already sits in our lockfile
through Vite and Astro, so the docs build uses it today. Moving our dist
builds to it makes bundling about 35x faster and deletes tooling: the
built-in `resolve.extensionAlias` replaces our custom ts-resolve plugin in
this path, and the built-in transforms replace Babel, which applies zero
transforms at our browser floors. Browser targets live in
`build/browser-targets.mjs`; keep them in sync with `.browserslistrc`.

Karma and the integration configs stay on Rollup and Babel until
karma-rolldown-preprocessor ships a fix, so those dependencies remain.

Output stays equivalent: identical exports, verbatim relative specifiers in
js/dist, `process.env.NODE_ENV` replaced in the bundle, banner preserved
through terser, and minified sizes within a fraction of a percent (slightly
smaller). The unminified files change formatting wholesale in the rebuild
commit; their bundlewatch budgets now carry slack that can ratchet down.
2026-07-27 23:13:18 -07:00
Julien Déramond
7eb20386da Migrate navbar examples/tests from collapse to drawer and remove deprecated .navbar-collapse
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-27 23:10:53 -07:00
Julien Déramond
1a568ba4e7 Fix navbar-brand and nav-link ignoring theme-* accent color classes 2026-07-27 23:09:25 -07:00
Mark Otto
9d940d21f3 Auto-generate JS component Dependencies tables
Derive each docs "Dependencies" table from the component's real import
graph (site/src/libs/js-dependencies.ts) via a new <JsDependencies>
shortcode, so the tables stay in sync with the source automatically
instead of being hand-maintained. Add the table to every JavaScript-
backed component page and migrate the existing tooltip, popover, and
menu tables onto the shortcode.
2026-07-27 23:07:53 -07:00
Mark Otto
9377fc7d9f Add TypeScript terms to the cSpell dictionary
v6-dev now spell-checks .ts files. Add the technical terms the migration
introduced: desync, disableable, extensionless, unnamespaced.
2026-07-27 23:04:38 -07:00
Mark Otto
1dae19d67a rebuild 2026-07-27 23:04:38 -07:00
Mark Otto
0f46817eaa Lock the type surface with access modifiers and honest nullability
The migration exposed every component internal as public. Consumers could
reach `_config`, `_element`, and helper methods, which would make them
breaking changes once shipped. Restrict the surface and stop a few types from
lying about nullability.

- Mark every `_`-prefixed instance field and method `protected` across all
  components (409 members). `protected`, not `private`, so subclasses keep
  access. Public API methods and statics stay public. Two carousel data-api
  hooks stay public because the module-level handlers call them.
- Retype `getOrCreateInstance`'s config to `NonNullable<ConstructorParameters<T>[1]>`
  so it still enforces each component's config now that `_config` is protected
  (indexing a protected member on a type parameter is illegal).
- Fix three assert-then-test contradictions found by the review: the `menu`
  submenu-keydown guard, and the `chips`/`otp-input` constructors that asserted
  `findOne(...)!` then tested the result for null. Each now handles the null in
  a local, so the guard is honest and no `!` remains.

The type tests (`api.ts`, `consumer.ts`) now assert consumers cannot reach the
protected internals.
2026-07-27 23:04:38 -07:00
Mark Otto
7a8e251cb5 rebuild 2026-07-27 23:04:38 -07:00
Mark Otto
039004b82f Tighten the public type surface from the review
An adversarial review found the migration's types assert away things the
runtime rejects. Fix the type layer without changing behavior.

- Delete the dead `jQueryInterface` from combobox. v6 removed jQuery, so
  `this.each` does not exist and the method throws; it was unreferenced and
  laundered three `any`s through the compiler.
- Narrow config types to match their runtime validators: tooltip `container`
  drops `null`, datepicker `dateMin`/`dateMax` drop `Date`, and toggler
  `value` drops `null`. Each value passed the type but threw in
  `_typeCheckConfig`.
- Type the static path. `getOrCreateInstance` now types its config per
  component via `Partial<InstanceType<T>['_config']>`, so it enforces the same
  keys as the constructor. This is the path the docs recommend.
- Force Babel to use define semantics for class fields, so it agrees with
  tsconfig `useDefineForClassFields` and Rolldown. No field is emitted today
  (all instance fields use `declare`), so dist is unchanged.

The type tests (`api.ts`, `consumer.ts`) now assert the static config path.
2026-07-27 23:04:38 -07:00
Mark Otto
8938a27910 Add a consumer-facing check of the shipped type declarations
`js/tests/types/consumer.ts` imports through the package name and the deep
subpaths, so Node resolves it through the `exports` map to the emitted
`js/dist/*.d.ts`. This proves downstream projects get working types with no
`@types/bootstrap`, and it fails when a shipped declaration is malformed.
`npm test` runs it as `js-typecheck-dist` after the build.
2026-07-27 23:04:38 -07:00
Mark Otto
26de4a12cc rebuild 2026-07-27 23:04:38 -07:00
Mark Otto
5e5f18da1b Address review findings on the TypeScript migration
Fixes issues a code review found on the migration branch, plus cleanups.

Correctness:
- Menu offset callbacks now work. A callback that returns a `[skidding,
  distance]` array is converted to Floating UI's `{ mainAxis, crossAxis }`
  shape through a shared `toFloatingOffset()` helper. Tooltip and Menu both
  use it, so all three offset forms share one mapping. Menu previously
  ignored an array-returning callback.
- `dispose()` on dialog-base and nav-overflow now removes only the instance's
  own listener. Calling `EventHandler.off()` with no handler removed other
  instances' and consumers' listeners too. Each instance now stores its
  handler and passes it to `off()`.
- chips `remove()` rebuilds the value array from the remaining chips. Values
  now stay in the rendered order when a duplicate is removed.

Packaging:
- The `bootstrap/js/src/*.js` export now maps to the compiled `js/dist` build,
  not the raw `.ts` source, so non-TypeScript consumers can load deep imports.
  The migration guide documents the change.
- The package entry moved to `js/src/index.ts`, so tsc emits its declarations.
  This removes the string-replace hack in `build-plugins.mjs`.

Tooling:
- `js` emits declarations in parallel with the compile and minify chain, so
  minification no longer waits for tsc and the watch loop skips it.
- `moduleResolution: nodenext` makes tsc enforce the `.js` import extensions.
- A `declare ['constructor']` field on Config, BaseComponent, and Tooltip
  replaces about 29 `(this.constructor as typeof X)` casts.
- The offset and floatingConfig option types are shared from util/floating-ui.
2026-07-27 23:04:38 -07:00
Mark Otto
270ae423d7 rebuild 2026-07-27 23:04:38 -07:00
Mark Otto
7b302d60ef Fix component bugs found during the TypeScript migration
- tooltip: compare Floating UI arrow coords against undefined (not null),
  the value the arrow middleware actually reports, so an absent cross-axis
  coordinate no longer writes "undefinedpx"; adapt array results from an
  offset callback to Floating UI's { mainAxis, crossAxis } shape
- dialog: remove the unnamespaced native cancel listener on dispose so it
  no longer leaks past teardown
- nav-overflow: namespace the fallback window resize listener and remove it
  on dispose; drop the write-only _isInitialized flag
- chips: remove only a single value entry so duplicate chips stay in sync
  with the DOM under allowDuplicates
- strength: drop the unused score argument passed to _updateUI
- toggler: document that value is required (the null default is a
  must-override placeholder)

Adds unit coverage for each fix, including a new chips spec.
2026-07-27 23:04:38 -07:00
Mark Otto
6cf60e28b7
Merge pull request #42724 from twbs/issue-42620
Migrate the JavaScript codebase to TypeScript
2026-07-27 22:51:43 -07:00
Julien Déramond
565eee6be4
Expand cSpell coverage to more file types (#42757) 2026-07-28 07:31:46 +02:00
Hashim Khan
c60c9ad276
Fix cropped navbar content when expanded (#42753)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-07-27 20:24:12 +02:00
Julien Déramond
59cee6c163
Fix use of undefined --chip-min-height 2026-07-26 21:15:21 +02:00
Julien Déramond
b266d0f100
Fix undefined --accordion-timing reference in _accordion.scss 2026-07-26 09:46:41 +02:00
Julien Déramond
4f02a5cbe7
Remove duplicate comment in _drawer.css 2026-07-26 09:27:40 +02:00
Julien Déramond
d48ec71d95
Fix hardcoded --bs- prefix in pagination size tokens 2026-07-26 08:35:34 +02:00
dependabot[bot]
3337a0c19d
Bump js-yaml from 5.2.1 to 5.2.2 (#42750)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 5.2.1 to 5.2.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.2.1...5.2.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.2.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-26 07:27:53 +02:00
dependabot[bot]
480c25fb04
Bump svgo from 4.0.1 to 4.0.2 (#42751)
Bumps [svgo](https://github.com/svg/svgo) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](https://github.com/svg/svgo/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: svgo
  dependency-version: 4.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-26 07:22:47 +02:00
Julien Déramond
b7c848df59
Examples: remove unused CSS rules (#42749) 2026-07-25 20:56:14 +02:00
Julien Déramond
8e7ab20e82
Examples: fix stale v5 CSS custom properties and migrate breadcrumb example to v6 divider markup (#42748) 2026-07-25 20:38:50 +02:00
Julien Déramond
19beaf0845
Examples: fix malformed --bs-bs-bs-bs-bs- custom properties in example CSS (#42747) 2026-07-25 20:12:37 +02:00
Julien Déramond
4a79ef789a
Fix dead variables-dark import in dormant SCSS mixin tests (#42746) 2026-07-25 19:44:35 +02:00
Julien Déramond
0847f3ac17
Docs: restore custom ratio override guidance (#42744) 2026-07-25 10:25:27 +02:00
Mark Otto
0ac9597bed rebuild 2026-07-24 14:54:18 -07:00
Mark Otto
cc41d0a263 Migrate the JavaScript source to TypeScript
Sources in js/src plus the package entry are now strict TypeScript.
Babel strips the types so the Rollup pipeline and browser targets stay
unchanged, while tsc only type-checks and emits declaration files next
to the compiled plugins in js/dist. The npm package entry moves to the
compiled js/dist/index.js with bundled types, so consumers get built-in
type declarations without @types/bootstrap.
2026-07-24 14:54:18 -07:00
Julien Déramond
a4803e8014
Examples: add Menus and Drawer navbar to the list, and regenerate all thumbnails 2026-07-24 21:17:38 +02:00
Julien Déramond
6f21358c03
Docs: removed deprecated .spinner-border-sm
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-24 20:44:36 +02:00
Julien Déramond
eaf6e6431d
Docs: replaced deprecated .text-body-emphasis with .fg-emphasis-inverse
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-24 20:38:31 +02:00
Julien Déramond
c048f29e75
Docs: removed deprecated .fs-5 and .fs-6
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 21:18:18 +02:00
Julien Déramond
7b72f8f362
Docs: replaced deprecated .display-6 with .fs-3xl .fw-light
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 21:02:14 +02:00
Julien Déramond
af1e186d02
Docs: replaced deprecated .display-5 with .fs-4xl .fw-light
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 20:59:47 +02:00
Julien Déramond
33c19fd37b
Docs: replaced deprecated .display-4 with .fs-5xl .fw-light
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 20:55:10 +02:00
Julien Déramond
c167ff6f26
Docs: replaced deprecated .border-dark with .border-black
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 19:41:56 +02:00
Julien Déramond
200095d68f
Docs: remove deprecated .bg-light
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 19:37:30 +02:00
Julien Déramond
6b84f8da80
Docs: remove or replaced deprecated .bg-dark with .bg-black
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-23 19:30:28 +02:00
Julien Déramond
b33e596d3c
Examples: fix local execution of JavaScript showing Toast (#42737) 2026-07-22 22:29:48 +02:00
Julien Déramond
606f40c6e1
Docs: remove or replaced deprecated .text-bg-dark with .fg-white
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-22 21:57:58 +02:00
Julien Déramond
2a15de869f
Docs: replace deprecated .bg-body-tertiary with .bg-1
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-22 21:36:49 +02:00
Julien Déramond
17e7452151
Docs: replace deprecated .bg-body-secondary with .bg-2
Spotted in https://github.com/twbs/bootstrap/pull/42487
2026-07-22 21:27:44 +02:00
Julien Déramond
3314d90a99
Docs: remove unused Astro components and associated resources (#42736) 2026-07-22 21:17:21 +02:00
Christian Oliff
67d92016a9
Examples: several fixes (#42608)
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-07-22 20:19:04 +02:00
meenal
b0cc69c62a
Fix duplicate id collisions between icon symbols and heading anchors (#42734) 2026-07-22 10:51:52 -07:00
Mark Otto
b443ebdabe
Tighten install page and npm starter copy (#42730)
Condense the install intro to a single paragraph, move the npm guide
pointer below the install commands, and simplify the npm starter callout
heading.
2026-07-22 10:50:52 -07:00
dependabot[bot]
70b8ffde38
Bump fast-uri from 3.1.2 to 3.1.4 (#42733)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 07:03:24 +02:00
Mark Otto
ec8f980e63
Clean up commented out WebKit form control sizing CSS & docs (#42731)
* Let WebKit date inputs scale with control sizing

Drop the fixed 1.5rem heights on the -webkit-datetime-edit and
-webkit-datetime-edit-fields-wrapper pseudo-elements so date inputs
inherit the control's font-size, line-height, and padding and scale
with the size modifiers. Also remove a stale commented-out variables
block from the form-control docs.

Refs #34433

* Clean up _form-control.scss by removing comments

Removed commented-out styles for date and time inputs.
2026-07-21 21:58:07 -07:00
Mark Otto
c7ccc38470
Redesign docs callout accent band (#42727)
* Redesign docs callout accent band

Replace the inline-start border with an inset rounded accent band via a
::before pseudo-element, add explicit callout text color, and mix the
band color from each variant's border and emphasis colors.

* Docs: tighten npm starter callout copy
2026-07-21 21:47:54 -07:00
dependabot[bot]
de147501f6
Bump engine.io from 6.6.4 to 6.6.9 (#42719)
Bumps [engine.io](https://github.com/socketio/socket.io) from 6.6.4 to 6.6.9.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/engine.io@6.6.4...engine.io@6.6.9)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-version: 6.6.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-21 21:37:59 +02:00
dependabot[bot]
a7ed3bad86
Bump shell-quote from 1.8.4 to 1.10.0 (#42721)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.4 to 1.10.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.4...v1.10.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.10.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-21 21:33:53 +02:00
dependabot[bot]
b607180c0b
Bump the dependencies with 4 updates (#42722)
Bumps the development-dependencies group with 4 updates in the / directory: [autoprefixer](https://github.com/postcss/autoprefixer), [postcss](https://github.com/postcss/postcss), [prettier](https://github.com/prettier/prettier) and [terser](https://github.com/terser/terser).

Updates `autoprefixer` from 10.5.2 to 10.5.3
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.2...10.5.3)

Updates `postcss` from 8.5.16 to 8.5.19
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.16...8.5.19)

Updates `prettier` from 3.9.4 to 3.9.5
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.4...3.9.5)

Updates `terser` from 5.48.0 to 5.49.0
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.48.0...v5.49.0)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-version: 10.5.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.9.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: terser
  dependency-version: 5.49.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-21 21:24:02 +02:00
dependabot[bot]
70d4080437
Bump the github-actions group with 6 updates (#42718)
Bumps the github-actions group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/setup-node](https://github.com/actions/setup-node) | `6.4.0` | `7.0.0` |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.36.3` | `4.37.0` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.36.3` | `4.37.0` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.36.3` | `4.37.0` |
| [actions/stale](https://github.com/actions/stale) | `10.3.0` | `10.4.0` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.36.3` | `4.37.0` |

Updates `actions/setup-node` from 6.4.0 to 7.0.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](48b55a011b...8207627860)

Updates `github/codeql-action/init` from 4.36.3 to 4.37.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](54f647b7e1...99df26d4f1)

Updates `github/codeql-action/autobuild` from 4.36.3 to 4.37.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](54f647b7e1...99df26d4f1)

Updates `github/codeql-action/analyze` from 4.36.3 to 4.37.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](54f647b7e1...99df26d4f1)

Updates `actions/stale` from 10.3.0 to 10.4.0
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](eb5cf3af3a...1e223db275)

Updates `github/codeql-action/upload-sarif` from 4.36.3 to 4.37.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](54f647b7e1...99df26d4f1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/stale
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-21 21:10:54 +02:00
Mark Otto
5b3810f2f9 Update agent directions 2026-07-20 22:13:28 -07:00
Mark Otto
6b3f7cd5f4 rebuild 2026-07-17 09:00:24 -07:00
Mark Otto
2205703573 Match active pagination item border color to its background
Uses --theme-bg for the active .page-link border instead of --theme-border, and drops the now-unused mixins/gradients import.
2026-07-17 08:58:59 -07:00
Mark Otto
e93f42a798 Remove dead CSS Grid code superseded by the utility API
The hardcoded .grid-fill class and commented-out grid-cols/g-col-auto scaffolding in _grid.scss are gone now that grid-template-columns utilities (including grid-cols-subgrid) cover this. Drops the now-broken .g-col-auto example from the docs and calls out grid-cols-subgrid in the migration guide.
2026-07-17 08:58:48 -07:00
Mark Otto
c1d070c107 Rename .lh-base line-height utility to .lh-md
Aligns the line-height utility key with the md step already used by the font-size scale, so --line-height-base becomes --line-height-md.
2026-07-17 08:58:30 -07:00
Mark Otto
7064961b31 Generate .grid-cols-subgrid through the utilities API
Moves the hand-written subgrid class into the grid-column-counts
utility alongside the other .grid-cols-* classes, so it is produced
the same way as the rest of our utilities, and documents it with a
live example.

Fixes #42649
2026-07-17 08:48:41 -07:00
Mark Otto
3816596404 No gradient on active pagination item 2026-07-17 08:15:34 -07:00
Mark Otto
018711271c Remove --font-size-base in favor of --body-font-size
The token was only referenced by a handful of components as an
indirect fallback and had no corresponding entry in _root.scss,
making it effectively dead and impossible to override. Point those
fallbacks at --body-font-size instead and document the removal in
the migration guide.

Fixes #42624
2026-07-17 08:10:13 -07:00
Mark Otto
aa582128db Rebuild 2026-07-16 21:55:39 -07:00
Mark Otto
1286dc3b42
Redo z-index execution (#42607)
* Refactor how we do zindex

- Move to a combined Sass map
- Generate tokens on the root for all values
- Update components to use CSS variables instead

* generate utils info

* fix
2026-07-16 21:45:31 -07:00
Mark Otto
e32b71a678 Resolve some todos 2026-07-16 21:38:24 -07:00
Mark Otto
bcaff54f40
Add theme variant support to pagination (#42702)
Colors links, hover, focus, and the active page item via .theme-{color}
classes, matching the pattern already used by alerts and accordions.
Adds a docs example and updates the migration guide.
2026-07-16 21:38:01 -07:00
Mark Otto
4ceb246a43
Finish moving Sass variables to CSS custom property tokens (#42701)
* Consolidate font-weight variables into a $font-weights Sass map

Individual $font-weight-lighter/light/normal/medium/semibold/bold/bolder
variables made it easy to forget one when adding a new weight and kept
the values duplicated across _config.scss, _root.scss, and the
utilities API. Move them into a single $font-weights map so --font-weight-*
tokens and the fw-* utilities are generated from one source, matching
the pattern already used for $font-sizes.

* Replace line-height Sass variables with CSS custom properties

$line-height-base/sm/lg duplicated values already exposed as
--line-height-* tokens (generated from $font-sizes). Point the
line-height utilities and --body-line-height at the CSS variables
instead of the Sass variables so there's one source of truth and
runtime overrides of --line-height-* also affect the utility classes.

* Remove $headings-color Sass variable

It was the last Sass variable left in the heading/type system after
the rest moved to CSS custom properties, and it only ever had one
value (inherit). Hardcode --heading-color: inherit directly in
$root-tokens instead so headings customization is fully CSS-variable
driven, matching paragraphs, lists, and legend.

* Remove $link-decoration and $link-underline-offset Sass variables

Both had a single fixed value and existed only to be interpolated into
--link-decoration and --link-underline-offset once, in $root-tokens.
Hardcode the values there directly instead, simplify the list-group
item's text-decoration to plain `none` (it no longer needs to branch
on $link-decoration), and drop the stray commented-out
$enable-negative-margins default and leftover dead comments in Reboot.

* Config: remove orphaned Typography comment header, fix spacing

* Move transition variables into component tokens

$transition-fade and $transition-collapse/$transition-collapse-width
lived in _config.scss like other component tokens used to before the
tokens migration, but .fade and .collapsing never picked up the
--fade-*/--collapse-* token treatment. Give them their own
$fade-tokens and $collapse-tokens (via defaults()) in _transitions.scss
so --transition-fade, --transition-collapse, and
--transition-collapse-width are runtime-customizable CSS variables
like the rest of the component tokens. $transition-base moves into
mixins/_transition.scss, next to the mixin that uses it as a fallback.
2026-07-16 21:11:19 -07:00
Mark Otto
00c3cbb54c
Tokenize icon-link and stretched-link helpers (#42696)
* Convert icon-link and stretched-link variables to Sass token maps

Move the icon-link and stretched-link Sass variables out of _config.scss
and into component-scoped token maps, generating scoped CSS custom
properties instead. Updates each helper docs page to document the new
CSS variables.

* Fix icon-link underline color referencing a nonexistent v5 variable

.icon-link relied on the removed --link-color-rgb and --link-opacity
variables, so its underline never picked up custom link colors. Use
color-mix() against --link-color instead.
2026-07-16 21:10:41 -07:00
Mark Otto
a5ea45c2fd
Fix underline-opacity utility composition with themed colors (#42697)
underline-opacity hardcoded --link-color, so pairing it with a themed
underline-color utility (or hovering) reset the underline back to the
link color instead of fading the intended theme color. Route
underline-color through a shared --underline-color custom property,
same pattern as our bg/fg/border opacity utilities, and have
underline-opacity read from it with currentcolor as a fallback.
2026-07-16 19:58:41 -07:00
Mark Otto
1a0c06eb7e missing entry 2026-07-16 19:58:22 -07:00
Mark Otto
542893c96a rebuild dist 2026-07-16 19:53:25 -07:00
Mark Otto
44b6fac777 bump 2026-07-16 19:53:22 -07:00
Mark Otto
16a401672b
Add layered shadows, shadow theme variant utilities, shadow-xs, and keyline border width. (#42675)
* Add keyline (.5px) border width

* Add layered shadow system with color, opacity, and strength tokens

* Docs: document shadow color, opacity, and the new .shadow-xl size

* Docs: add keyline example to border width utilities

* Docs: use keyline borders on header menus and search input

* Add --box-shadow-xs token and .shadow-xs utility

Introduce a smaller box shadow between the existing default and sm sizes,
and expose it through the shadow utilities.

* cspell

* Scope shadow color and opacity to non-inheriting local vars

Shadow color and opacity utilities now compose through local --sc/--so
variables (like --bc for border-color) instead of setting --shadow-color
and --shadow-opacity directly, so .shadow-{color} and .shadow-opacity-*
no longer leak into nested .shadow-* descendants. The $shadows map
(scss/_config.scss) reads var(--sc, var(--shadow-color)) and
var(--so, 1), keeping --shadow-color/--shadow-strength as the
cascading global defaults. Removes the now-unused at-property utility
key since no utility needs the cascading opt-out anymore.

Updates the shadows docs with a nested-elements example and callout,
and adds a migration guide entry.

* format

* fix
2026-07-16 19:52:34 -07:00
Mark Otto
a1a96c6db7
Split _type.scss into separate partials, add CSS tokens to more type styles (#42700)
* Port typography Sass variables to CSS custom properties

Move heading, paragraph, description list, and legend styling from
build-time Sass variables to a runtime `$type-tokens` map alongside
their consumer in `_reboot.scss`, and tokenize related hardcoded
margin/padding values against the `--spacer-*` scale. Also split
`_type.scss` into `_lists.scss` and `_blockquote.scss`, and relocate
`.initialism` next to `abbr` in Reboot, so each partial only defines
and consumes its own tokens.

* bump bw
2026-07-16 19:52:22 -07:00
Mark Otto
fcfd9bda1d rebuild dist 2026-07-16 19:47:22 -07:00
Mark Otto
205c7c027b change 2026-07-16 19:46:54 -07:00
Mark Otto
c6eaf580dc
v6: More component tweaks (accordion, spinner, badge, button) (#42676) 2026-07-16 18:22:13 -07:00
Mark Otto
9b3eeb70a2
Docs: fix stale ScssDocs in colors and background utility pages (#42698)
Uncomment and repoint the ScssDocs references that predate the v6
color/theme refactor (they pointed at markers removed from
scss/_config.scss). Cross-link to the Color and Theme customize docs
instead of duplicating the $colors/$theme-colors Sass maps that are
already documented there in full.
2026-07-16 13:23:27 -07:00
Thomas Landauer
c0c114662b
Docs: fix typo in Navs & Tabs page (#42678) 2026-07-16 07:18:29 +02:00
Julien Déramond
baedc88ae0
Fix compiled banner version and wire the live banner into change-version.mjs (#42670) 2026-07-14 20:21:11 -07:00
Julien Déramond
d5a9ccaf03
Docs: add 'Browsers & devices' page documenting the support policy (#42671) 2026-07-14 20:19:59 -07:00
Mark Otto
7fa0280e55
v6: Simple homepage (#42672)
* New, simpler homepage for v6

* comment out for now

* linter
2026-07-14 12:16:47 -07:00
Mark Otto
13be2fa9e2 Rebuild 2026-07-14 12:13:55 -07:00
Mark Otto
bf32c142b5
v6: Prevent border-color utility inheritance, harden other utilities (#42669)
* Update utility API to prevent border-color inheritance, write custom @property rules

* fix fg var
2026-07-14 09:48:48 -07:00
dependabot[bot]
14a2771a0e
Bump the dependencies with 4 updates (#42665)
Bumps the development-dependencies group with 4 updates in the / directory: [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark), [@stackblitz/sdk](https://github.com/stackblitz/sdk), [globby](https://github.com/sindresorhus/globby) and [js-yaml](https://github.com/nodeca/js-yaml).

Updates `@astrojs/markdown-remark` from 7.2.0 to 7.2.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.2.1/packages/markdown/remark)

Updates `@stackblitz/sdk` from 1.11.0 to 1.11.1
- [Changelog](https://github.com/stackblitz/sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stackblitz/sdk/commits)

Updates `globby` from 16.2.0 to 16.2.1
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v16.2.0...v16.2.1)

Updates `js-yaml` from 5.2.0 to 5.2.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.2.0...5.2.1)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@stackblitz/sdk"
  dependency-version: 1.11.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: globby
  dependency-version: 16.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: js-yaml
  dependency-version: 5.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 18:04:56 +02:00
dependabot[bot]
2ca8f0ad0c
Bump the github-actions group with 4 updates (#42666)
Bumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8aad20d150...54f647b7e1)

Updates `github/codeql-action/autobuild` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8aad20d150...54f647b7e1)

Updates `github/codeql-action/analyze` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8aad20d150...54f647b7e1)

Updates `github/codeql-action/upload-sarif` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8aad20d150...54f647b7e1)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 17:55:40 +02:00
Mark Otto
35102ff102
Docs: fix and expand customize/getting-started pages (#42609)
- css-variables: drop the redundant dark mode root-variables section, note
  light-dark() resolution, add a component-token override example, remove the
  stale v5.2.0 reference
- javascript: remove the duplicate React example callout
- migration: mention the v5-to-v6 migration skill for AI coding agents
- color-modes: document the actual v6 mechanism (light-dark() + color-scheme):
  system preference by default with data-bs-theme override, and correct the
  $color-mode-type default (media-query)
- components: write the Theme variants section (--bs-theme-* tokens, .theme-*
  classes, usage examples)
- rtl: highlight the changed line in Required HTML; restore the border around
  the live demo by wrapping it in bd-code-snippet
- optimize: add a lean-Sass commented-import example, clarify the lean-JS
  side-effect import, and replace the Unused CSS stub with a working PurgeCSS
  setup for static HTML
2026-07-14 08:30:09 -07:00
Julien Déramond
b111b59cee
Docs: add missing v6 breaking changes to migration guide (#42658) 2026-07-13 12:21:19 -07:00
Mark Otto
45d5f60277
Datepicker: populate input with preselected dates on load (#42628)
Fixes #42616

Input and button datepickers are only created on focus/click, so
data-bs-selected-dates never showed up until you interacted with the
field. Only inline datepickers were auto-initialized on load.

Extend the DOMContentLoaded auto-init to also cover any datepicker with
preselected dates so the value renders immediately.
2026-07-12 21:01:17 -07:00
Mark Otto
240a6dea88
Drawer: fix double scrollbar on responsive/modal drawers (#42629)
Reset the native <dialog> UA `overflow: auto` (which made the dialog
itself a scroll container) and add `min-height: 0` to `.drawer-body`
so only the body scrolls. Previously the dialog and body each showed
a scrollbar when drawer content overflowed (e.g. the docs mobile nav).
2026-07-12 21:00:46 -07:00
Julien Déramond
a940821157
Docs: rewrite the color customization docs (#42660) 2026-07-12 20:44:40 -07:00
Julien Déramond
5b6809ab85
Docs: write the 'Theme variants' section in the components customization docs (#42659) 2026-07-12 20:43:04 -07:00
Julien Déramond
c18d34c382
Unify TODOs comments (#42641) 2026-07-11 18:30:24 +02:00
Julien Déramond
32141e0903
Docs: fix negative margin mention in migration guide (#42640) 2026-07-11 17:55:15 +02:00
dependabot[bot]
df7372a40a
Bump the dependencies with 3 updates (#42626)
Bumps the development-dependencies group with 3 updates in the / directory: [autoprefixer](https://github.com/postcss/autoprefixer), [postcss](https://github.com/postcss/postcss) and [prettier](https://github.com/prettier/prettier).

Updates `autoprefixer` from 10.5.1 to 10.5.2
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.1...10.5.2)

Updates `postcss` from 8.5.15 to 8.5.16
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.15...8.5.16)

Updates `prettier` from 3.8.4 to 3.9.4
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.4...3.9.4)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-version: 10.5.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-version: 8.5.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.9.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-08 18:25:07 +02:00
Mark Otto
b6449e0d25 Rebuild dist 2026-07-08 08:08:18 -07:00
dependabot[bot]
3200d35d23
Bump release-drafter/release-drafter from 7.4.0 to 7.5.1 (#42627)
Bumps the github-actions group with 1 update: [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter).


Updates `release-drafter/release-drafter` from 7.4.0 to 7.5.1
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](ed4bc48ec9...4d75298e00)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-08 09:23:26 +02:00
Mark Otto
b6a334132c
OTP: fix click-to-focus and overwrite-on-retype (#42524)
* OtpInput: fix click-to-focus and overwrite-on-retype

The single-input rewrite left two interaction gaps: clicking a slot
didn't position the caret there (slots had pointer-events: none and
focus always jumped to the end), and retyping inserted instead of
overwriting, so preceding digits shifted along.

Keep the single accessible input but make its interaction faithful to
the input-otp model:

- Represent the active slot as a selection range so the next keystroke
  overwrites a filled slot or appends to an empty one
- Intercept single-char typing and backspace via beforeinput for
  overwrite semantics; paste/autofill/IME still flow through input
- Make slots clickable (pointerdown) to position the caret, clamped to
  the first empty slot
- Land focus on the first empty slot instead of the end; track the caret
  with a document selectionchange listener

* bump bundlewatch

* OTP: focus the input natively on tap to fix iPadOS keyboard dismiss

The slots overlaid the input with pointer-events: none and the JS called
input.focus() programmatically after preventDefault()-ing the tap. On
iPadOS that raises the on-screen keyboard then dismisses it instantly,
because the keyboard must be raised by a genuine, un-prevented gesture on
the input itself.

Let the input receive taps (pointer-events: auto) so focus — and the
keyboard — come from the native gesture. Map the tap's x-coordinate to a
slot and set the caret in the focus handler once focus settles; when
already focused, reposition immediately (preventDefault is safe then).

Reported on iPadOS 26/27 by @coliff.

* Bump bundlewatch

* OtpInput: cover tap-to-focus, beforeinput, and caret behavior

Adds unit tests for the native tap-to-focus (iPadOS keyboard) fix,
beforeinput overwrite/backspace/append semantics, tap clamping, paste
caret placement, selectionchange sync, the public focus() method, and
beforeinput listener cleanup on dispose. Brings branch coverage back
above the 89% threshold.
2026-07-03 20:49:42 -07:00
Mark Otto
35b7b080a6
v6 Responsive drawer fix (#42619)
* Fix responsive drawer close example

* Copy tweak, fix placeholder to generate CloseButton props properly

---------

Co-authored-by: Ishaan Kapur <64529428+ishaanlabs-gg@users.noreply.github.com>
2026-07-02 21:46:25 -07:00
Mark Otto
7d317d6523 Fixes #42614, removes overflow hidden i added 2026-07-02 21:38:31 -07:00
Mark Otto
6f14fb5706 npm i 2026-07-02 21:32:59 -07:00
Mark Otto
15f17673eb Rebuild dist 2026-07-01 11:17:57 -07:00
Mark Otto
d4b4f53870
More docs cleanup (#42610)
* v6: Preserve component radii after bumping $radius to 1rem

Changing the default $radius from .5rem to 1rem doubled every step in the
$radii scale. Remap component and root radius token references down the
scale so their absolute radii stay the same (--radius-5 -> --radius-3,
--radius-7 -> --radius-4, --radius-9 -> --radius-7), and align the
border-radius mixin defaults. The $radii map and .rounded-* utilities are
intentionally left on the new base so opt-in utilities become rounder.

* Revert "v6: Preserve component radii after bumping $radius to 1rem"

This reverts commit 2408a015a3.

* Add --box-shadow-xs token and .shadow-xs utility

Introduce a smaller box shadow between the existing default and sm sizes,
and expose it through the shadow utilities.

* Docs: collapse page meta dependencies into a count with tooltip

Replace the inline list of dependency links with a single count that
reveals the full list on hover, and drop the now-unused .bd-page-meta
styles.

* Docs: shrink the table of contents as the footer scrolls into view

Add a small docs helper that tracks how far the footer overlaps the
viewport and exposes it as --bd-toc-footer-overlap, so the sticky TOC
height shrinks instead of sliding under the footer.

* Docs: refine example snippet and ad styling

Tokenize the example radius via --bd-example-radius, give resizable
examples an inset preview with a shadow-xs container, and simplify the
Carbon ad wrapper.

* Rebuild dist

Regenerate compiled CSS and JS to pick up the new --box-shadow-xs token
and resync the distributed bundles with source.

* Revert "Rebuild dist"

This reverts commit ecc1f7f847.
2026-07-01 11:00:59 -07:00
Mark Otto
410d229f9f
ScrollSpy: deterministic active-section detection (#42557)
* ScrollSpy: deterministic active-section detection

Replace the scroll-direction + sequential-offsetTop heuristic (which
depended on IntersectionObserver entry order and mis-highlighted when
several sections shared the viewport) with a deterministic geometric
model: the active section is the deepest one whose top has scrolled to
or above an activation line near the top of the scroll root, read fresh
from getBoundingClientRect on each (rAF-throttled) scroll. At the bottom
the last section wins; above the first nothing is active.

Also: settle on scrollend (with a scroll-idle fallback) to restore the
URL hash via replaceState and move focus to the target after a
smooth-scroll navigation; escape section ids via parseSelector so dotted
/special-character ids no longer throw; add a topMargin option for the
activation line.

Supersedes #41016. Fixes #37858, #39198, #39248, #36387, #40526.

* docs wip

* rewrite more, add debugger to docs to illustrate

* missing test file

* ScrollSpy: fix CI — cspell, bundlewatch, branch coverage

- Add 'Fpath' to the cspell dictionary (from the #%2Fpath encoded-id example)
- Bump the four JS bundlewatch thresholds for the rewritten ScrollSpy
- Add option-derived activation-line tests (topMargin %/px, derived rootMargin
  with/without a scroll root, non-numeric topMargin, explicit rootMargin,
  overflow state, observer rebuild no-op, resize listener add/remove) to lift
  branch coverage from 88.63% back over the 89% threshold (now 89.21%)

* Skill: add ScrollSpy migration section to match the guide

Mirror the migration.mdx ScrollSpy changelog in the migration skill:
IntersectionObserver rewrite / activation line, removed offset+method
options, new topMargin, rootMargin default null, threshold default [0],
smoothScroll hash+focus restore, and getElementById id resolution.
Keeps the skill and guide consistent as this PR lands ScrollSpy.
2026-07-01 10:57:56 -07:00
Mark Otto
872ca2ca04
Clean up Dialog & Dialog CSS (#42604)
* Match border inside dialog to outside

* darken dark backdrop

* Fix drawer up, hook up drawer-sheet modifier
2026-06-30 17:41:54 -07:00
Mark Otto
4a1bf18b49
Fix iframe color-scheme behavior (#42605)
* Fix iframe color-scheme behavior

* Docs: remove double blank line before iframe color-scheme section (MD012)
2026-06-30 16:20:42 -07:00
Christian Oliff
7be9b680b3
v6 docs: various fixes (#42600) 2026-06-30 16:12:35 -07:00
Julien Déramond
2dd2ed059c
Docs: change remaining .link-body-emphasis usages (#42573) 2026-06-30 21:41:10 +02:00
Julien Déramond
b0341895fd
Docs: replace deprecated .lead with .fs-lg .fw-light in homepage and examples (#42574) 2026-06-30 21:37:50 +02:00
dependabot[bot]
cd5ffc3b79
Bump dependencies with 2 updates (#42606)
Bumps the development-dependencies group with 2 updates in the / directory: [autoprefixer](https://github.com/postcss/autoprefixer) and [rollup](https://github.com/rollup/rollup).

Updates `autoprefixer` from 10.5.0 to 10.5.1
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.5.0...10.5.1)

Updates `rollup` from 4.62.0 to 4.62.2
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.62.0...v4.62.2)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-version: 10.5.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: rollup
  dependency-version: 4.62.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-30 21:29:04 +02:00
dependabot[bot]
ad24b94ed2
Bump js-yaml from 5.1.0 to 5.2.0 (#42603)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 5.1.0 to 5.2.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/5.1.0...5.2.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.2.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-30 21:22:45 +02:00
Mark Otto
e0fc520728
More MD linting (#42601)
* lint more

* fix the linter issues
2026-06-29 16:06:53 -07:00
Mark Otto
edad21d0cb
Add CLAUDE.md (#42160)
* Add a claude file

* Docs: route CLAUDE.md to a tool-agnostic AGENTS.md

Rename the agent guide to AGENTS.md (the emerging cross-tool convention
used by Copilot, Cursor, Codex, etc.) and leave CLAUDE.md as a one-line
`@AGENTS.md` pointer so Claude Code keeps working without duplicating
content. Heading made tool-agnostic.
2026-06-28 13:59:52 -07:00
Mark Otto
b392688631
Add a skill for v5 for v6 migration (#42349)
* wip

* Skill: correct v5→v6 migration guide and add new-component coverage

- Close button: keep the empty .btn-close (CSS-mask icon over currentcolor);
  drop the wrong 'add a child SVG' instruction that double-rendered the icon,
  and note .btn-close-white is gone (set text color instead)
- Border radius: remove the fabricated $border-radius-2xl rename; document the
  real $radius base + $radii map (0-9) + --radius-* tokens
- Font sizes: note lg+ are fluid clamp() values (not exact rems) and list the
  full xs-6xl scale
- Add a 'Rebuilt behavior & new components' section: carousel→scroll-snap with
  opt-in autoplay, scrollspy→IntersectionObserver, the new components
  (combobox, chips, datepicker, range, strength, otp-input, nav-overflow,
  toggler), util/backdrop.js removal, CSS @layer, and --bs-*-rgb removal
- Extend the Phase 6 grep checklist for all of the above

* Skill: align migration guide with migration.mdx changelog

- Remove the 'ScrollSpy → IntersectionObserver' note: v5 (5.2+) already used
  IntersectionObserver, so it's not a v5→v6 change (the docs changelog omits it)
- Expand carousel coverage to match the changelog: ride→autoplay, wrap→ends,
  removed control/caption/dark/stacked classes, .carousel-overlay requirement,
  control-icon renames
- Add the remaining new components (submenu, stepper, avatar, form-adorn, prose)
- Note the .rounded-* remap + --radius-pill, and link-*→underline-* utilities
- Extend the Phase 6 grep list accordingly

* Docs: fix self-contradictory border-radius migration note

The Sass deprecation list said to use `$border-radius-2xl`, but the
Utilities section (and the source) removed the whole `$border-radius-*`
family in favor of the `$radii` map / `--radius-*` tokens. Point the
note there instead.

* Docs: note removal of focustrap and scrollbar utilities

#42595 removed util/focustrap.js and util/scrollbar.js (dead code after
the native <dialog> Dialog/Drawer rewrite). Record them alongside the
existing util/backdrop removal in both the migration skill and the
migration guide changelog.

* Fix CI on migration docs: lint, spelling

- Split the v5/v6 namespace-vs-import example into two code fences so the
  duplicate `const tooltip` no longer trips eslint's no-redeclare, and add
  the blank line after the import
- Add currentcolor, Datepicker, focustrap, oklab, oklch to the cspell
  dictionary; reword 'inerting' and 'Unlayered' to avoid coined words
2026-06-28 13:59:31 -07:00
Mark Otto
6fcaabd702
Prevent .DS_Store in our zip files (#42123)
* Remove .DS_Store from dist building

* fix

* Build: exclude .DS_Store via zip -x instead of deleting files

Use zip's own `-x "*.DS_Store"` exclude in both the examples zip and the
release-zip script, rather than finding and removing files first. Cleaner
(doesn't mutate dist), and fixes the eslint error from filtering inside a
for…of loop header.
2026-06-28 13:59:04 -07:00
Claudio B.
766af22f0f
v6: Remove extra bottom border on card navigation nav-tabs (#42571)
* v6: Remove extra bottom border on card navigation nav-tabs

Adding navigation to a card’s header with the current v6 adds an extra border which is visible in the documentation, see https://v6-dev--twbs-bootstrap.netlify.app/docs/6.0/components/card/#navigation

<img width="1834" height="766" alt="Image" src="https://github.com/user-attachments/assets/2b87d10f-1cf5-4a74-a2df-047a55ae0fb9" />

This commit removes the extra border.

* Update scss/_card.scss

Co-authored-by: Mark Otto <markdotto@gmail.com>

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-06-28 08:42:28 -07:00
Mark Otto
b06cb33fb5
Remove unused FocusTrap and ScrollBarHelper utilities (#42595)
Both became dead code with the Modal->Dialog / Offcanvas->Drawer rewrite:
the native <dialog> element provides the focus trap and top-layer
inerting, and the scroll lock is now :root.dialog-open in CSS. Nothing in
js/src imports either utility and neither is part of the public bundle
export — only their own unit specs referenced them.

Removes the source modules, their committed dist builds, and their specs.
2026-06-28 08:37:02 -07:00
Julien Déramond
4df3861692
Move postcss-prefix-custom-properties from peerDependencies to devDependencies (#42592) 2026-06-28 08:33:52 -07:00
Julien Déramond
a4644d5b8b
Docs: fix and restore live code snippet updates in interactive playgrounds (#42593) 2026-06-28 08:33:33 -07:00
Julien Déramond
55d22aa46f
Docs: fix Shiki dark mode rendering (#42591) 2026-06-28 10:44:06 +02:00
Mark Otto
947f1127f3
Sanitizer: block data:/vbscript: URLs (XSS hardening) (#42549)
* Sanitizer: block data:/vbscript: URLs in allowed attributes

The sanitizer's SAFE_URL_PATTERN only rejected javascript:, so a
data:text/html (or vbscript:) URL in an href/src passed the allowList —
an XSS vector via data-bs-title/data-bs-content. Reject data: and
vbscript: in SAFE_URL_PATTERN and re-allow only safe base64 image/video/
audio data URLs via a restored DATA_URL_PATTERN. Fixes #42443.

* Bump bundlewatch size thresholds

* Sanitizer: drop redundant 0-9 from base64 data-URI char class

\d already matches 0-9, so the explicit 0-9 in the same class was dead
weight. Functionally identical; clears the CodeQL overly-permissive-range
alert on the overlap.

* Build: bump bundle.js bundlewatch threshold for sanitizer additions
2026-06-27 19:29:41 -07:00
Julien Déramond
74ba7b17f7
Bump ESLint-related dependencies (#42578)
- eslint: 10.4.1 → 10.5.0
- eslint-config-xo: 0.52.0 → 0.53.2
- eslint-plugin-unicorn: 64.0.0 → 68.0.0
2026-06-27 08:11:22 +02:00
Julien Déramond
19a2327624
Bump markdownlint-cli from 0.48.0 to 0.49.0 2026-06-27 07:37:26 +02:00
Julien Déramond
d2f031096d
Bump sharp from 0.34.5 to 0.35.2 2026-06-27 07:36:26 +02:00
Julien Déramond
bfdc6cb770
Bump sass from 1.100.0 to 1.101.0 2026-06-27 07:35:19 +02:00
Julien Déramond
86bbc4468d
Bump playwright from 1.60.0 to 1.61.0 2026-06-27 07:34:23 +02:00
Julien Déramond
206463ba1e
Bump html-validate from 11.4.0 to 11.5.3 2026-06-27 07:32:21 +02:00
Julien Déramond
77650bd0eb
Bump cspell from 10.0.0 to 10.0.1 2026-06-27 07:30:58 +02:00
Julien Déramond
08e5b04e61
Upgrade to Astro v7 and remove astro-auto-import (#42576) 2026-06-27 07:26:53 +02:00
Julien Déramond
69f2db966f
Add missing hammer-simulator to .ncurc.json 2026-06-27 06:20:57 +02:00
Mark Otto
f28f6cc37b
Menu/Popover: setContent show gate + forms-in-menu auto-close (#42551)
* Popover/Tooltip: allow showing content set only via setContent()

show() gated on _isWithContent(), which read config title/content and
ignored content supplied through setContent(). A popover whose content
was set only via setContent() could therefore never be shown. Count
setContent() content in the gate via a shared _hasNewContent() helper.
Fixes #40525.

* Menu: keep open when clicking inside a form within the menu

clearMenus only skipped auto-close for input/select/option/textarea/form
tag names, so clicking a form's label/button/etc. inside a menu closed it
— breaking the documented forms-in-menu example. Skip auto-close for any
click inside a form contained in the menu. Fixes #41803.

* Bump bundlewatch size thresholds
2026-06-26 20:27:24 -07:00
Mark Otto
9d8019f77d
Tests: fix dialog/drawer dispose-while-open scroll-lock assertions (#42575)
* Tests: assert dialog-open on documentElement in dispose-while-open specs

The dispose-while-open specs added in #42544 asserted the scroll-lock
class on document.body, but #42545 moved the lock to the root element
(documentElement). The two changes were each green in isolation but
broke once both landed on v6-dev. Align these specs with the rest of
the suite, which already asserts on documentElement.

* Build: bump bundlewatch thresholds for cumulative JS growth on v6-dev

bootstrap.bundle.js (83.15KB) and bootstrap.js (54.39KB) now exceed the
prior thresholds after the dialog/drawer/tooltip/popover/menu fixes
landed; each PR bumped only relative to its own base.
2026-06-26 20:24:43 -07:00
Mark Otto
ab187653b1
Docs: navbar menu buttons, menu JS toggle, delegated tooltips (#42552)
* Docs: use <button> for navbar menu toggles instead of <a href="#">

A menu toggle is a button, not a link. Replace the navbar dropdown
toggles' `<a href="#" role="button">` with semantic `<button>`
(.nav-link already resets button styling). Fixes #40995.

* Docs: show how to open/close/toggle a menu via the JS API

The Via JavaScript section only showed instantiation. Add an example
using getOrCreateInstance().show()/hide()/toggle(). Fixes #37042.

* Docs: document delegated tooltips via the selector option

Add an example initializing one Tooltip on a parent with the selector
option to cover many (and dynamically-added) triggers. Fixes #41020.
2026-06-26 20:16:06 -07:00
Mark Otto
180a522930
Tooltip/Popover: fix prevented-show lockout and boolean title/content (#42548)
* Tooltip/Popover: reset hover state when show is prevented

A prevented (or not-in-DOM) show() returned early without clearing
_isHovered, leaving it stuck true. For click-triggered tips that made
every later click hit the _enter() early-return, so the tip never
reopened after one preventDefault(). Reset _isHovered on the early
return. Fixes #39861.

* Tooltip/Popover: coerce boolean title/content to strings

data-bs-title="true" / data-bs-content="false" are auto-converted to
booleans by the data-API, which failed the (null|string|element|function)
type check and threw. Extend the existing number-to-string coercion in
_configAfterMerge to booleans. Fixes #41925.

* Bump bundlewatch size thresholds
2026-06-26 20:15:56 -07:00
Mark Otto
a6bf087a99
Tab: ignore modifier+arrow shortcuts; docs: menu Escape behavior (#42553)
* Tab: don't hijack modifier+arrow keyboard shortcuts

_keydown preventDefault'd arrow keys regardless of modifiers, so
Alt+Left/Right (browser history nav) and similar shortcuts were
swallowed inside a tablist. Ignore the event when alt/ctrl/meta is
held. Fixes #38565.

* Docs: clarify Escape behavior in menu auto-close section

Esc closes the menu while focus is within it (regardless of autoClose)
and returns focus to the toggle. Fixes #38035.

* Bump bundlewatch size thresholds
2026-06-26 20:15:34 -07:00
Mark Otto
9ec7e77cd2
Tooltip/Popover/Menu: small fixes (contenteditable, arrow color, docs) (#42550)
* Menu: don't hijack arrow keys inside contenteditable elements

The keydown handler only exempted <input>/<textarea>, so arrow keys were
captured (and preventDefault'd) inside contenteditable hosts like rich-text
editors. Treat contenteditable targets like inputs. Fixes #41021.

* Popover: match bottom arrow fill to header background

A bottom-placed popover with a header had its arrow filled with
--popover-bg, so it didn't match the header it points into. Use
--popover-header-bg for the arrow when a header follows. Fixes #40993.

* Docs: clarify tooltip/popover title/content function arguments

The function receives the attached element as its first argument (and as
its this reference), not just this. Fixes #40571.

* Bump bundlewatch size thresholds
2026-06-26 20:15:31 -07:00
Mark Otto
4d08db13bf
Dialog/Drawer: lock scroll on the root element to prevent layout shift (#42545)
* Dialog/Drawer: lock scroll on the root element to prevent layout shift

Apply the dialog-open scroll-lock (overflow: hidden) to the root <html>
element instead of <body>, so it sits on the same element as
scrollbar-gutter: stable. Co-locating them keeps the gutter reserved
while the scrollbar is hidden, so the page no longer shifts (and the
::backdrop covers the gutter instead of leaving a white strip) when a
dialog or drawer opens. Fixes #39221, #39972, #40908, #40659.

* Bump bundlewatch size thresholds
2026-06-26 20:15:07 -07:00
Mark Otto
aa27369931
Dialog/Drawer: fix focus-restore scroll and dispose-while-open cleanup (#42544)
* Dialog/Drawer: don't scroll the page when restoring focus on close

Pass { preventScroll: true } when returning focus to the trigger after
close, so the page no longer jumps to the trigger (or to the top when
scroll-padding-top is set). Fixes #38070, #41615, #35391.

* Dialog/Drawer: restore body scroll when disposed while open

dispose() now closes the native <dialog> and removes the dialog-open
body class if the instance is torn down while still open (e.g. an SPA
route change), instead of leaving overflow: hidden stuck on the body.
Fixes #35934, #39910.

* Bump bundlewatch size thresholds
2026-06-26 20:14:40 -07:00
Julien Déramond
c654bab5b5
Docs: modify remaining .link-offset-* to .underline-offset-* usage (#42572) 2026-06-26 20:07:39 +02:00
Christian Oliff
5d7ac0ddc5
docs: clarify form-adorn usage and input type (#42547) 2026-06-26 09:02:18 -07:00
Julien Déramond
70a530b20a
Examples: use <code> instead of backticks for Jumbotron example 2026-06-26 06:55:21 +02:00
Christian Oliff
3d98da41e6
Examples: remove unused .text-small and replace deprecated utilities (#42455)
Update multiple example pages to new utility naming and tokens for consistency. Replaced legacy text-*/display-*/bg-* classes with fg-*/fs-* and bg-subtle-* variants, adjusted spacing and radii (p-5 → p-9, rounded-3 → rounded-5), removed redundant text-small classes, and applied small/fg-white tweaks where appropriate. Files changed: checkout, headers, jumbotron, pricing, product, and sidebars examples to align markup with the updated design system.

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-06-26 06:40:10 +02:00
Julien Déramond
15b26000b3
Docs: modify remaining .bg-{color}-subtle to .bg-subtle-{color} usage (#42564) 2026-06-26 06:10:45 +02:00
Julien Déramond
140115affe
Docs: remove unused CalloutDeprecatedDarkVariants and DeprecatedIn shortcodes (#42563) 2026-06-26 05:52:00 +02:00
Julien Déramond
0ad1675720
Fix JavaScript visual tests using bootstrap instance (#42562) 2026-06-25 22:11:43 +02:00
dependabot[bot]
9c832d56f2
Bump actions/checkout from 6.0.3 to 7.0.0 (#42561)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).

Updates `actions/checkout` from 6.0.3 to 7.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](df4cb1c069...9c091bb21b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-25 21:31:23 +02:00
Julien Déramond
e3345e79a5
Pin @babel/* dependencies to 7.29.7 (#42560) 2026-06-25 21:19:34 +02:00
Julien Déramond
a3a9eaa8ef
Bump npm-rul-all2 from 9.0.1 to 9.0.2 2026-06-25 20:57:04 +02:00
Julien Déramond
95c8832a56
Bump rollup from 4.61.1 to 4.62.0 (#42558) 2026-06-25 20:54:31 +02:00
Julien Déramond
026080511f
Bump js-yaml from 4.2.0 to 5.1.0 (#42555) 2026-06-25 20:28:35 +02:00
Julien Déramond
8b0db61d8b
Bump Node in .nvmrc from 24.17.0 to 24.18.0 2026-06-25 19:55:25 +02:00
Mark Otto
a938045579 dist 2026-06-24 15:55:52 -07:00
Mark Otto
d1c2750ce9
Floating labels: place label before control for screen readers (#42539)
Floating labels required the control to precede the `<label>` in the DOM
so the floating animation could use a sibling (`~`) selector. That order
made screen readers (e.g. NVDA) announce the label after the field's
value instead of before it.

Switch the SCSS to look forward with `:has()` so the `<label>` can come
first in the DOM while the CSS still reacts to the control's state
(focus, value, disabled, autofill). Reorder all examples, docs, and the
visual test to label-first markup to match.

Also give `.form-control-plaintext` its own copy of the control tokens so
its `var(--control-*)` references resolve, fixing phantom borders and
label misalignment.

Fixes #41362
2026-06-23 10:27:23 -07:00
dependabot[bot]
f53f302c8c
Bump release-drafter/release-drafter from 7.3.1 to 7.4.0 (#42542)
Bumps the github-actions group with 1 update: [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter).


Updates `release-drafter/release-drafter` from 7.3.1 to 7.4.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](693d20e7c1...ed4bc48ec9)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-23 13:48:45 +02:00
Mark Otto
b5a618663e
Add Range plugin for track fill, value bubble, and tick marks (#42525)
* Add Range plugin for track fill, value bubble, and tick marks

Adds an opt-in JavaScript plugin (`data-bs-range`) that enhances
`<input type="range">`. A consistent cross-browser fill can't be done
with pseudo-elements alone (only Firefox has `::-moz-range-progress`),
so the plugin publishes the current value as a `--bs-range-value`
custom property that the track gradient consumes.

- Fill: colored track up to the thumb, themeable via `--range-fill-bg`
- Value bubble (`data-bs-bubble`): floating value that tracks the thumb
- Tick marks (`data-bs-ticks`): generated from a linked `<datalist>`

The bubble and ticks are siblings of the input, so they don't inherit
the input's `--range-fill-bg`; the plugin copies the resolved value onto
them and the CSS falls back to `--primary-base` so they're never blank.

Plain `.form-range` inputs are untouched. Includes unit tests and docs.

* Range: anchor positioning on .form-range and rename track fill token

- Make `.form-range` the positioning context (`position: relative`) and
  drop the JS-added `.range-anchored` class; the bubble and ticks are
  siblings of the input, so they already share its offset parent.
- Rename `--range-fill-bg` to `--range-track-fill-bg` for accuracy.
- Keep SCSS custom properties unprefixed (the build adds `--bs-`) and
  have the plugin read/write the prefixed names, matching the codebase.
- Trim obvious comments.

* Bump bundlewatch JS size limits for the Range plugin

* Range: make it a JS component with a wrapper, consolidate the CSS

Restructure range as an always-JS component so the fill, value bubble,
and tick marks are driven by a single `--bs-range-fill` ratio in CSS.

- `.form-range` is now a wrapper that owns the tokens; the input takes
  `.form-range-input`. Children inherit the tokens, so the old JS color
  copying and px positioning are gone.
- The plugin only sets `--bs-range-fill` (0–1) and the bubble text; the
  track gradient, bubble position, and tick positions are pure CSS calc.
  Drops `_thumbWidth`, `_inheritFillColor`, the resize listener, and the
  `.range-anchored` class.
- Value bubble reuses the tooltip markup/styles instead of duplicating a
  pill and arrow. Tick marks are generated from the linked `<datalist>`
  and positioned per-value (handles uneven values); tick coloring dropped.
- Auto-inits every `.form-range`; rename fill token to
  `--range-track-fill-bg`.
- Validation moves to `.form-range-input` with a `:has()` feedback toggle.
- Add the "New" badge to the Range sidebar item and document the breaking
  changes in the migration guide.

* Range: lay out tick marks with CSS grid instead of absolute positioning

Build `grid-template-columns` from the gaps between the datalist values
so each tick lands on a grid line — this handles unevenly-spaced values
just like the old per-tick calc did, but keeps the ticks and their labels
in normal flow (the container sizes to fit the labels instead of them
overflowing an absolutely-positioned box). Inset by half the thumb so the
end ticks align with the thumb travel.

Also wraps the token map in the `custom-property-no-missing-var-function`
stylelint disable (matching _strength.scss). Includes the disabled-track
fill styling.

* Nudge bundlewatch JS limits after rebasing onto v6-dev

* fix bubble, grid, ticks, and more

* comment
2026-06-22 10:51:31 -07:00
Mark Otto
6381aa5477
Menus: support nested toggles and fix submenu position flash (#42533)
* fix that

* update
2026-06-20 21:59:54 -07:00
Mark Otto
be60e6a499
feat(a11y): use list-style-type "" instead of list-style none (#42526)
In Safari, "list-style: none" removes the list semantic role, so lists are
no longer announced by screen readers. Using "list-style-type: \"\"" keeps the
same visual result while preserving the list role.

Ports twbs/bootstrap#41778 to v6, plus the new v6 list containers (stepper,
menu, docs search results). Summary marker removals (accordion header,
details summary) are intentionally left as "list-style: none".
2026-06-20 21:52:17 -07:00
Julien Déramond
b3fd1b9a53
Drop deprecated .card-link remaining usage (#42529) 2026-06-20 13:58:05 -07:00
Julien Déramond
d8b8bf9fb8
Docs: remove mentions of deprecated .btn-primary and .btn-success (#42535) 2026-06-20 13:57:46 -07:00
Julien Déramond
f4819cd43c
Drop deprecated .modal-backdrop class, and unused util/backdrop.js (#42538) 2026-06-20 13:57:31 -07:00
Julien Déramond
84d7d9c13f
Drop deprecated .table-primary and .table-dark remaining usage (#42537) 2026-06-20 20:40:37 +02:00
Julien Déramond
c05a55aabd
Drop deprecated .m-{breakpoint} remaining usage (#42536) 2026-06-20 20:18:42 +02:00
Julien Déramond
09dab53194
Bump Node in .nvmrc from 24.16.0 to 24.17.0 2026-06-20 20:11:10 +02:00
Julien Déramond
f7c14ab58b
Drop deprecated .col-{breakpoint} remaining usage (#42534) 2026-06-20 19:52:20 +02:00
Julien Déramond
7ea96c9cff
Drop deprecated .dropup remaining usage (#42532) 2026-06-20 09:24:33 +02:00
Julien Déramond
493f3f8ce3
Fix visual JavaScript tests to load bootstrap.bundle.js as a module (#42531) 2026-06-20 08:58:27 +02:00
Julien Déramond
25126da069
Drop deprecated .navbar-dark remaining usage (#42530) 2026-06-20 08:42:17 +02:00
Mark Otto
abf965cd96
V6 more form fixes (#42523)
* fix switch disabled checked

* fix selector for select bg

* fix radio disabled

* match disabled demos

* autocomplete off for date inputs

* fix floating label custom height

* fix disabled
2026-06-17 20:54:48 -07:00
Julien Déramond
54e0af072d
Drop deprecated .alert-dismissible remaining usage (#42520) 2026-06-17 19:31:36 -07:00
Mark Otto
539070b718
Convert list group and card group to container queries (#42512)
* Convert list group and card group to container queries

Replace viewport media queries with container queries for the responsive
.*:list-group-horizontal variants and the .card-group row layout, using the
existing container-breakpoint-up mixins. Both now respond to the width of a
parent query container (e.g., .contains-inline) rather than the viewport.

Update the docs to reflect the new behavior, flip css_media to container, and
list both components under the container queries guide.

* Document container query migration for card group and list group

* Fix doubled card-group borders by overlapping adjacent cards

The v6 border model moved borders off the outer .card onto the inner
segments (.card-header, .card-body, .card-list, .card-footer) and the card
images use outlines. The card-group seam code still removed border-inline-start
from .card, which no longer has a border, so adjacent cards rendered doubled
borders at every seam (body, header, and footer).

Pull each subsequent card back by one border width with a negative inline
margin so its leading edges overlap the previous card's trailing edge,
collapsing every seam into a single line.

* Fix doubled border between card body and footer

A middle .card-body/.card-list draws a bottom border to divide itself from the
next segment, but .card-footer draws a full border including its top edge, so
the shared seam rendered as a doubled border whenever a footer followed a body
that wasn't the first child (e.g. image + body + footer, or header + body +
footer). Drop the body/list bottom border when a footer immediately follows so
the footer owns that divider.

* Add icon, fix some copy

* fix
2026-06-17 19:31:20 -07:00
Mark Otto
1f6bdf8c64
Dispose existing instance when a component is re-instantiated on an element (#42509)
Re-creating a component on an element that already has one (e.g. `new
Toast(el)` twice) silently overwrote the instances registry, orphaning the
previous instance with its event listeners and timers still attached. Dispose
the existing instance before registering the new one so it is cleaned up
instead of leaking, while keeping `getInstance()` returning the latest instance.

Also guard `_queueCallback` so a transition completion callback is skipped once
the instance has been disposed, preventing the `this._element is null` error
when `dispose()` is called mid-transition.

Closes #37245
Closes #41473
2026-06-17 19:25:44 -07:00
Mark Otto
2d4078e551
Carousel: fix Safari zoom scroll overshoot with a JS-driven slide animation (#42506)
Under Safari page zoom, programmatic smooth scrolls (scrollBy/scrollTo with
behavior smooth) mis-scale and overshoot the target: a one-slide jump sails
well past it and the restored scroll-snap visibly yanks the slide back. This
happens whether or not snapping is suspended during the scroll, so no
snap-configuration tweak avoids it - native smooth scrolling driven by user
gestures is fine, but any programmatic smooth scroll is affected.

Replace the native smooth scroll + settle-watcher with a JS-driven rAF
animation (_animateScroll): step scrollLeft to the target over SCROLL_DURATION
(300ms) with an ease-in-out cubic, using instant scrolls per frame. This
sidesteps Safari's bug entirely and gives every programmatic jump (prev/next,
indicators, wrap, and the seamless loop) a consistent duration. Reduced motion
and the no-requestAnimationFrame path jump straight to target.

Removes the now-unneeded _restoreSnapWhenSettled/_afterScrollSettles
overshoot-detection machinery. Reworks the unit tests to the new seam and adds
coverage for the animator: eased stepping, frame cancellation, reduced motion,
and the no-rAF fallback.
2026-06-17 19:20:58 -07:00
Julien Déramond
9516581656
Use min/max width to prevent Close button collapsing in flex containers (#42518) 2026-06-17 16:53:10 -07:00
dependabot[bot]
75cde2bd61
Build(deps-dev): Bump form-data from 4.0.5 to 4.0.6 (#42516)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-16 15:23:25 +02:00
dependabot[bot]
dcadf7b373
Build(deps-dev): Bump dependencies with 3 updates (#42517)
Bumps the development-dependencies group with 3 updates in the / directory: [jasmine](https://github.com/jasmine/jasmine-npm), [prettier](https://github.com/prettier/prettier) and [rollup](https://github.com/rollup/rollup).

Updates `jasmine` from 6.2.0 to 6.3.0
- [Release notes](https://github.com/jasmine/jasmine-npm/releases)
- [Changelog](https://github.com/jasmine/jasmine-npm/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine-npm/compare/v6.2.0...v6.3.0)

Updates `prettier` from 3.8.3 to 3.8.4
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.8.4)

Updates `rollup` from 4.61.0 to 4.61.1
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.61.0...v4.61.1)

---
updated-dependencies:
- dependency-name: jasmine
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: prettier
  dependency-version: 3.8.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: rollup
  dependency-version: 4.61.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-16 15:16:46 +02:00
dependabot[bot]
8cf4649d4d
Build(deps): Bump github/codeql-action from 4.36.1 to 4.36.2 (#42515)
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 4.36.1 to 4.36.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](87557b9c84...8aad20d150)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-16 15:01:25 +02:00
Mark Otto
e8e09f79be
Re-run dist with latest browser support, plus some fixes (#42505)
* Rebuild dist with latest changes

* Remove unused carousel items utils

* Prevent duplicate mask properties with webkit prefix that is unnecessary

* Remove unused stacked submenu code

* Clean up some incomplete sizing

* Remove more redundant shit
2026-06-11 21:24:29 -07:00
Mark Otto
8a39ec4fb6
Allow dismissing tooltips and popovers with the Escape key (#42472)
* Allow dismissing tooltips and popovers with the Escape key

* update
2026-06-11 11:57:03 -07:00
Mark Otto
d5869be328
Rework OTP input as a single accessible input with rendered slots (#42500)
* Rework OTP input as a single accessible input with rendered slots

Rebuild the OTP component around one real <input> rendered as separate
digit slots (the input-otp/shadcn model) so assistive tech, password
managers, and SMS autofill treat it as a single field — addressing the
accessibility feedback in twbs/discussions#42486.

- Replace the six-input markup and per-digit aria-labels with one labelled input
- Add a type option (numeric/alphanumeric/alpha) and glyph-based masking
- Make length a real option (falls back to maxlength); add groups/separator
- Standardize naming on bs.otpInput; events complete.bs.otpInput /
  input.bs.otpInput now expose event.value
- Move validation styling onto the rendered .otp-slot elements
- Rewrite docs and unit tests for the single-input model

* Fix bundlewatch sizes and cspell dictionary for OTP input

- Bump bundlewatch maxSize thresholds to account for the OTP component
- Add "autofilled" to the cspell dictionary used in the OTP docs

* bump bundle
2026-06-11 09:56:38 -07:00
Mark Otto
65a486cef5
Fix dark mode on built site by bumping browserslist (#42471)
* Fix dark mode on built site by avoiding Lightning CSS light-dark() polyfill

Lightning CSS was lowering native light-dark() to a --lightningcss-light/dark
custom-property toggle because our browserslist floors predated native support.
That polyfill breaks data-bs-theme dark mode on the minified (production) CSS,
so dark examples rendered light on Netlify while working in dev.

- Bump browserslist floors to the first versions with native light-dark()
  (Chrome/Edge 123, Safari/iOS 17.5; Firefox 121 already covered)
- Exclude Features.LightDark in css-minify as a guard against regressions

* Update .browserslistrc for browser support and comments

Removed comment about CSS light-dark polyfill and updated browser support.

* Bump browserslist floors to Chrome/Edge 130, Firefox 132, Safari/iOS 18

Raises support floors as far as possible while keeping ~90.8% global
coverage, staying on versions with native light-dark() so Lightning CSS
does no polyfilling.
2026-06-11 09:48:28 -07:00
Mark Otto
816e144119
Carousel: scroll-snap rebuild, opt-in autoplay, play/pause, and UI redesign (#42484)
* Make carousel autoplay opt-in via boolean `autoplay` option

Replace the `ride` option with a boolean `autoplay` option (default
`false`), so carousels are static by default and only autoplay when
explicitly opted in with `data-bs-autoplay="true"`.

This removes the confusing `ride="true"` behavior that started
autoplaying only after the first user interaction, and the cryptic
`ride="carousel"` string value. Addresses the first two points of #32649.

* Stop carousel autoplay on interaction and add play/pause control

Address the WCAG 2.2.2 (Pause, Stop, Hide) concern in #32649.

Behavior: once a user takes control of an autoplaying carousel — clicking
a control or indicator, using the keyboard, or swiping — autoplay stops
for good instead of resuming, respecting their intent. A new runtime
`_playing` flag tracks autoplay intent and gates `_maybeEnableCycle()`.

Control: add a `.carousel-control-play-pause` button as the discoverable
pause/stop mechanism WCAG actually requires (a hover-only pause does not
qualify). It toggles autoplay, reflects state by swapping its icon (via
pause-fill/play-fill CSS mask icons) and `aria-label`, and can also start
autoplay on an otherwise static carousel.

Includes unit tests, SCSS tokens/styles with dark-mode support, docs, and
a migration note.

* Rebuild carousel on CSS scroll snap

Replace the float/translateX engine and custom swipe handler with a native
horizontal scroll-snap container. Sliding, touch dragging, momentum, and
keyboard scrolling now come from the browser; JavaScript only layers on
autoplay, the prev/next/indicator controls, and active-slide syncing via an
IntersectionObserver.

This unlocks features the old engine couldn't do, all via CSS custom
properties on `.carousel`:

- Multiple slides per view (`--carousel-items`) with responsive
  `.carousel-items-*` utilities
- Peek of adjacent slides (`--carousel-peek`) and gaps (`--carousel-gap`)
- Variable-width slides (`.carousel-auto`) and center mode (`.carousel-center`)

`.carousel-fade` becomes a stacked-opacity mode that upgrades to a View
Transition where supported. `touch: false` now applies `touch-action: pan-y`.
The markup, public JS API, and slide/slid events are preserved; the
transitional `.carousel-item-{start,end,next,prev}` classes and the
`.carousel.pointer-event` helper are removed.

Includes a full unit-test rewrite, SCSS engine, docs with multi-item/peek/
variable-width examples, and a migration entry.

* Add carousel stacked layout and dot indicator variants

Rename the per-slide layout tokens for clarity and add new layout options:

- `--carousel-peek` -> `--carousel-items-peek`, `--carousel-gap` ->
  `--carousel-items-gap` (both now carry a length unit so they're safe inside
  the flex-basis `calc()`)
- New `--carousel-gap` for spacing the stacked layout's rows
- New `.carousel-stacked` layout (controls outside the inner viewport, above or
  below) and `.carousel-indicators-dots` round indicator style
- Fix the `.carousel-item` flex-basis so the peek isn't subtracted twice (the
  `padding-inline` already insets the content box)

* Add carousel `ends` option (stop/wrap/loop) and robust scroll navigation

Replace the `wrap` boolean with an `ends` option taking `stop`, `wrap`
(default), or `loop`:

- `stop` disables the prev/next controls at each end (moving focus to the
  opposite control first, so focus is never lost)
- `wrap` jumps from the last slide back to the first (and vice versa)
- `loop` continues seamlessly into a transient clone of the destination slide,
  then teleports to the real one with no visible backward jump (single-slide
  scroll layouts only; otherwise falls back to `wrap`)

Rework programmatic navigation to scroll the viewport directly with `scrollBy`
instead of `scrollIntoView`, suspending scroll-snap for the duration and
restoring it once the scroll settles. This fixes multi-slide jumps (indicator
clicks, reaching the last slide) that `scroll-snap-stop: always` previously
clamped to one slide, avoids yanking the page to an off-screen carousel, and
works in RTL. Navigation steps are now measured from the live scroll position
so a stale active index can't make a control silently no-op.

Includes unit tests covering the ends modes, the loop transition, end-control
disabling, and the scroll-settle behavior.

* Document carousel end behavior, stacked layout, and indicator variants

Add docs and examples for the new stacked carousels (top, bottom, and with
dot indicators), the `ends` option (wrap/stop/loop) under a new "End behavior"
section, and refresh the options table and intro for the scroll-snap model.

* Redesign carousel controls, indicators, and layout

- `.carousel` is now a flex column by default (controls/indicators sit in the
  flow above or below the slides); overlaying them on top of the slides moves
  to a new `.carousel-overlay` modifier.
- Rename the control-icon classes to `.carousel-icon-{prev,next,pause,play}`,
  painted with `currentcolor` so they inherit the surrounding text/button color
  and work inside `.btn-*`. `.carousel-control-play-pause` is now just a
  behavior hook that shows the matching glyph via `.paused`.
- Redesign indicators as pills: the active one widens, and while autoplaying it
  fills like a progress bar over the slide's interval
  (`carousel-indicator-progress` keyframes driven by `--carousel-interval`).
- Remove `.carousel-caption` and its `--carousel-caption-*` tokens.

* Add carousel autoplay progress, drop `touch` option and View Transitions

- While cycling, toggle a `.carousel-playing` class and expose the wait as
  `--carousel-interval` so CSS can animate the active indicator's progress
  fill. Schedule each tick from the slide being navigated *to*, so per-item
  `data-bs-interval`s don't lag a slide behind.
- Remove the `touch` option: horizontal dragging is part of the native
  scroll-snap container, so there's nothing left for JavaScript to toggle.
- Fade is now a plain CSS opacity crossfade; drop the View Transition path,
  which double-animated against the CSS transition and visibly stuttered.

* Update carousel docs, examples, and fixtures for the redesign

Switch the docs examples, homepage/cheatsheet examples, and test fixtures to
`.carousel-overlay` + `.carousel-icon-*` and drop `.carousel-caption`. Document
the stacked-by-default layout, the `.carousel-overlay` modifier, the renamed
control-icon classes, the autoplay progress indicator, and the removed `touch`
option and captions in the migration guide.

* fix bundlewatch

* Fix MDX emphasis-style lint error in migration guide

* Default carousel `ends` to `loop`

Change the default end behavior from `wrap` to `loop`, so carousels scroll
seamlessly past the ends by default (falling back to `wrap` where seamless
looping doesn't apply). Tests that exercise the wrap jump now request it
explicitly.

* Clean up carousel styles and refresh docs

- Remove the legacy `--carousel-control-*` tokens and the entire
  `carousel-dark-*` token map / `.carousel-dark` block and dark color-mode
  rule; dark styling now rides on `light-dark()` in `.carousel-overlay`.
- Flip RTL prev/next icons with `transform: scaleX(-1)` instead of swapping
  mask images, and drop the dead commented-out overlay rules.
- Drop the now-unused `colors` and `color-mode` Sass imports.
- Docs: lead the end-behavior section with `loop` (the new default), rework
  the dark example onto `.carousel-overlay-controls` + `.btn-*` controls, and
  round the slide corners.

* Remove unused `$enable-dark-mode` Sass flag

Its last consumer was the carousel's dark color-mode block, now removed in
favor of `light-dark()`, so the flag is no longer referenced anywhere.

* Clean up carousel autoplay timer and listeners on dispose

Clear the pending autoplay timer in `dispose()` so a queued tick can't fire
after teardown and throw on the now-null `_element`, and remove the
`pointerdown` listener bound to the viewport (`.carousel-inner`)—which
`super.dispose()` doesn't cover, since it only drops listeners on `_element`.
Adds tests for both.

* Simplify carousel active indicator tokens

Drop the `--carousel-indicator-active-width` and `--carousel-indicator-active-bg`
tokens, which only carried `null` fallbacks, and inline their values directly on
the active indicator.

* Use button controls in carousel examples, fixtures, and docs

Replace the removed `.carousel-control-prev`/`.carousel-control-next` classes
with `.btn-icon btn-sm` buttons across the docs examples, homepage and cheatsheet
examples, and JS test fixtures. Also drop the leftover `.carousel-indicators-dots`
class and the obsolete "Custom transition" docs section, and correct the
peek/gap token names (`--carousel-items-peek`/`-gap`) in the migration guide.

* Remove `$enable-dark-mode` from the customization docs

Follow-up to removing the now-unused flag: drop its row from the global options
table and the sentence about disabling dark mode via Sass.

* Bump JS bundlewatch size limits for the carousel rewrite

* Harden carousel navigation, looping, and autoplay edge cases

Audit fixes:
- Measure the "current" slide in `to()` from the live scroll position
  (`_navIndex()`) rather than the async `_activeIndex`, so an indicator/control
  used mid-scroll compares against where the viewport actually rests.
- Validate the `ends` option in `_configAfterMerge`, falling back to the
  default (`loop`) for unknown values so navigation and end-control logic agree.
- Strip ids from the entire cloned subtree during a loop transition, not just
  the clone root, to avoid duplicate ids while the clone is on screen.
- Sync the active slide and fire `slid` after a programmatic scroll settles
  when no IntersectionObserver is available.
- Stop autoplay at the last slide under `ends: 'stop'` instead of re-arming a
  timer that can never advance.

Adds tests for each, plus hover-pause and dispose-mid-loop coverage.

* Remove unused `--carousel-indicator-opacity` token

The redesigned pill indicators no longer fade via opacity, so the token has no
remaining consumers.

* Expand carousel docs, examples, and migration notes

- Document the `ends` option, the removed `.carousel-control-*` / `.carousel-dark`
  classes and v5 tokens, and the removed `$enable-dark-mode` flag in the
  migration guide.
- Clarify the `.active` starting-slide and indicator notes, theme the overlay
  example controls (`.btn-subtle .theme-secondary`), rework the per-item
  interval example with a play/pause control, and sharpen the `slid` event
  description.
- Add a play/pause control to the integration fixture, and fix a corrupted
  custom-property reference in the homepage carousel example CSS.

* Bump JS bundlewatch limits for carousel audit fixes
2026-06-11 09:46:59 -07:00
Julien Déramond
965b6065d2
Add .fg-reset text utility (#42495) 2026-06-11 07:21:38 +02:00
Julien Déramond
082effe80c
Docs: fix 'Icon link > Sass utilities API' example (#42498) 2026-06-10 21:04:26 +02:00
Julien Déramond
e33c48b7d6
Replaced deprecated .text-light remaining usage by .fg-body 2026-06-10 20:48:13 +02:00
Julien Déramond
edbe5154fe
Drop deprecated .text-muted remaining usage (#42496) 2026-06-10 20:21:22 +02:00
Julien Déramond
3accfd6b95
Drop deprecated .has-validation remaining usage (#42494) 2026-06-10 19:43:31 +02:00
dependabot[bot]
82b040e9f7
Build(deps-dev): Bump shell-quote from 1.8.3 to 1.8.4 (#42493)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.3 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 22:12:10 +02:00
dependabot[bot]
f158c7ff30
Build(deps-dev): Bump dependencies with 2 updates (#42491)
Bumps the development-dependencies group with 2 updates in the / directory: [js-yaml](https://github.com/nodeca/js-yaml) and [rollup](https://github.com/rollup/rollup).

Updates `js-yaml` from 4.1.1 to 4.2.0
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/commits)

Updates `rollup` from 4.60.4 to 4.61.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.60.4...v4.61.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: rollup
  dependency-version: 4.61.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 22:04:01 +02:00
dependabot[bot]
3b1fe5bb11
Build(deps): Bump the github-actions group with 2 updates (#42492)
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [github/codeql-action](https://github.com/github/codeql-action).

Updates `actions/checkout` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](de0fac2e45...df4cb1c069)

Updates `github/codeql-action` from 4.36.0 to 4.36.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7211b7c807...87557b9c84)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.36.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 21:45:25 +02:00
Julien Déramond
580b7b1385
Replaced deprecated .bg-opacity-* remaining usage by .bg-* (#42490) 2026-06-08 21:17:08 +02:00
Julien Déramond
1d136bfa69
Drop deprecated .accordion-collapse remaining usage (#42489) 2026-06-08 20:18:27 +02:00
Julien Déramond
fc63d65def
Drop deprecated .accordion-button remaining usage (#42488) 2026-06-08 20:11:59 +02:00
Julien Déramond
c6c1144c21
Improve Security Policy score (#42481) 2026-06-08 06:33:51 +02:00
Julien Déramond
6741944fd6
Docs: add missing role='button' to <a> menus (#42483) 2026-06-07 22:00:38 +02:00
ANDI FAUZAN HEDIANTORO
bbc3dd5d3a
Fix falsie → falsely typo in js/src/util/index.js comment (#42478) 2026-06-07 19:53:57 +02:00
ifer47
d0f7030d77
Docs: fix Incident Response link to SECURITY.md (#42468)
Co-authored-by: yangkangkang <yangkangkang@wps.cn>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-06-07 11:16:58 +02:00
Rishikesh183
7c27202427
Use node-version-file in GitHub workflows (#42416)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-06-07 10:52:56 +02:00
Julien Déramond
5115722eaf
Bump dependencies (#42475)
- `@astrojs/mdx`: 5.0.6 → 6.0.1
- `@shikijs/transformers`: 4.0.2 → 4.1.0
- `astro`: 6.3.7 → 6.4.3
- `eslint`: 10.2.1 → 10.4.1
- `eslint-config-xo`: 0.51.0 → 0.52.0
- `globals`: 17.5.0 → 17.6.0
- `html-validate`: 10.13.1 → 11.4.0
- `pagefind`: 1.5.0 → 1.5.2
- `playwright`: 1.59.1 → 1.60.0
- `sass`: 1.99.0 → 1.100.0
- `yaml`: 2.8.3 → 2.9.0
2026-06-06 17:19:38 +02:00
dependabot[bot]
2324444022
Build(deps-dev): Bump dependencies with 9 updates (#42474)
Bumps the development-dependencies group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark) | `7.1.2` | `7.2.0` |
| [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) | `3.7.2` | `3.7.3` |
| [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.28.6` | `7.29.7` |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.29.0` | `7.29.7` |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.29.5` | `7.29.7` |
| [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/HEAD/packages/babel) | `7.0.0` | `7.1.0` |
| [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) | `6.2.0` | `6.2.1` |
| [npm-run-all2](https://github.com/bcomnes/npm-run-all2) | `9.0.0` | `9.0.1` |
| [terser](https://github.com/terser/terser) | `5.47.1` | `5.48.0` |

Updates `@astrojs/markdown-remark` from 7.1.2 to 7.2.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.2.0/packages/markdown/remark)

Updates `@astrojs/sitemap` from 3.7.2 to 3.7.3
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/sitemap@3.7.3/packages/integrations/sitemap)

Updates `@babel/cli` from 7.28.6 to 7.29.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-cli)

Updates `@babel/core` from 7.29.0 to 7.29.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-core)

Updates `@babel/preset-env` from 7.29.5 to 7.29.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-preset-env)

Updates `@rollup/plugin-babel` from 7.0.0 to 7.1.0
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/babel/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/babel-v7.1.0/packages/babel)

Updates `find-unused-sass-variables` from 6.2.0 to 6.2.1
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v6.2.0...v6.2.1)

Updates `npm-run-all2` from 9.0.0 to 9.0.1
- [Release notes](https://github.com/bcomnes/npm-run-all2/releases)
- [Changelog](https://github.com/bcomnes/npm-run-all2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/npm-run-all2/compare/v9.0.0...v9.0.1)

Updates `terser` from 5.47.1 to 5.48.0
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.47.1...v5.48.0)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@astrojs/sitemap"
  dependency-version: 3.7.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@babel/cli"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@babel/core"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@babel/preset-env"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@rollup/plugin-babel"
  dependency-version: 7.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: find-unused-sass-variables
  dependency-version: 6.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: npm-run-all2
  dependency-version: 9.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: terser
  dependency-version: 5.48.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-06 16:48:43 +02:00
dependabot[bot]
6a208bb012
Build(deps): Bump the github-actions group with 2 updates (#42464)
Bumps the github-actions group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter).


Updates `github/codeql-action` from 4.35.5 to 4.36.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9e0d7b8d25...7211b7c807)

Updates `release-drafter/release-drafter` from 7.3.0 to 7.3.1
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](c2e2804cc5...693d20e7c1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-06 16:33:58 +02:00
Mark Otto
dd8fe12dba
Move SVGs to CSS masks (#42465)
* Move SVGs to CSS masks

* update migration, remove unused, fix a couple things

* Format

* Bump bundlewatch

* Properly size btn-close with mask

* Apply .check class directly to checkbox input, drop wrapper

The .check wrapper existed only to host the checkmark pseudo-element.
Since appearance: none controls render pseudo-elements (as .radio already
relies on), move .check onto the <input> itself and draw the checked/
indeterminate mark via a masked ::before. Removes the grid/:has machinery
and makes checkbox and radio markup symmetric.

* Use .form-field for list group radio example, matching checkboxes
2026-06-04 20:09:03 -07:00
Mark Otto
4d54391793
docs: fix menu clipping in resizable examples + configurable dev port (#42470)
* docs: prevent menus from being clipped in resizable examples

The resizable container needs overflow: hidden for the CSS resize handle to
work, which clips menus/dropdowns when they open. Render them with a fixed
positioning strategy in the live preview only so they can spill outside the
container, leaving the displayed markup untouched.

* docs: make the Astro dev server port configurable via PORT

Default to 9001 but allow PORT to override the dev/preview server port so
multiple worktrees can run side by side without colliding.
2026-06-04 16:19:56 -07:00
Christian Oliff
ac4cf140de
docs: fix wording and responsive utility examples (#42458)
Copy edits across several docs pages: clarify .btn usage and theme classes (button.mdx); correct repeated/awkward 'drawer' phrasing and update responsive breakpoint syntax to the colon form (drawer.mdx); remove duplicated 'drawer' wording and clean navbar responsive copy (navbar.mdx); update Sass guidance from @import to @use/@forward terminology (customize/optimize.mdx); clarify 'modal' → 'modal dialog' and update form validation guidance to use data-bs-validate and :user-invalid (getting-started/approach.mdx); and revise display utility docs to show the new .{breakpoint}:d-{value} syntax with example adjustments (utilities/display.mdx).
2026-06-03 14:14:37 -07:00
Mark Otto
94aed759b4
Widen custom switch component (#42460)
Increase --switch-width multiplier from 1.5 to 1.75 of the switch
height for a wider track.
2026-06-03 13:57:39 -07:00
Mark Otto
c4e77845eb
Fix Prettier formatting in spacing docs shortcodes (#42461)
Reformats the SpacingNotation and SpacingResponsive Astro shortcodes to
satisfy docs-prettier-check, fixing the failing Lint CI job on v6-dev.
2026-06-03 13:45:02 -07:00
Christian Oliff
bfc4ea00ce
v6: remove figure-img from image docs (#42457) 2026-06-02 08:25:35 -07:00
Mark Otto
42e2a8c21a
Make spacing docs less annoying to update (#42454) 2026-06-02 08:25:14 -07:00
Mark Otto
ea71b3b29a
Update avatars (#42456)
* Use image dimensions, update for labels on avatar status

* More bulletproof

* update
2026-06-01 23:19:49 -07:00
Jonas Pardeyke
6ff160169b
Update ampm-field to meridiem-field (#42397)
* Update ampm-field to meridiem-field

The wrong specifier was used so the actual fix was no applied.

::-webkit-datetime-edit-ampm-field -> ::-webkit-datetime-edit-meridiem-field

* Enhance datetime fields for WebKit and Chromium

Added support for am/pm field in WebKit datetime edit.
2026-06-01 23:19:28 -07:00
Mark Otto
c6919d20a6
v6: More docs updates (#42450)
* Add "new" badge to Stepper

It's new.

* Remove commented out

* Rearrange docs sidebar again to remove components groups, tweak a few things

* New default components page

* Fix swatch, update some content

* Revamp how we're doing themes in docs to be more instant

---------

Co-authored-by: nextgenthemes <nextgenthemes@users.noreply.github.com>
2026-06-01 23:12:17 -07:00
Mark Otto
1b57f4cdbe
Restore border-radius to .card (#42449)
* restore border-radius to .card

* bw fix
2026-06-01 11:03:33 -07:00
Christian Oliff
7e1a7f06ba
v6: docs: fix typos, examples, and utility class docs (#42430)
Minor documentation fixes across multiple site files:
- examples/sign-in: add meaningful alt text for the logo image for accessibility.
- components/dialog: add missing space in example button markup.
- components/navbar: update navbar example to use new prefix-style responsive class (`.{breakpoint}:navbar-expand`).
- forms/layout: update horizontal form docs to recommend `.{breakpoint}:col-*` usage.
- getting-started/approach: fix grammar/typos, correct docsref path, and clarify component modifier/variant naming (mention `.btn-solid` and `.theme-primary`).
- getting-started/javascript: adjust JS-required components list (add Dialog, remove Accordions/Modals lines).
- guides/migration: fix possessive "its" typos in breakpoint/container notes.
- helpers/stretched-link: correct placeholder title text.
- utilities/background: update example to use `fg-contrast-{name}` / `fg-{name}` classes instead of previous `color-*` naming.

These changes improve clarity, accessibility, and align docs with updated class naming conventions.

v6: docs: fix typos, examples, and utility class docs

text would always be white on black background
Update example code for background gradient usage
Update margin utilities docs for v6 spacers
Docs updated to reflect the v6 spacing scale: sizes now range from 0 through 9 (`.m-0`–`.m-9`) and the multiplier values for sizes 3–9 were adjusted.

Negative margin docs were changed to note that v6 only supports negative inline margins (`.ms--1`, `.me--2`) using `-1` and `-2` spacers and that the v5-style full negative utilities (e.g. `.mt-n1`) were removed.

The responsive examples were updated to list `.{breakpoint}m-0` through `.{breakpoint}m-9` and `.{breakpoint}m-auto`.
2026-06-01 10:51:58 -07:00
Christian Oliff
a1ce7915c2
Use new bg/fg utilities and data-bs-theme (#42451)
Replace legacy theme classes across examples with new utility classes and theme attributes. Changes include swapping .bg-dark/.navbar-dark/.text-bg-dark/.link-body-emphasis for bg-black, bg-90, fg-white, fg-body, adding data-bs-theme="dark" where appropriate, removing nav-pills, adjusting icon nav links to use flex-column and removing svg mb-1 spacing, and simplifying sidebar nav classes. Updated example files: album, cheatsheet, headers, navbar-static, navbars, and sidebars.
2026-06-01 10:50:29 -07:00
Christian Oliff
d836c38e90
v6: Refine examples - headings, themes, and layout (#42432)
Reduce heading sizes and remove emphasis in feature examples. Unify
dark-theme styling, improve accessibility and layout, update Chart.js,
and replace text-white/text-secondary with fg-* utilities across
example pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 15:51:35 -07:00
Mark Otto
dd5d0d7bb7
Update monospace font stack (#42448)
* Update monospace font stack

* Update _root.scss
2026-05-29 15:09:00 -07:00
dependabot[bot]
598e5e296f
Build(deps): Bump tmp from 0.2.5 to 0.2.7 (#42446)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.5...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 21:22:18 +02:00
dependabot[bot]
84f4f65f29
Build(deps-dev): Bump npm-run-all2 (#42441)
Bumps the development-dependencies group with 1 update in the / directory: [npm-run-all2](https://github.com/bcomnes/npm-run-all2).

Updates `npm-run-all2` from 8.0.4 to 9.0.0
- [Release notes](https://github.com/bcomnes/npm-run-all2/releases)
- [Changelog](https://github.com/bcomnes/npm-run-all2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/npm-run-all2/compare/v8.0.4...v9.0.0)

---
updated-dependencies:
- dependency-name: npm-run-all2
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 21:17:47 +02:00
dependabot[bot]
73857e6c28
Build(deps): Bump calibreapp/image-actions (#42442)
Bumps the github-actions group with 1 update in the / directory: [calibreapp/image-actions](https://github.com/calibreapp/image-actions).


Updates `calibreapp/image-actions` from 1.4.1 to 1.5.0
- [Release notes](https://github.com/calibreapp/image-actions/releases)
- [Commits](f32575787d...9d037c0628)

---
updated-dependencies:
- dependency-name: calibreapp/image-actions
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 21:01:48 +02:00
Julien Déramond
13011e59a2
Increase awaiting-reply stale period from 1 to 14 days 2026-05-26 22:23:42 +02:00
Julien Déramond
4c0bd41c85
Replace actions-cool/issues-helper by actions/stale (#42433) 2026-05-26 22:23:21 +02:00
Julien Déramond
ef60fa88d5
Bump Node in .nvmrc from 24.15 to 24.16 2026-05-24 22:51:56 +02:00
Christian Oliff
08b54becf8
Bump astro from 6.1.8 to 6.3.7 and @astrojs/mdx from 5.0.3 to 5.0.6 (#42437) 2026-05-24 22:50:14 +02:00
Julien Déramond
227fb57dcc
Build(deps-dev): Bump dependencies with 7 updates (#42439) 2026-05-24 22:38:01 +02:00
dependabot[bot]
e51bfa868a
Build(deps): Bump the GitHub Actions dependencies with 2 updates (#42409)
Bumps the github-actions group with 2 updates in the / directory: [github/codeql-action](https://github.com/github/codeql-action) and [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter).


Updates `github/codeql-action` from 4.35.2 to 4.35.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](95e58e9a2c...9e0d7b8d25)

Updates `release-drafter/release-drafter` from 7.2.0 to 7.3.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](5de9358398...c2e2804cc5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-24 21:43:27 +02:00
dependabot[bot]
58fa0bd992
Build(deps-dev): Bump @babel/plugin-transform-modules-systemjs (#42404)
Bumps [@babel/plugin-transform-modules-systemjs](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-modules-systemjs) from 7.29.0 to 7.29.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.4/packages/babel-plugin-transform-modules-systemjs)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-modules-systemjs"
  dependency-version: 7.29.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-24 21:35:09 +02:00
dependabot[bot]
ce7a24560f
Build(deps): Bump fast-uri from 3.1.0 to 3.1.2 (#42403)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-24 21:27:22 +02:00
Julien Déramond
84780b22ef
Replace actions-cool/issues-helper by actions/github-script (#42435) 2026-05-24 10:50:46 +02:00
Christian Oliff
5a6f8ab7e9
v6: Animate accordion details content (#42047)
Use interpolate-size and ::details-content transitions so accordions
open and close smoothly when motion is not reduced.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 12:28:27 -07:00
Christian Oliff
71a1c86725
v6: docs - Update utility class names in docs and examples (#42418)
Replace deprecated utility classes with the updated names across site docs and examples. Changes include switching text-* classes to fg-*, text-bg-* badge classes to theme-*, and replacing clearfix with d-flow-root. Affected files: cover and drawer-navbar examples, spinner example, reboot, accessibility, columns docs, and versions page to keep examples consistent with the new utility naming.

Add btn-icon class to navbar toggler

Add the btn-icon utility class to the navbar toggler button in the navbar-fixed example to apply icon button styling. This change updates site/src/assets/examples/navbar-fixed/index.astro and keeps the existing SVG toggler markup and collapse behavior unchanged.
2026-05-22 12:28:09 -07:00
Christian Oliff
d39a66146e
v6: Albums Example layout fixes (#42357)
* Albums Example layout fixes

- navbar hamburger button - add btn-icon class
- align content at bottom of cards
- use a valid background color for albums (main content)

* Change link text color from text-white to fg-white
2026-05-22 12:25:51 -07:00
Christian Oliff
4eb4ec1ffa
v6: docs - remove unneeded word-break page (Content moved to text-wrapping page) (#42426)
* v6: remove unneeded word-break page

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-21 17:18:48 -07:00
Mark Otto
fa577560e7 rebuilt dist 2026-05-14 21:26:01 -07:00
Mark Otto
2beb42e339
Couple chips follow ups (#42411)
* Fix some disabled

* Disable smooth scroll to start
2026-05-14 20:25:39 -07:00
Christian Oliff
7d5d151805
v6: docs updates (#42394) 2026-05-14 20:25:17 -07:00
Christian Oliff
2599a614f0
v6: accordions - hide default WebKit details marker (#42401)
Suppress the native disclosure marker in WebKit by adding &::-webkit-details-marker { display: none; } to the accordion button styles. This prevents the browser's default triangle from overlapping the custom .accordion-icon and ensures consistent appearance across browsers

Issue discovered using Browserstack.
See comment: https://github.com/orgs/twbs/discussions/42398#discussion-10018925
2026-05-14 20:24:01 -07:00
Mark Otto
3570aacbb6
v6: Chips & Badges updates, remove Badges example page (#42400)
* Rename chip-input to chips

* More edits

* Remove the badges example
2026-05-07 21:09:01 -07:00
Mark Otto
3f649e319e
v6: More utilities API, docs, tests (#42381)
* Utilities API and class improvements

* Expand utility API test coverage

* Update utilities API and border-radius docs

* Fix bundlewatch

* Introduce `@mixin generate-utilities-loop()`

* Add text wrapping utilities in Sass utilities API in the docs

* Copy updates, links, callout for postcss prefix, fix a border-radius

* inline warning

* error over warn

* Fix bundlewatch

* more copy edits

* fix layout and headings

* lint

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-05-05 16:09:38 -07:00
dependabot[bot]
853c661949
Build(deps-dev): Bump axios from 1.15.0 to 1.16.0 (#42396)
Bumps [axios](https://github.com/axios/axios) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 18:21:13 +02:00
dependabot[bot]
acac994eb4
Build(deps-dev): Bump the dev dependencies with 2 updates (#42395)
Bumps the development-dependencies group with 2 updates: [postcss](https://github.com/postcss/postcss) and [terser](https://github.com/terser/terser).

Updates `postcss` from 8.5.10 to 8.5.12
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.10...8.5.12)

Updates `terser` from 5.46.1 to 5.46.2
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.46.1...v5.46.2)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: terser
  dependency-version: 5.46.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 18:17:05 +02:00
Julien Déramond
4e698fff3b
Docs: remove About group of pages (#42386) 2026-05-05 17:58:04 +02:00
Christian Oliff
ce18b73ce8
v6: Update alignment examples text and widths (#42392)
Replace generic "Flex item"/"Grid item" placeholders with descriptive words (e.g. "Align", "Items", "Start/End/Center/Stretch") across align-items, justify-items, and place-items docs. Add w-5 utility to flex examples to give consistent item widths so alignment demos render more clearly. Files updated: site/src/content/docs/utilities/align-items.mdx, justify-items.mdx, place-items.mdx.
2026-05-04 11:39:49 -07:00
Julien Déramond
ee436ef7c2
Docs: add missing mandatory type in Shiki config themes 2026-05-03 21:13:29 +02:00
Christian Oliff
495618b7a7
v6: minor docs fixes (#42385)
* Adjust toast copy, placeholder, and font var

Update docs and styles: change toast example text to use "accent" wording, mark the default toast placement option as disabled to prevent it being selected as a valid value, and switch the table font variable from --bs-font-monospace to the standardized --bs-font-mono in _content.scss.

* fix typo

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-02 21:06:45 -07:00
Julien Déramond
839cd8ed4a
Docs: fix aliases/redirections of main sections (#42387) 2026-05-02 21:04:24 -07:00
Mark Otto
21e6520239 lint fix 2026-05-01 11:55:41 -07:00
Mark Otto
fa1cc64fc2 Fix dialog scrollbar shifting 2026-05-01 11:10:17 -07:00
Mark Otto
c5b4d93504 Improve masthead code snippet 2026-05-01 10:49:13 -07:00
Julien Déramond
fe0a220cf7
Docs: fix theme selector on direct load (Cheatsheet/Sidebars examples) (#42382) 2026-05-01 19:28:06 +02:00
Julien Déramond
ac496c4445
Docs: drop some mentions of Bootstrap 5 (#42380) 2026-05-01 19:25:55 +02:00
Mark Otto
f8f0d88064 Ctrl instead of ^ for Windows search 2026-05-01 09:32:30 -07:00
Christian Oliff
ba0f03aa5a
Docs: replace .text-bg-* with .theme-* classes in examples (#42378)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-05-01 18:06:05 +02:00
Mark Otto
18e85efc9f rebuild 2026-04-30 19:44:23 -07:00
Mark Otto
d5a4b29b1f
v6: Form cleanup & new --radius-* tokens/classes (#42356)
* New border-radius tokens, --radius-*; update nav-overflow to work in more situations; fix disabled chip inputs; fix sizing of OTP and chip by removing it lol; fix vertical pills with new radius tokens

* Finish off improving radius scale

* fixes after rebase

* format
2026-04-30 19:32:41 -07:00
Mark Otto
f766994193
v6: Add Pagefind with custom components (#42369)
* Integrate new Pagefind custom components

Co-Authored-By: Julien Déramond <17381666+julien-deramond@users.noreply.github.com>

* fix some mobile styles, for fun, and fix color mode

* linter

---------

Co-authored-by: Julien Déramond <17381666+julien-deramond@users.noreply.github.com>
2026-04-30 17:02:17 -07:00
Julien Déramond
8fc7efcc50
Remove deprecated baseUrl from site/tsconfig.json (#42376) 2026-04-30 19:16:30 +02:00
Mark Otto
030a3ffd82
Clean up some Astro and Docs stuff (#42355) 2026-04-30 10:12:11 -07:00
Julien Déramond
2574eb3842
Docs: apostrophe consistency (#42375) 2026-04-30 16:08:55 +02:00
Julien Déramond
dfc389cb57
Bump Node in .nvmrc from 24.14.1 to 24.15 2026-04-30 15:53:04 +02:00
Christian Oliff
60838ebfa7
Docs: Cheatsheet example updates (#42361)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-04-30 12:18:30 +02:00
Christian Oliff
09a82c6af7
Docs: fix wording in radio and switch docs (#42372)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-04-30 11:06:24 +02:00
dependabot[bot]
f30327fcb3
Build(deps-dev): Bump @astrojs/markdown-remark from 7.1.0 to 7.1.1 (#42374)
Bumps the development-dependencies group with 1 update in the / directory: [@astrojs/markdown-remark](https://github.com/withastro/astro/tree/HEAD/packages/markdown/remark).

Updates `@astrojs/markdown-remark` from 7.1.0 to 7.1.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/markdown/remark/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdown-remark@7.1.1/packages/markdown/remark)

---
updated-dependencies:
- dependency-name: "@astrojs/markdown-remark"
  dependency-version: 7.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-30 10:53:17 +02:00
Christian Oliff
4dc79274d2
Add cooldown configuration for Dependabot (#42370) 2026-04-30 10:34:25 +02:00
Mark Otto
b193830526
v6: Dialog fixes (#42353)
* Dont auto open toast in overlays dialog example

* switch slide up and down

* dialog animation improvements

* Reflect changes in dialog on Drawer

* Don't let dialogs run into viewport edge on mobile

* Improve dialog swapping

* Fix while in here

* remove .dialog-overflow hackery

* fix bundlewatch
2026-04-23 13:38:40 -07:00
Mark Otto
2572878dba rerun dist 2026-04-23 10:21:20 -07:00
Mark Otto
d0ec50b54a
v6: Card updates, use var(--spacer) over $spacer more (#42354)
* simplify eslint configs, modernize eslint config for docs js

* Simplify variants to 2 col

* More card layout improvement

* Improve card docs more

* text-body-secondary is now fg-2

* Update card styles a bit, fix some layout issues on card group

* Replace more instances of -* with --spacer-*

* Fix lint
2026-04-23 10:19:37 -07:00
Mark Otto
2208c11a49 rebuild 2026-04-22 12:34:25 -07:00
Mark Otto
29cf0abca5
Fix popovers dismiss in Chrome browsers (#42352)
* Update popover API to properly register listeners and avoid Chrome/Webkit differences in button focus

* Apply same fix to Tooltips
2026-04-22 12:32:43 -07:00
Julien Déramond
b29893b1d3
Docs: use correctly breakpoints as prefixes for utility classes, and docs content (#42347) 2026-04-22 07:12:46 +02:00
Julien Déramond
653c1240fc
Bump bundlewatch from 0.4.1 to 0.4.2 2026-04-22 06:34:00 +02:00
dependabot[bot]
98a2e5b77b
Build(deps): Bump lodash from 4.17.21 to 4.18.1 (#42348)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 06:29:27 +02:00
Mark Otto
c338e4d77a fix height of toast example 2026-04-21 20:05:55 -07:00
Mark Otto
2b297e93e4 fix rendering issue on drawer footer example 2026-04-21 20:00:10 -07:00
Mark Otto
00a77a195c
Revamp focus ring helper and docs (#42350)
* Revamp focus ring helper and docs

* remove util
2026-04-21 19:21:15 -07:00
Julien Déramond
c23e9133fc
Docs: fix Bootstrap bundle loading consistency between dev and static builds (#42237)
* Docs: fix Bootstrap bundle loading consistency between dev and static builds

* Finish the fix for loading single copy of Bootstrap JS

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-04-21 18:51:52 -07:00
Christian Oliff
15099a077e
v6: docs: Use custom check/radio markup across docs (#42336)
* Use custom check/radio markup across docs

Replace Bootstrap .form-check markup with a unified form-field/.check pattern and inline SVG indicators. Radios now use a .radio class; checkboxes are wrapped in .check with SVG paths for checked/indeterminate states. Update examples (cheatsheet, checkout, heroes, list-groups, sign-in), list-groups CSS selectors (.check:has(input:checked), .check-input-placeholder, .radio rules), and documentation pages (list-group.mdx, forms layout/overview) to match the new structure.

* Fix for list groups example
2026-04-21 18:36:24 -07:00
Julien Déramond
c001839673
Docs: add missing open attribute to first Accordion example (#42345) 2026-04-21 21:04:02 +02:00
Julien Déramond
53b1b19aa2
Docs: add gap to Progress examples (#42344) 2026-04-21 20:55:41 +02:00
Mark Otto
4463b6f494 Add .form-control-caret and docs demo of using it
Closes #42051, fixes #41754.
2026-04-21 11:13:12 -07:00
Julien Déramond
0330dd01f8
Docs: fix 'originals' → 'originates' typo in Prose page (#42338)
Co-authored-by: Sarah Gilberg <sgilberg@healthybuilding.net>
2026-04-21 18:59:38 +02:00
dependabot[bot]
a8e145ed13
Build(deps): Bump the github-actions group with 2 updates (#42335)
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [nuget/setup-nuget](https://github.com/nuget/setup-nuget).

Updates `actions/setup-node` from 6.3.0 to 6.4.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](53b83947a5...48b55a011b)

Updates `nuget/setup-nuget` from 3.1.0 to 4
- [Release notes](https://github.com/nuget/setup-nuget/releases)
- [Commits](b26b823c47...fd55a6f3b3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: nuget/setup-nuget
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-21 13:53:27 +02:00
Christian Oliff
1ea05f87dc
v6: docs: Replace .form-select with .form-control (#42332) 2026-04-20 15:22:18 -07:00
Julien Déramond
08e3ec272d
Bump patch dependencies
- astro            ^6.1.7  →    ^6.1.8
- html-validate  ^10.13.0  →  ^10.13.1
- rollup          ^4.60.1  →   ^4.60.2
2026-04-19 11:33:19 +02:00
Julien Déramond
5d9c88d781 Docs: clarify that .browserslistrc is a shipped file, not a package.json metadata field 2026-04-18 13:25:01 -07:00
Julien Déramond
26d1b6e0ca
Docs: change PostCSS link to match 'Sass compiler' one in Getting Started > Install page 2026-04-18 11:42:43 +02:00
Julien Déramond
703c3bcde9
Bump eslint from 10.2.0 to 10.2.1 2026-04-18 08:23:16 +02:00
Julien Déramond
2c35cf0c5e
Docs: automatically screenshot examples as light/dark images (#42329) 2026-04-18 08:21:24 +02:00
Julien Déramond
6a90b13196
Bump html-validate from 10.12.2 to 10.13.0 2026-04-16 20:56:31 +02:00
dependabot[bot]
ce3b519ba5
Build(deps): Bump qs from 6.14.0 to 6.14.2 (#42079)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.0...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 23:42:42 +02:00
dependabot[bot]
5de3cff201
Build(deps-dev): Bump minimatch from 3.1.2 to 3.1.5 (#42102)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 23:38:16 +02:00
Julien Déramond
5a67e63a2a
Build(deps): Bump picomatch 2026-04-15 23:17:40 +02:00
dependabot[bot]
3a290771b3
Build(deps-dev): Bump preact from 10.28.0 to 10.29.1 (#42273)
Bumps [preact](https://github.com/preactjs/preact) from 10.28.0 to 10.29.1.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.28.0...10.29.1)

---
updated-dependencies:
- dependency-name: preact
  dependency-version: 10.29.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-04-15 23:04:49 +02:00
dependabot[bot]
6fe442f10e
Build(deps): Bump follow-redirects from 1.15.11 to 1.16.0 (#42309)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.0)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 22:53:10 +02:00
dependabot[bot]
ba2a24eae1
Build(deps): Bump github/codeql-action in the github-actions group (#42319)
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 4.35.1 to 4.35.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c10b8064de...95e58e9a2c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 22:06:22 +02:00
Julien Déramond
6ede3ce918
Use .ncurc.json instead of args in command line and enforce decisions in Dependabot 2026-04-15 22:03:56 +02:00
Julien Déramond
bb3696d84d
Bump eslint-config-xo from 0.50.0 to 0.51.0 (#42297) 2026-04-15 21:59:28 +02:00
Julien Déramond
498abecbcb
Drop volar-service-emmet@0.0.63 override 2026-04-15 21:36:50 +02:00
Julien Déramond
398e12bff6
Bump @rollup/plugin-babel from 6.1.0 to 7.0.0 (#42318) 2026-04-15 21:21:04 +02:00
Julien Déramond
b9f2b0f90f
Bump autoprefixer from 10.4.27 to 10.5.0, postcss from 8.5.8 to 8.5.10 2026-04-15 21:16:58 +02:00
Mark Otto
5c86511cb5 Rebuild dist after install 2026-04-15 12:13:31 -07:00
Julien Déramond
d4af7f1c07
Bump JavaScript build toolchain dependencies (#42317)
- @babel/cli             ^7.28.3  →  ^7.28.6
- @babel/core            ^7.28.5  →  ^7.29.0
- @babel/preset-env      ^7.28.5  →  ^7.29.2
- @rollup/plugin-babel    ^6.1.0  →   ^7.0.0
- rollup                 ^4.54.0  →  ^4.60.1
- terser                 ^5.44.1  →  ^5.46.1
2026-04-15 21:07:05 +02:00
Julien Déramond
deb7497951
Bump globals from 17.0.0 to 17.5.0 2026-04-15 20:55:28 +02:00
Julien Déramond
1e125aa61d
Bump jasmine from 6.1.0 to 6.2.0 (#42316) 2026-04-15 20:54:02 +02:00
Julien Déramond
7bd22a8ecc
Bump stylelint-order from 7.0.1 to 8.1.1, and pin stylelint 2026-04-15 20:22:40 +02:00
Julien Déramond
2232915ee7
Bump prettier from 3.8.1 to 3.8.3 2026-04-15 20:18:46 +02:00
Julien Déramond
41eb582915
Bump html-validate from 10.11.3 to 10.12.2 2026-04-15 20:17:46 +02:00
Julien Déramond
fe8e453bfe
Bump astro from 6.1.6 to 6.1.7 2026-04-15 20:15:34 +02:00
Julien Déramond
9ed5d9f555
Pin @docsearch/js dependency and remove vnu-jar from ncu list 2026-04-15 20:08:12 +02:00
Julien Déramond
398a2a95fe
Bump Node in .nvmrc from 24.14.0 to 24.14.1 2026-04-15 20:06:10 +02:00
Mark Otto
96414603ed
Add validation feedback IDs for a11y, set aria-invalid on controls on form submission in examples (#42313) 2026-04-14 17:59:17 -05:00
Mark Otto
5948f67525
v6: New form fields component, updated validation, remove validation icons, and more (#42308)
* Wip

* more updates

* Revamp validation SCSS to use theme-derived CSS custom properties

Replace the verbose $form-validation-states map with a flat
$validation-states map (state -> theme color name). The mixin now
derives all styling from theme tokens (--{theme}-fg, --{theme}-border,
etc.) and uses component token overrides (e.g., --control-border-color)
instead of direct property declarations.

- Extract form-validation-state-selector mixin to scss/mixins/
- Remove all Sass validation color/icon variables
- Remove --form-valid-*/--form-invalid-* root tokens
- Remove $enable-validation-icons and all icon logic
- Refactor _otp-input.scss to use shared mixin
- Update docs references

Made-with: Cursor

* big update

* cleanup

* update migration guide

* fix linter

* Fix bundlewatch

* mdx lint

* fix dupe ids

* consolidate vars, fix docs

* centralize validation for otp
2026-04-14 17:02:55 -05:00
Julien Déramond
6273403c46
Build(deps): Override axios to 1.15.0 (#42311) 2026-04-14 23:10:07 +02:00
Julien Déramond
f835d3ae59
Bump astro from 6.1.3 to 6.1.6 and astro-broken-links-checker from 1.0.7 to 1.1.0 2026-04-14 22:13:00 +02:00
Julien Déramond
2a959fbfaa
Build(deps): Bump devalue from 5.6.4 to 5.7.1 2026-04-14 21:44:23 +02:00
dependabot[bot]
1d0a8007c3
Build(deps): Bump the github-actions group with 4 updates (#42306)
Bumps the github-actions group with 4 updates: [JustinBeckwith/linkinator-action](https://github.com/justinbeckwith/linkinator-action), [nuget/setup-nuget](https://github.com/nuget/setup-nuget), [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `JustinBeckwith/linkinator-action` from 2.4.1 to 2.4.2
- [Release notes](https://github.com/justinbeckwith/linkinator-action/releases)
- [Changelog](https://github.com/JustinBeckwith/linkinator-action/blob/main/CHANGELOG.md)
- [Commits](363572b271...7b6b0bc671)

Updates `nuget/setup-nuget` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/nuget/setup-nuget/releases)
- [Commits](12c57947e9...b26b823c47)

Updates `release-drafter/release-drafter` from 7.1.1 to 7.2.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](139054aeaa...5de9358398)

Updates `actions/upload-artifact` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](bbbca2ddaa...043fb46d1a)

---
updated-dependencies:
- dependency-name: JustinBeckwith/linkinator-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: nuget/setup-nuget
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-14 21:34:20 +02:00
Julien Déramond
2f1ecb858d
Bump globby from 16.1.0 to 16.2.0 (#42298) 2026-04-09 22:52:39 +02:00
Julien Déramond
1685829fb6
Bump html-validate from 10.11.2 to 10.11.3 (#42296) 2026-04-08 18:05:44 +02:00
Mark Otto
2b132cbb6f Improve code highlighting, tweak language 2026-04-07 16:05:23 -06:00
Mark Otto
4e252c37de Fixes #38000, closes #42277 2026-04-07 15:08:23 -06:00
Mark Otto
10666ad772
Rename theme text tokens to fg, update utilities (#42295)
With this refactor, our .fg-* and .bg-* and .border-* utilities can be modified by custom CSS, like in our blue theme example.

This also standardizes some nomenclature by using fg instead of text in the token names for theme values, better matching bg. Classes already use this, as do root fg tokens, so this is just a consistency update.
2026-04-07 15:04:31 -06:00
Mark Otto
a1544aebcd
Button group dividers (#42284)
* Add optional dividers to btn groups

* Add another example, add active state

* Vertical support

* bump bw
2026-04-07 15:04:10 -06:00
dependabot[bot]
a2b781b920
Build(deps): Bump the github-actions group with 2 updates (#42291)
Bumps the github-actions group with 2 updates: [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) and [JustinBeckwith/linkinator-action](https://github.com/justinbeckwith/linkinator-action).


Updates `streetsidesoftware/cspell-action` from 8.3.0 to 8.4.0
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](9cd41bb518...de2a73e963)

Updates `JustinBeckwith/linkinator-action` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/justinbeckwith/linkinator-action/releases)
- [Changelog](https://github.com/JustinBeckwith/linkinator-action/blob/main/CHANGELOG.md)
- [Commits](f62ba0c110...363572b271)

---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
  dependency-version: 8.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: JustinBeckwith/linkinator-action
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-04-07 22:08:12 +02:00
Julien Déramond
c488a80b03
Bump sass from 1.98.0 to 1.99.0 2026-04-06 10:05:03 +02:00
Julien Déramond
1d423984b8
Bump development dependencies (#42286)
- eslint                   ^10.1.0 → ^10.2.0
- eslint-plugin-unicorn    ^63.0.0 → ^64.0.0
2026-04-06 09:59:38 +02:00
Julien Déramond
1269f357b1
Bumpd cspell from 9.7.0 to 10.0.0 (#42285) 2026-04-06 09:51:19 +02:00
Julien Déramond
bbd4a299c7
Bump astro from 6.1.2 to 6.1.3 2026-04-06 09:45:28 +02:00
Mark Otto
59704ca77c
Prevent theme class names in Shiki snippets (#42283)
* Prevent theme class names in Shiki snippets

* prettier

* alt: dont render at all

* prettier
2026-04-05 16:33:19 -07:00
Mark Otto
74b5a4d8f7
Update some global Sass functions (#42271) 2026-04-03 22:17:23 -07:00
Mark Otto
d6cf39fca1
Use modern :not() syntax (#42268) 2026-04-03 22:17:08 -07:00
Mark Otto
8e16cba680
Update remaining rgba()/rgb() syntax (#42267)
* Use modern rgb() syntax

* more
2026-04-03 22:16:57 -07:00
Mark Otto
93a733b4f4
Update utility API to use prefixes for states (#42266) 2026-04-03 20:00:55 -07:00
Mark Otto
4bec095d48 Fixes #42014 2026-04-03 15:43:16 -07:00
Julien Déramond
ab05994cbd
Docs: remove optional direction management for RTL (#42255) 2026-04-03 15:38:29 -07:00
Mark Otto
714c8bc894
Upgrade stylelint config (#42223)
* Upgrade stylelint config

* fix
2026-04-03 15:36:10 -07:00
Mark Otto
69fe67031d
Update migration guide, move to Guides (#42265)
* Update migration guide, move to Guides

* fixes

* fix

* fix cspell
2026-04-03 15:28:33 -07:00
Mark Otto
1d07630919
Update utility API for children selectors (#42224)
* Update utility API for children selectors

- Add new support for custom children selectors
- Add divide and space utilities

* Update bundlewatch

* metadata
2026-04-03 15:20:49 -07:00
Mark Otto
2626192763
v6: Docs design updates (#42250)
* Start docs redesign, new page metadata fields

* wip

* more

* Update offcanvas references to drawer after rebase

Carry over frontmatter additions to drawer.mdx,
fix DocsLayout ToC to use drawer classes and dialog element,
update navbar.mdx dep title, and fix _toc.scss class name.

Made-with: Cursor

* woooooo

* fixes

* update metadata and more

* more improvements

* Some component updates, docs updates

* update

* add a bundlewatch script, fix bundlewatch

* bump

* fix

* dist

* Remove gradients for now

* Update format

* more wip
2026-04-03 13:44:58 -07:00
Julien Déramond
ca91c98035
Bump lockfile-lint from 4.14.1 to 5.0.0 (#42264) 2026-04-01 22:40:31 +02:00
Julien Déramond
37b8ffc5b8
Bump unist-util-visit from 5.0.0 to 5.1.0 (#42263) 2026-04-01 22:29:20 +02:00
Julien Déramond
4776b43eeb
Bump dependencies (#42261)
- autoprefixer    ^10.4.23 → ^10.4.27
- postcss           ^8.5.6 → ^8.5.8
2026-04-01 22:16:14 +02:00
Julien Déramond
d086fedf25
Bump Astro dependencies
- @astrojs/markdown-remark    ^7.0.1 → ^7.1.0
- @astrojs/mdx                ^5.0.2 → ^5.0.3
- @astrojs/sitemap            ^3.7.1 → ^3.7.2
- astro                       ^6.0.8 → ^6.1.2
2026-04-01 21:35:02 +02:00
dependabot[bot]
015eea1593
Build(deps): Bump the github-actions group across 1 directory with 4 updates (#42257)
Bumps the github-actions group with 4 updates in the / directory: [github/codeql-action](https://github.com/github/codeql-action), [actions-cool/issues-helper](https://github.com/actions-cool/issues-helper), [nuget/setup-nuget](https://github.com/nuget/setup-nuget) and [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter).


Updates `github/codeql-action` from 4.33.0 to 4.35.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b1bff81932...c10b8064de)

Updates `actions-cool/issues-helper` from 3.7.6 to 3.8.0
- [Release notes](https://github.com/actions-cool/issues-helper/releases)
- [Changelog](https://github.com/actions-cool/issues-helper/blob/main/CHANGELOG.md)
- [Commits](71b62d7da7...200c78641d)

Updates `nuget/setup-nuget` from 2.0.2 to 3.0.0
- [Release notes](https://github.com/nuget/setup-nuget/releases)
- [Commits](d105a94782...12c57947e9)

Updates `release-drafter/release-drafter` from 7.0.0 to 7.1.1
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](3a7fb5c85b...139054aeaa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions-cool/issues-helper
  dependency-version: 3.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: nuget/setup-nuget
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 17:30:52 +02:00
Julien Déramond
fee2962893
Use isRTL util in Drawer JS code (#42254) 2026-03-30 22:26:59 +02:00
Mark Otto
7afff4db6b
Small v6 Reboot updates (#42252)
* Fixes #41700: Remove moz-focus-inner

* Update more Reboot styles to remove button and select text-transform
2026-03-29 14:05:55 -07:00
Mark Otto
eac33c02a0
v6: Rename Offcanvas to Drawer, rebuild Drawer on <dialog> & Dialog, refresh Toasts (#42245)
* Update Offcanvas docs, update transition

* make it all work

* Massive update to rebuild offcanvas as Drawer and share its code with Dialog

* Fix bundle

* fix some issues

* Update tests

* another

* fix

* dupe
2026-03-29 14:05:41 -07:00
Mark Otto
49895652e6
Remove RTLCSS mentions and more (#42246)
* Remove RTLCSS mentions and more

* Remove

* simplify
2026-03-25 22:29:11 -07:00
Julien Déramond
3e784f3ffb
Bump htmlparser2 from 10.1.0 to 12.0.0 2026-03-23 19:58:03 +01:00
Julien Déramond
0575317d84
Bump html-validate from 10.5.0 to 10.11.2 2026-03-23 19:55:10 +01:00
Julien Déramond
cc9bec59fe
Bump jasmine to 6.1.0 and karma-jasmine-html-reporter to 2.2.0 (#42234) 2026-03-23 19:34:54 +01:00
Mark Otto
66c4b5be49
Migrate from infix to prefix (#42203)
* Migrate from infix to prefix

- Replace the breakpoint infix pattern (e.g., `.d-md-none`, `.col-lg-6`) with a prefix pattern using an escaped colon (e.g., `.md\:d-none`, `.lg\:col-6`),
- Rename `breakpoint-infix()` to `breakpoint-prefix()` and add
  `css-escape-ident()` for leading-digit breakpoints like `2xl`
- Update `generate-utility()`, grid, and all component/helper loops
- Update containers, navbar, offcanvas, tables, list-group, stepper,
  dialog, sticky, and stacks responsive classes
- Update SCSS and JS tests
- Update all docs

Made-with: Cursor

* fix for prefix

* fix that

* fix
2026-03-21 14:40:21 -07:00
Mark Otto
9e39d01676
Update Sass and Theme docs to document mixins and functions better (#42173)
* Update Sass and Theme docs to document mixins and functions better

Also remove some unused functions while we're here.

* document it instead

* Fix cspell, add local cspell so i can test in dev
2026-03-21 14:04:24 -07:00
Mark Otto
ac23867714 Rebuild 2026-03-21 13:54:18 -07:00
Julien Déramond
d02c4c4e15
Bump Astro from 5 to 6 (#42222)
* Bump Astro from 5 to 6

* Fix build issues

* Migrate off legacy.collectionsBackwardsCompat

* Bump Node to 24

* Fix local issues

* Fix linting CSS issue
2026-03-21 13:53:44 -07:00
Julien Déramond
d1d56061c4
Wrap alert text content in <p> to fix flex gap issue and improve semantics (#42175)
* Wrap alert text content in `<p>` to fix flex gap issue and improve semantics

* bump

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-03-21 13:13:14 -07:00
Julien Déramond
339f94d5c4
Define .browserslistrc as the single source of truth and embed it in npm package (#42195) 2026-03-21 09:03:57 -07:00
Mark Otto
cee9d6dc0b
Nav & Tab docs updates, plus add Chip Input to JS bundle (#42214)
* Document data attributes

* Split nav and tab docs

* Fix v6 todo: reduce selectors in JS tab plugin

* fix css lint

* bump bw

* fix ids
2026-03-21 09:03:17 -07:00
Julien Déramond
e9a79eadc2
Bump nodemon from 3.1.11 to 3.1.14 (#42220) 2026-03-21 08:20:38 +01:00
Julien Déramond
da9b9ad6c8
Bump prettier from 3.7.4 to 3.8.1 (#42219) 2026-03-21 08:06:20 +01:00
Julien Déramond
a1abbcf60d
Bump zod from 4.1.12 to 4.3.6 (#42217) 2026-03-21 07:50:49 +01:00
Julien Déramond
e54cd6c43c
Bump sass from 1.95.0 to 1.98.0 (#42216) 2026-03-21 07:41:21 +01:00
Julien Déramond
404ad566d8
Remove eslint deps from the pinned deps list and update their minor version (#42215) 2026-03-21 07:27:45 +01:00
Mark Otto
aed8d86666
Rename dropdown to menu, add combobox built on top of menu (#42202)
* Rename Dropdown component to Menu

Replace the Dropdown component with Menu across the entire codebase.
All .dropdown-* classes are now .menu-* classes, data-bs-toggle="dropdown"
is now data-bs-toggle="menu", and the JS export is renamed from Dropdown
to Menu. Includes updated tests, docs, examples, site UI, and config.

* Add new Combobox component

Introduce a searchable select component built on top of Menu, with
single and multi-select support. Includes JS source, SCSS styles,
documentation, and migration notes.

* Add translucent variations for navbar, card, toast, and menu

New .navbar-translucent, .card-translucent, and .toast-translucent
styles with backdrop blur and saturation filters, plus corresponding
documentation sections.

* Update docs site nav, layout, icons, and misc fixes

Clean up docs site navbar SCSS (sticky shadow, remove commented code),
fix empty line rendering in code snippets, add font-size class to
masthead, and add #stack icon symbol.

* Rebuild dist files
2026-03-20 20:06:57 -07:00
Julien Déramond
57701defe8
Bump ESLint to version 10 (#42205) 2026-03-20 18:56:08 -07:00
Julien Déramond
7f53421d3c
Fix some Alert usage by replacing .alert-{severity} by .theme-{severity} (#42209) 2026-03-19 20:05:29 +01:00
Christian Oliff
daa53097bc
Fix link in CONTRIBUTING.md regarding reactions (#42207)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-03-19 16:50:20 +01:00
pricop
7428dc8a86
Added Complex section to Stepper Docs (#42174)
* Added Complex section

I've added a new section called **Complex** to the **Stepper** component to demonstrate how this component can be used in different scenarios.

This is possible as part of: https://github.com/twbs/bootstrap/pull/42165

* Slight rephrase to match the rest of the docs

Slight rephrase to match the rest of the docs

* Updated the badge stepper

Updated the badge stepper to better illustrate how a "Complete" progress would work with multi-step "Complete" / "In-progress" / "Pending" statuses.

* Added vertical complex stepper example

Added vertical complex stepper example

* w-100 is not needed for vertical stepper

w-100 is not needed for vertical stepper

* Revamp

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-03-17 20:03:05 -07:00
pricop
e867fcfaac
Refine Stepper component (#42165)
* Add stepper font size variable to tokens map

Since the `--stepper-size` container is customizable, it makes sense for the `font-size` to be as well, when using larger sizes, larger font size may also be required.

This also changes the default `font-size` to `-sm` size for the counter inside the bubble.

This is the perfect example where if we use the `-sm` variant, it makes the text feel more relaxed inside the bubble.

* Reduce stepper track size from 0.25rem to 0.125rem

This further relaxes the component by taking away the attention from the track itself, allowing bubbles and text to be more easily readable at a glance without feeling overcrowded.

 The industry standard is 1px or 2px at max.

As a result, the stepper tracker has been reduced to down to `2px`  from `4px`

For reference:
- Tailwind UI practices `2px` width: https://tailwindcss.com/plus/ui-blocks/application-ui/navigation/progress-bars#component-4b1efed043d1ab5688c705f2e27524f3
- Material UI practices `1px` width: https://material.angular.dev/components/stepper/overview
- Preline UI practices `1px` width: https://preline.co/docs/stepper.html
- Flowbite UI practices `1px` width: https://flowbite.com/docs/components/stepper/
- ReUI practices `1px` width: https://reui.io/patterns/stepper

* Add align-items start to horizontal stepper

This will make the text to always start at the top, regardless of whether other bubbles have a multi-line text or not.

* Fixed horizontal stepper text gap & text overflow

Fixes the horizontal bottom row being fixed in height, causing the spacing between the count bubble and the text not be the same as intended (as the gap dictates), nor as its vertical stepper counterpart.

This also fixes the text overflowing outside fixed boundaries, causing it to move in places it shouldn't be.

* Refactor to use logical properties

Fixed RTL mode by making use of logical properties instead of physical ones.

* Colored the right side stepper line

Colored the right side stepper line instead of the left side for active elements.

This is the natural way, if I reached the next step, then the edge leading to it should be colored in the color of the completed step.

* Fixed stepper width not account for stepper's gap

Fixed stepper width not account for stepper's gap

* Added complex stepper support for vertical steppers

- Added complex stepper support for vertical steppers.
- Added --stepper-text-gap CSS var (customizable spacing between text & bubble)
- Fixed text overflow for vertical steppers when the text is too long

* Restored 1fr for the rows template

Restored 1fr for the rows template. While I believed it looked better before, I'd rather keep the row size across all steps.

* tweaks

* make container query instead, add new utility to make container queries easier

* Remove stepper playground

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-03-17 19:26:23 -07:00
Julien Déramond
ce3149b701
Bump htmlparser2 from 10.0.0 to 10.1.0 (#42200) 2026-03-17 22:36:23 +01:00
Julien Déramond
d9b29c298e
Bump @floating-ui/dom from 1.7.0 to 1.7.6 (#42199) 2026-03-17 22:19:36 +01:00
Julien Déramond
7538621de9
Build(deps): Bump the github-actions group across 1 directory with 9 updates (#42190) (#42198)
Bumps the github-actions group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6.0.1` | `6.0.2` |
| [actions/setup-node](https://github.com/actions/setup-node) | `6.1.0` | `6.3.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.31.9` | `4.33.0` |
| [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) | `8.1.1` | `8.3.0` |
| [JustinBeckwith/linkinator-action](https://github.com/justinbeckwith/linkinator-action) | `2.3` | `2.4` |
| [actions-cool/issues-helper](https://github.com/actions-cool/issues-helper) | `3.7.4` | `3.7.6` |
| [nuget/setup-nuget](https://github.com/nuget/setup-nuget) | `2.0.1` | `2.0.2` |
| [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) | `6.1.0` | `7.0.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `6.0.0` | `7.0.0` |

Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)

Updates `actions/setup-node` from 6.1.0 to 6.3.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](395ad32622...53b83947a5)

Updates `github/codeql-action` from 4.31.9 to 4.33.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5d4e8d1aca...b1bff81932)

Updates `streetsidesoftware/cspell-action` from 8.1.1 to 8.3.0
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](e5a858a18b...9cd41bb518)

Updates `JustinBeckwith/linkinator-action` from 2.3 to 2.4
- [Release notes](https://github.com/justinbeckwith/linkinator-action/releases)
- [Changelog](https://github.com/JustinBeckwith/linkinator-action/blob/main/CHANGELOG.md)
- [Commits](af984b9f30...f62ba0c110)

Updates `actions-cool/issues-helper` from 3.7.4 to 3.7.6
- [Release notes](https://github.com/actions-cool/issues-helper/releases)
- [Changelog](https://github.com/actions-cool/issues-helper/blob/main/CHANGELOG.md)
- [Commits](d1d51fccf3...71b62d7da7)

Updates `nuget/setup-nuget` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/nuget/setup-nuget/releases)
- [Commits](323ab0502c...d105a94782)

Updates `release-drafter/release-drafter` from 6.1.0 to 7.0.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](b1476f6e6e...3a7fb5c85b)

Updates `actions/upload-artifact` from 6.0.0 to 7.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](b7c566a772...bbbca2ddaa)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: streetsidesoftware/cspell-action
  dependency-version: 8.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: JustinBeckwith/linkinator-action
  dependency-version: '2.4'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions-cool/issues-helper
  dependency-version: 3.7.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: nuget/setup-nuget
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-03-17 22:06:51 +01:00
Julien Déramond
35bd066e9a
Bump lightningcss from 1.30.2 to 1.32.0 (#42196) 2026-03-17 21:49:06 +01:00
Julien Déramond
a89fbb6786
Bump @shikijs/transformers from 3.7.0 to 4.0.2 (#42194) 2026-03-17 20:34:18 +01:00
Julien Déramond
0bf0c536fa
Remove remaining Prism usage (#42193) 2026-03-17 20:18:51 +01:00
Julien Déramond
9c9d2d7d93
Remove src/libs/prism.ts and clean up Prism old code (#42182) 2026-03-17 19:27:37 +01:00
Mark Otto
3bb0e17b9d
v6: Remove _variables.scss, move some vars to _config.scss, and clean up typography (#42184)
* Remove _variables.scss, move rest of _config.scss etc

* Rearrange a bunch of stuff for font vars and classes

* fix

* fix link
2026-03-14 13:00:10 -07:00
Julien Déramond
1385d10328
Bump astro-broken-links-checker from 1.0.6 to 1.0.7 (#42177) 2026-03-13 22:13:35 +01:00
Julien Déramond
9c7fa4325b
Bump markdownlint-cli from 0.45.0 to 0.48.0 (#42176) 2026-03-13 22:05:27 +01:00
Mark Otto
a7f1ee7a29
Update grid build to include grid utilities (#42172)
Also fixes negative margin/gap values by separating negative spacers and doing a multi-map merge
2026-03-13 09:23:10 -07:00
Mark Otto
7ba9b95fc4 user-select text support, closes #41246 2026-03-12 18:47:50 -07:00
Mark Otto
3e61b29db2
Revamp some examples, update navbars to have fallback values for easier color modes (#42164) 2026-03-12 17:50:46 -07:00
Mark Otto
fbf7aa131e
Update GH discussions links (#42163)
Closes #42049.

Co-authored-by: Christian Oliff <1212885+coliff@users.noreply.github.com>
2026-03-12 17:41:39 -07:00
Julien Déramond
5496c17419
Docs: change mobile navbar background color (#42042) 2026-03-12 17:30:50 -07:00
Mark Otto
c5c9f263bc
Use token map for .navbar-nav CSS variables (#42161) 2026-03-12 17:16:38 -07:00
pricop
6f0bdf67b7
Adjust vertical padding and border width for navbar-nav links (#42158)
* Adjust vertical padding and border width for nav links

Adjust vertical padding and border width for nav links

* Update scss/_navbar.scss

Co-authored-by: Mark Otto <markdotto@gmail.com>

* Comment out nav-link-border-color variable

Added support for an optional border-color

* Typo

Used , instead of ;

* Linter

* Reorder for consistency of states

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-03-12 16:52:49 -07:00
pricop
ea3c78a47d
Update nav link & pill items height (#42146)
* Update nav link & pill items height

Currently, `link` and `nav-pills` items height sit at `36px` (because they don't have any borders), while `tab`, and `underline` sit at `38px`, which perfectly matches the height of  `input` and `button` components.

This PR adds an invisible border for the `link` and `nav-pills` items, so that all 4 `nav` variants share the exact same height, regardless of which is used, which makes it suitable to be used with other components, such as `input` or `buttons` for example, as described in this discussion: https://github.com/orgs/twbs/discussions/42145 without having discrepancy when it comes to elements height.

* Update scss/_nav.scss

Co-authored-by: Mark Otto <markdotto@gmail.com>

* Shortened the code for borders & pill active states

Shortened the code for borders by using `border` attribute.

Also applied the correct background for pill shaped items.

* Removed border from nav links in DocsSidebar

Removed the invisible border so that the sidebar remains as condensed as it was before.

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2026-03-12 16:48:03 -07:00
Mark Otto
d373999092 update 2026-03-12 15:04:09 -07:00
Mark Otto
9cdde3d785
Migrate JS to ESM only (#42132)
* Migrate JS to ESM only

* fixes

* rerun dist

* fixes

* Address review feedback, restore babelrc, update script tags

* Make it shake(able)

* fixes for docs after going ESM

* update migration

* bundlewatch

* bump bundlewatch again

* Fix up docs and examples

* fix

* Review and update again with latest rebased changes

* more better, update spacing in prose
2026-03-12 14:56:14 -07:00
Mark Otto
f9628025d3
Add VCP to build and docs guides (#42157)
* Add VCP to build and docsguides

* fix
2026-03-12 10:03:51 -07:00
Mark Otto
be29612479 undo the punctuaction changes 2026-03-11 17:16:38 -07:00
Mark Otto
88453beaa0
Update npm guide (#42156)
* Update npm guide

- Fix some prose content styles
- Update some related things in other guides

* comment out
2026-03-11 17:09:25 -07:00
Mark Otto
7f33177d75 More datetime field resets in Reboot
Plus a docs update

Co-Authored-By: Jonas Pardeyke <142009152+pardeyke@users.noreply.github.com>
2026-03-11 16:26:05 -07:00
Mark Otto
190f6887a4 remove unused 2026-03-11 16:12:22 -07:00
Mark Otto
785a8cb9b3
Remove RTL examples, move RTL docs page to Customize section (#42150)
* Remove RTL examples, move RTL docs page to Customize section

* add link

* fixes

* nice
2026-03-11 13:51:27 -07:00
Mark Otto
c87669fd77
Fix docs links in inline HTML (#42151)
* Fix docs links in inline HTML

* ya
2026-03-11 13:51:15 -07:00
Mark Otto
27483ddf53
Update button selectors and class usage (#42149)
* Fix a ton of btn classes

* Update buttons class list, no need for .btn on any variants now, update classes across docs and examples

* fix
2026-03-11 13:18:51 -07:00
Mark Otto
ead00c6b46
Improve code snippets (#42148)
* Improve code snippets

* format/lint
2026-03-11 13:18:37 -07:00
Julien Déramond
eed1a6cd0c
Add astro-broken-links-checker to detect and fix broken internal links (#42099) 2026-03-11 18:51:35 +01:00
Mark Otto
fc63954473 Update pagination size docs after merging #42317 2026-03-10 14:25:19 -07:00
pricop
ee683f2277
Fixed the pagination component not matching the input / button (#42137)
* Fixed the `pagination` component not matching the `input` / `button` components min-height

Fixed the `pagination` component not matching the `input` / `button` components min-height.

See discussion: https://github.com/orgs/twbs/discussions/42136

Feel free to reject if this component isn't supposed to be used like in my examples.

* Reordered the flex / min-height attribute order

Moved min-height attribute after the flex related attributes (to match the order from other components). It's a trivial change.
2026-03-10 14:24:37 -07:00
Mark Otto
eaccc43532 Make mdo's life easier for testing 2026-03-10 14:21:11 -07:00
Mark Otto
859965372e Embrace the 1rem 2026-03-10 14:21:04 -07:00
Mark Otto
6a2a8ef5de Reorganize some v6 form control sizing docs after resize PR merged 2026-03-10 14:20:59 -07:00
pricop
2f6843d2a0
New root defaults for inputs and buttons (#42139)
* New root defaults for inputs and buttons

Both the buttons and the inputs are too large for what they're designed for.

This PR normalizes the difference between variants by making them more uniform.

It also makes it match more closely to BS4, BS5, Tailwind, Catalyst, etc.

I don't want to repeat everything that I've wrote in the v6 feedback, so kindly please have a read at: https://github.com/orgs/twbs/discussions/42138

Feel free to decline this PR if you believe the current defaults are fine.

* Adjust button input vertical padding

Since line-height is `1.5`, the `-y` padding should have stayed the same at `.375rem` (that totals to `2.25rem` (`36px`) plus the borders, it's `2.375rem` (`38px)).
2026-03-10 14:20:14 -07:00
Mark Otto
0c1a38545d
Add param to grid mixins for y gutter (#42130)
Co-authored-by: Florian Lacreuse <florianlacreuse@users.noreply.github.com>
2026-03-09 10:20:03 -07:00
Mark Otto
03038b6a1c
Rename datetime edit minute pseudo-element (#42140)
Fixes #42052, fixes #42007.
2026-03-09 10:14:01 -07:00
Mark Otto
be967fea1c
Check for required fields in utility API mixin (#42127)
* Add basic check on values and property fields

* next level of checks
2026-03-08 20:33:36 -07:00
Mark Otto
194f9a02a3
Quick markup improvements for card (#42131) 2026-03-08 20:31:11 -07:00
Mark Otto
360684d206
Use a box-shadow on .nav-tabs to prevent subpixel rendering issues (#42126) 2026-03-07 20:45:13 -08:00
Mark Otto
7092989cfa Add nested accordion demo 2026-03-07 20:15:47 -08:00
Mark Otto
86373cee70 let dropdown-item use theme colors 2026-03-07 20:15:47 -08:00
Mark Otto
a5717e607e
Rename $grid-breakpoints to $breakpoints, add to root tokens (#42124)
* Rename breakpoints var, output to root

* fixes
2026-03-07 16:34:09 -08:00
Mark Otto
8f514397e2 fix missing pages 2026-03-07 16:31:18 -08:00
Mark Otto
3ef70a67b3 Rebuild dist 2026-03-07 16:00:08 -08:00
Mark Otto
b4af220b90
v6: Refresh navbar, offcanvas, Components nav, and clean up themes docs (#42048)
* Add some CSS vars to nav component, use nav in sidebar more, update toc and ads

* Massive update

* fix cspell

* More improvements

* update icons

* more updates

* revamp offcanvas

* Fix up few things

* order

* bump bundle

* unsure why this doesn't match locally

* Nav, stacks, and more improved

* color mode fixes

* sooooo much better

* cleanup, prevent lightningcss color-mix() to lab() conversion, remove more

* bump

* fixes

* more improvements

* more
2026-03-07 15:59:35 -08:00
Mark Otto
be1553ea06
v6: Detect unused Sass imports (#42121)
* Remove unused imports

* New script

* Fix

* More unused
2026-03-06 08:24:57 -08:00
Mark Otto
8ad6871725
Update blockquote to restore some OG styling, show nested example in docs (#42120) 2026-03-06 08:24:42 -08:00
Mark Otto
96c10ccd15 Update ignore 2026-03-05 21:06:40 -08:00
Mark Otto
c8846b02a2
v6: Restore 16px base font-size (#42119)
* Restore 16px base font-size

* More

* Update docs CSS to account for font-size change

* Redo several components and tokens for font-size change

- Checks, radios, switches get new sizing to better match 16px base font-size. These are now way more consistent with one another.
- Updates other components to use new sizing as appropriate.
- Pagination now sized to match inputs/buttons.
- Clean up some other font tokens

* Fix

* fix code example
2026-03-05 12:20:02 -08:00
Mark Otto
7ac664465a
Update control CSS vars (#42113)
* Update input vars to be control vars

* Update radio, check, and switch to use new control vars

* bump bundle
2026-03-04 09:20:39 -08:00
Mark Otto
36ff50095a
Rename $new-theme-colors to $theme-colors, update docs for old and new theme maps (#42112) 2026-03-03 21:49:35 -08:00
Mark Otto
6bb799fe42
v6: Use token Sass map to customize CSS variables instead of Sass variables (#41983)
* Test out using a Sass map for component tokens

* improvements, show how root would work

* WIP updating components to use new map

* more

* fix unused vars, fix test

* Start form vars

* Improve some code work

* Amazing form-range update

- New CSS vars and tokens
- New mixins

* More CSS vars tokens

* OTP tokens

* Tons of tokens updates, also some validation improvements

* fix bundlewatch

* mdx lint

* more bundlewatch

* fixes

* fix dupe id

* Remove button-variables.scss, update buttons to use token maps

* more

* more

* improve tests

* more improvements, lots of docs updates

* bump bundle

* revamp so we can customize, update docs

* fix

* simpler

* fixes

* use mixin instead, check for null values

* better customizing maps

* improvements

* update docs, update bundle
2026-03-03 10:51:44 -08:00
Julien Déramond
a455382bf1 Add .not-prose class to revert .prose behavior 2026-03-02 10:14:20 -08:00
Julien Déramond
d38c1dba93
Update version of package-lock.json 2026-02-24 20:37:50 +01:00
Julien Déramond
3b50655c57 Docs: mention subbreddit and Discord community in contributing guidelines 2026-02-23 20:48:18 +01:00
Julien Déramond
3e1bf710fc Docs: mention v6 instead of v5 in contributing guidelines 2026-02-23 20:48:18 +01:00
Julien Déramond
030fd24e9a
Docs: remove unused .bd-file-ref class (#42091) 2026-02-21 15:10:32 +01:00
Julien Déramond
0b55e22964 Docs: remove alpha mention for BootstrapVueNext in JavaScript page 2026-02-15 21:06:24 -10:00
Julien Déramond
93dd12d754 Docs: only mention Bootstrap 6 and 5 in footer 2026-02-15 21:06:08 -10:00
Julien Déramond
a4614a54b5 Bump copyright and example dates from 2025 to 2026 2026-02-15 21:05:42 -10:00
Julien Déramond
3551b0f080 Docs: update versions selector to mention v6 as alpha and v5 as latest 2026-02-15 21:05:15 -10:00
Julien Déramond
977d560817 Docs: enhance versions page to identify 5.3 as latest 2026-02-15 21:04:50 -10:00
Julien Déramond
da8d86c292 Docs: switch to /6.0/ and mention 6.0.0-alpha1 version 2026-02-14 15:49:51 -10:00
Julien Déramond
483e93c017
Docs: fix some code copy use cases (#42068) 2026-02-08 08:26:03 +01:00
Christian Oliff
172f1069b6
Bump vanilla-calendar-pro from 3.0.5 to 3.1.0 and move Datepicker docs to forms section (#42037) 2026-01-27 07:45:30 +01:00
Julien Déramond
6b7929674a
Docs: add v6 in versions page (#42040) 2026-01-26 20:29:57 +01:00
Julien Déramond
f3a1538324
Add docs-lint to lint command (#42039) 2026-01-26 20:22:27 +01:00
Julien Déramond
1ecb4f2970
Docs: fix 'Duplicate id warning-data-bs-title-vs-title found' (#42038) 2026-01-26 20:21:50 +01:00
Christian Oliff
a917c1e8c2
docs: v6 docs fixes (#42030)
* docs: v6 docs updates

- Replace Popper with Floating UI
- Fix names on Migration docs

* Update site/src/content/docs/guides/npm.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update site/src/content/docs/guides/parcel.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update site/src/content/docs/guides/webpack.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update site/src/content/docs/guides/vite.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-23 08:01:20 -08:00
Christian Oliff
3d4052bf17 docs: add role="switch" to switches
`role="switch"` is automatically added to checkboxes with the switch attribute in Safari, but we still need to add `role="switch"` for Chromium and Firefox etc,
2026-01-20 10:48:52 -08:00
Mark Otto
66a68ace66 Dist rebuild 2026-01-19 21:02:53 -08:00
Mark Otto
d166d91682
Add new chip input and chips (#42008)
* Add new chip input and chips

* More fixes to build and linter

* Bump bundlewatch

* fix dupe id
2026-01-19 21:01:55 -08:00
Mark Otto
f603279c6b
Update docs sidebars (#42011)
* Add some CSS vars to nav component, use nav in sidebar more, update toc and ads

* more iterations on ToC and ads layout
2026-01-19 19:53:54 -08:00
Julien Déramond
57a8016359 Docs: remove unused DETAILS_README shortcode 2026-01-14 12:23:52 -08:00
Julien Déramond
39a38eeb8c Docs: use fg-* text color utilities instead of text-* in Spinner page 2026-01-14 12:23:27 -08:00
Mark Otto
af23040841
Quick home and Stepper fixes (#42009)
* Fix masthead

* fix stepper while here
2026-01-11 20:17:17 -08:00
Julien Déramond
9fbea48f3c Fix Utilities > Theme examples text in some cases 2026-01-09 15:08:04 -08:00
Mark Otto
d6f09c6e27 Replace rgba(), remove *-rgb variables 2026-01-09 09:09:00 -08:00
Mark Otto
65c7fadffe Fixes #41906: Add accent-color in Reboot for form control styling 2026-01-08 20:53:01 -08:00
Mark Otto
3e9f575b34
Organize as peer deps (#42001) 2026-01-08 20:48:11 -08:00
Mark Otto
22ecd4552e
Rebase fixes and follow-ups (#42002)
* Fix some CSS linting

* Fix package-lock and update html-validate to v10

* remove? lol
2026-01-08 20:43:25 -08:00
Mark Otto
02581d402b New Stepper component (#41999)
* New Stepper component

* more

* Improvements to stepper, fix other playgrounds while here

* bump bundlewatch
2026-01-08 20:14:09 -08:00
Mark Otto
9a106f35de New avatar component (#41997)
* New avatar component

* bump
2026-01-08 20:14:09 -08:00
Mark Otto
9691b474bb Fix some JS todos and warnings (#41998)
* Fix some JS todos and warnings

* Undo some
2026-01-08 20:14:09 -08:00
Mark Otto
a43c9772cb fix script for eslint 2026-01-08 20:14:09 -08:00
Mark Otto
e6f325ada9 Fix bundlewatch after lightningcss restored our missing css 2026-01-08 20:14:09 -08:00
Mark Otto
bb70101483 Switch from clean-css to lightningcss for minifying 2026-01-08 20:14:09 -08:00
Mark Otto
d76a0ce008 Try to fix v6-dev preview deploy on Netlify 2026-01-08 20:14:09 -08:00
Mark Otto
3e230b706e Fix some scss-docs 2026-01-08 20:14:09 -08:00
Mark Otto
01200ee0f2 Run dist while here 2026-01-08 20:14:09 -08:00
Mark Otto
25baa83375 Bump bundlewatch while here 2026-01-08 20:14:09 -08:00
Mark Otto
82a17fd359 Add stylelint order plugin 2026-01-08 20:14:09 -08:00
Mark Otto
6ef610a9be Follow-up fix to datepicker I forgot to push 2026-01-08 20:14:09 -08:00
Mark Otto
b0c0ff3e25 New Datepicker plugin via Vanilla Calendar Pro, new .form-adorn component (#41965)
* First pass at datepicker via Vanilla Calendar Pro

* fixes

* optimize

* Docs updates, add advanced config

* rename attr

* edits

* Update datepicker docs, improve color modes, add tests

* New .form-adorn component for overlaying icons and text with inputs

* temp

* bump limits

* cleanup and simpler selectors

* few more tweaks

* Remove comment

* Fix multi-month, reorg some docs content, fix selections
2026-01-08 20:14:09 -08:00
Mark Otto
35dc869220 Add tests for new form components 2026-01-08 20:14:09 -08:00
Mark Otto
9c32c543a3 New OTP input (#41981)
* feat: add OTP input component

- Add OtpInput JavaScript component with keyboard navigation and paste support
- Add SCSS styles for OTP input fields
- Add documentation page for OTP input
- Add unit tests for OTP input

* Bump bundlewatch

* Missed file
2026-01-08 20:14:09 -08:00
Mark Otto
25f33a86d5 Password strength plugin (#41980)
* feat: add password strength component

- Add Strength JavaScript component with customizable scoring
- Add SCSS styles for strength meter and bar variants
- Add documentation page for password strength
- Add unit tests for strength component

* Bundle bump

* More bundle
2026-01-08 20:14:09 -08:00
Mark Otto
8c66e3b814 New Toggler plugin (#41966)
* Toggler compontent from upstrea PR

* Update docs

* Fix comments, data_key, and cleanup some code; add tests too

* bump

* edits
2026-01-08 20:14:09 -08:00
Mark Otto
1731460a2c First pass at submenu support (#41967)
* First pass at submenu support

* Remove unused constants

* Fix up linter errors

* Logical properties for placement

* Better docs playground for dropdowns

* refactor and update bundles

* more tests, fix broken tests

* more tests

* more

* more
2026-01-08 20:14:09 -08:00
Mark Otto
74bc7d411f Additional .theme-* utilities to replace color background helpers and more (#41978)
* New .theme-* utilities for consuming the existing .theme styles, replace color-background helpers

* Update blue to be less indigo

* Rebuild metadata

* mdx lint

* Fix docs link while here

* Fix up some docs work while here

* links
2026-01-08 20:14:09 -08:00
Mark Otto
9b42d6dd09 More button cleanup (#41968)
* Clean up button vars, docs, fix up .btn-link

* more buttons docs cleanup

* Remove colored links for theme utilities

* Fix scssdocs

* Fix broken link

* Fix another link
2026-01-08 20:14:09 -08:00
Mark Otto
d1a0af7f1e Update cards for v6 (#41964)
* Start process of redoing Cards

* better

* So much better

* fix link
2026-01-08 20:14:08 -08:00
Mark Otto
002b9a6602 Breadcrumbs (#41956)
* Redo breadcrumb

* Cleanup
2026-01-08 20:14:08 -08:00
Mark Otto
4863ab3da2 Add a tabular bundlewatch script (#41957)
* Script for better bundlewatch locally

* Fix linter
2026-01-08 20:14:08 -08:00
Mark Otto
1e0861bfb9 Update some badge stuff (#41955) 2026-01-08 20:14:08 -08:00
Mark Otto
a7de636a0c Improve accordion (#41953) 2026-01-08 20:14:08 -08:00
Mark Otto
07de62edba Update Alert and tweak some divider styles (#41954)
* Redo some alerts CSS, fix hr and vr components

* fix link
2026-01-08 20:14:08 -08:00
Mark Otto
b085a6a35c Fix broke thing 2026-01-08 20:14:08 -08:00
Mark Otto
1fc1c796c6 Prefix CSS variables with PostCSS (#41951)
* Add custom property prefixing postcss plugin

* Remove $prefix variable, replace with PostCSS plugin to prefix CSS variables
2026-01-08 20:14:08 -08:00
Mark Otto
02d2888760 Rename some components to be singular (#41952)
* Singular spinner

* Rename some component files to be singular
2026-01-08 20:09:54 -08:00
Mark Otto
7895d6569a Standardize focus styles using focus-ring mixin (#41950)
* Standardize focus styles using focus-ring mixin

Replace box-shadow focus styles with consistent focus-ring() mixin across components:
- Accordion, nav, pagination now use @include focus-ring(true)
- Forms (checkboxes, radios, switches, range, controls) use focus-ring mixin
- Update focus-ring-offset default from -1px to 1px
- Remove deprecated *-focus-box-shadow variables

* Fix some focus styles

* Remove unused CSS

* Remove more box-shadow on buttons
2026-01-08 20:09:54 -08:00
Mark Otto
51beea1d91 Upgrade to Sass v1.95.0, redo if() style (#41943)
* Migrate to latest Sass, redo if() style

* Refactor and disable
2026-01-08 20:09:53 -08:00
Mark Otto
c46c1be2ff Generate dist in v6-dev for first time (#41945)
* Generate dist in v6-dev for first time

* Rebuild after browserslist upgrade
2026-01-08 20:09:04 -08:00
Mark Otto
7cdd62a831 Update browserslistrc (#41947) 2026-01-08 20:09:04 -08:00
Mark Otto
ba0c015228 Generate badge variants (#41942)
* Generate badge variants

* Docs example
2026-01-08 20:09:04 -08:00
Mark Otto
52012a8557 Migrate from Popper to Floating UI (#41941)
* Migrate to Floating UI for tooltips, popovers, dropdowns

* Bump bundlewatch

* Dropdown tests

* add floating ui tests from claude

* more

* build sri

* more tests while here
2026-01-08 20:09:03 -08:00
Mark Otto
3b48ace969 Remove RTLCSS
- Remove RTL CSS files from dist and zip script
- Update Sass to use more logical properties
- Misc docs and CSS fixes
2026-01-08 20:08:33 -08:00
Mark Otto
3f0a82fdc2 Switch from xlink:href to href on SVG use 2026-01-08 20:08:33 -08:00
Mark Otto
a43691bffd Remove RFS from v6 (#41938)
* Unrelated: fix link

* Clean up elsewhere

* Remove RFS from Sass and docs

* Linter errors
2026-01-08 20:08:33 -08:00
Mark Otto
9c21d7029b More close button updates (#41937)
* Clean up close button more

* New placeholder for docs examples

* CSS lint fix
2026-01-08 20:08:33 -08:00
Mark Otto
b9f28067a0 Fix some sidebar sizing (#41936) 2026-01-08 20:08:33 -08:00
Mark Otto
08cc0a80d1 Rebuild Close button component (#41935)
- Use inline SVGs instead of embedded for CSP
- Also allows greater customization
- Modifies examples to use the latest
2026-01-08 20:08:32 -08:00
Mark Otto
024dc0a217 Update Prose to use flexbox, reduce overhead with docs styles (#41934)
* Update Prose to use flexbox, reduce overhead with docs styles

* Fix up some table styles
2026-01-08 20:08:32 -08:00
Mark Otto
63552cc390 Fix up button group with latest buttons (#41933) 2026-01-08 20:08:32 -08:00
Mark Otto
a19a8fb911 Replace Modal with new Dialog component (#41917)
* Add Dialog component using native HTML dialog element

New component that leverages the native HTML <dialog> element for modals
and non-modal dialogs with built-in backdrop and accessibility support.

Features:
- Modal dialogs using showModal() with automatic backdrop
- Non-modal dialogs using show() for persistent UI elements
- Static backdrop option (prevents close on outside click)
- Keyboard support (Escape to close, focus trapping for modals)
- Smooth open/close animations via CSS
- Events: show, shown, hide, hidden, hidePrevented
- Data API for toggling with data-bs-toggle="dialog"

JavaScript:
- js/src/dialog.js - Main component class
- js/tests/unit/dialog.spec.js - Unit tests
- js/tests/visual/dialog.html - Visual test page

SCSS:
- scss/_dialog.scss - Component styles

Docs:
- Add dialog component documentation
- Update modal docs with dialog references

* Modal examples now Dialog examples, needs improvement

* Remove all of Modal

* real words

* Fix layout while I'm here

* Lint Markdown

* New dialog size options
2026-01-08 20:08:32 -08:00
Mark Otto
f89e29786c Button cleanup (#41928) 2026-01-08 20:08:32 -08:00
Mark Otto
1c30ec75b5 Set max-width for bd-content to 100% 2026-01-08 20:08:32 -08:00
Mark Otto
397eeca443 Fix badge theme variable fallback order (#41920)
Move --bs-theme-* variable usage from CSS variable definitions to property
declarations. This ensures the fallback works correctly:
- color: var(--bs-theme-contrast, var(--bs-badge-color))
- background-color: var(--bs-theme-bg, var(--bs-badge-bg))

Also fixes .badge-subtle variant to use same pattern.
2026-01-08 20:08:32 -08:00
Mark Otto
3acb4623dc Refactor CSS variables and design tokens (#41922)
- Rename --bs-color-* to --bs-fg-* for foreground colors
- Simplify font-size variables (remove clamp for xs/sm/md)
- Remove deprecated secondary/tertiary color variables
- Clean up commented-out legacy variable declarations
2026-01-08 20:08:32 -08:00
Mark Otto
f9aa3ee1da New docs structure (#41919)
* Reorganize documentation structure

Getting Started:
- Simplify introduction.mdx to focus on basics
- Add install.mdx with package manager instructions
- Move approach.mdx from Extend to Getting Started
- Delete best-practices.mdx (merged elsewhere)
- Update javascript.mdx

Guides:
- Add quickstart.mdx for CDN-based quick start
- Add npm.mdx guide with screenshots
- Update parcel, vite, webpack guides

Extend:
- Remove approach.mdx (moved to Getting Started)
- Remove icons.mdx

Sidebar:
- Restructure navigation to reflect new organization
- Add Install and Approach to Getting Started
- Add Quickstart and npm to Guides

Also includes minor doc updates:
- customize/sass.mdx
- utilities/background.mdx
- utilities/colors.mdx

* Optimised images with calibre/image-actions

* fix broken link and update sidebar

* Optimised images with calibre/image-actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 20:08:32 -08:00
Mark Otto
a8dfc47a6b Run jobs on v6-dev too 2026-01-08 20:08:32 -08:00
Mark Otto
1e6b534ff8 Docs design updates (#41918)
* Refactor docs site styling and Shiki integration

Code Highlighting:
- Enhance Code.astro with Shiki transformers and Bootstrap theme
- Add tab support for multi-language code examples
- Add toolbar with language labels and copy button
- Support diff highlighting via @shikijs/transformers

Components:
- Update Example.astro styling and structure
- Refine DocsSidebar.astro layout
- Update Navigation, Versions, and GetStarted components
- Update ThemeToggler.astro
- Minor updates to ReferenceTable, Swatch components

Site SCSS:
- Restyle code snippets and examples (_component-examples.scss)
- Update syntax highlighting styles (_syntax.scss)
- Refine sidebar styling (_sidebar.scss)
- Update search component styles (_search.scss)
- Update navbar styles (_navbar.scss)
- Refresh callouts, clipboard, content styles

Config & Assets:
- Update astro.config.ts for Shiki
- Add sticky.js partial
- Update application.js
- Update guide screenshots (parcel, vite, webpack)

* fixes

* update images

* update permissions

* Optimised images with calibre/image-actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 20:08:32 -08:00
Mark Otto
bb671dc881 Refactor nav and navbar components
- Add $nav-gap and $nav-link-gap variables for flexbox gap layout
- Rename nav link color variables to use --bs-fg-* tokens
- Add active state variables ($nav-link-active-color, $nav-link-active-bg)
- Add hover background variable ($nav-link-hover-bg)
- Update .nav and .nav-link to use flexbox with gap
- Update related documentation
2026-01-08 20:07:16 -08:00
Mark Otto
e27184c209 Migrate from Prism to Shiki (#41821) 2026-01-08 20:07:16 -08:00
Copilot
de7f31c60d Remove browsers and devices documentation page (#41875)
* Initial plan

* Initial commit - planning to remove browsers-devices page

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>

* Remove browsers-devices page and all references

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>

* Add browser support info to Introduction page

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2026-01-08 20:07:16 -08:00
Copilot
9899396ca5 Remove Contents page from documentation (#41876)
* Initial plan

* Remove Contents page from docs and all references

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
2026-01-08 20:07:16 -08:00
Mark Otto
3468e90206 Remove RTLCSS dependency, update docs and CSS to use native RTL (#41858)
* Remove RTLCSS dependency, update docs and CSS to use native RTL

* Rewrite more RTL stuff, was too verbose
2026-01-08 20:07:16 -08:00
Mark Otto
1ee4299a0e v6: More logical properties (#41857)
* Logical properties for borders

* More logical properties for text, position, and more

* More logical for the docs
2026-01-08 20:07:16 -08:00
Mark Otto
d5c0908bd2 v6: Switch to logical properties (#41854)
* Convert remaining utilities to all logical properties

* Move to logical properties

* Fix linter errors, bump bundlewatch
2026-01-08 20:07:16 -08:00
Mark Otto
2a6b682e90 v6: Cleanup utilities (#41818)
* Split font utilities, update API to do more pseudo classes, drop display type classes

* Improve display docs, remove print display utils

* Document gap and grid utils, rename a couple classes

* better url

* Fix color-mix

* Undo utilities API change for now

* fix api changes

* Bundlewatch

* Linter cleanup

* Massive utilities update

- Split several utilities across smaller pages
- New underline thickness utility
- Updated text-wrap utility to use `text-wrap` property, removes white-space utils
- Adds a dozen new width utilities for now—TBD if we keep this, they're not documented yet
- Redoes the color utilities—color, background color, border color, link color—to use color-mix without attribute selectors. Faster, simpler, better support for overriding other components.
- Redesigns margin, padding, gap utils pages—shoutout Tailwind for having a better visualization here. Cribbed their approach to emphasize spacing utilities.
- Fixed up a lot of usages of color utilities, likely more to do
- Fixed up a lot of broken links, probably also more to do

* New details component, simpler a11y color contrast warning, updated docs bottom nav, updated ref tables

* Avoid name collision, update to demo thickness hover

* Rename $new-font-sizes to $font-sizes

* Update width and height docs

* Few cleanup tweaks

* Remove unused attribute selector for borders

* Fixes

* more bundle

* fixes

* spelling

* add json
2026-01-08 20:07:16 -08:00
Mark Otto
fb127b9131 v6: Drop component variants for global .theme-* classes (#41789)
* New theme classes, revamped buttons

* bundle, lint, more cleanup

* update checks and radios

* Improve table theme variant usage

* remove table-border-factor
2026-01-08 20:07:16 -08:00
Mark Otto
13e0b4fa94 v6: Move some Getting Started content into new Guides section (#41797)
* Move some docs content around

* Update links
2026-01-08 20:07:16 -08:00
Mark Otto
0a361cb35b Add .prose class (#41791) 2026-01-08 20:07:16 -08:00
Mark Otto
4349cd0533 v6: Range media queries (#41786)
* wip

Co-Authored-By: mdo <98681+mdo@users.noreply.github.com>

* linty linterton

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
2026-01-08 20:07:16 -08:00
Mark Otto
985ec3fcc7 Follow up: custom switches get themes 2026-01-08 20:07:16 -08:00
Mark Otto
1de640f870 Scope docs CSS to custom layer 2026-01-08 20:07:16 -08:00
Mark Otto
439b527e87 v6: Update colors and theme (#41763)
* new colors

* WIP: Redo some theming

* Fix sass warnings on unquoted map keys

* Revamp colors, update docs, couple new utils

* Remove key attributes

* Bump bundlewatch

* Bundlewatch

* Fix some things up

* Clean up tables, more color changes

* Fix more table color generation, simplify markup with new Table component prop

* More docs improvements, including utilities API, and checkbox and radio theme variants
2026-01-08 20:07:16 -08:00
Mark Otto
fb9e59e5f9 New validator (#41775)
* New validator

* update

* remove

* update
2026-01-08 20:07:15 -08:00
Mark Otto
2b77fe169a Fix instances of 2xl, fix utilities generation (#41774) 2026-01-08 20:06:24 -08:00
Mark Otto
17ca0c3e8f v6: New lg, xl, and 2xl breakpoints, plus some renaming (#41770)
* Update xxl breakpoint and container, rename xxl to 2xl for better scaling

Co-Authored-By: mdo <98681+mdo@users.noreply.github.com>

* note for lg

* bump bundlewatch

---------

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
2026-01-08 20:06:23 -08:00
Mark Otto
b1a828e3a0 Start to redo generate-utility() (#41769)
* Start to redo generate-utility()

* fixes

* bundlewatch
2026-01-08 20:06:23 -08:00
Mark Otto
aecada4019 WIP: New form controls (#41740)
* New form controls

* Split Sass, update docs

* More migration docs

* basic migration, update changelog

* Bring back btn-check for now, but move to button stylesheet

* note

* Fix link

* lint
2026-01-08 20:06:23 -08:00
Mark Otto
85e595a5c4 Use @forward instead of @use for proper customization (#41762)
* Use `@forward` instead of `@use` for proper customization

* linty linterson

* woof
2026-01-08 20:06:23 -08:00
Mark Otto
ccf29fee9b v6 Migration guide (#41683)
* wip

* More updates
2026-01-08 20:06:23 -08:00
Mark Otto
2fab6cf367 v6: Add sub-groups to Utilities docs (#41758)
* Split the flex.mdx file into separate pages

* Add subgroups to docs utils nav

* More new groups, split pages

* Update MDX linter

* fixes
2026-01-08 20:06:23 -08:00
Mark Otto
524903af1b v6: justify-items and place-items utilities (#41757)
* Add utilities for place-items and justify-items

* bump
2026-01-08 20:06:23 -08:00
Mark Otto
003cc76d29 Remove !important from utilities, make it opt-in per utility (#41755)
* Remove !important from utilities, make it opt-in per utility

* package-lock

* Fix test
2026-01-08 20:06:23 -08:00
Mark Otto
0febb85e01 v6: Add reference tables to utilities docs, add community links to some pages (MDN, CSS Tricks) (#41749)
* wip

* improve

* Add more utility refs

* Remove important flag from the utilities

* update

* Start on helpers

* fixes

* fix links
2026-01-08 20:06:04 -08:00
Mark Otto
1d53da1d18 New forms and buttons (#41708) 2026-01-08 20:06:04 -08:00
Mark Otto
606c70a013 Colocate Sass vars in their respective files (#41706)
* Co-locate Sass variables in most files

* another

* fix

* Don't bring tables into reboot, temp remove some sass vars so we don't need the co-dependency

* Move vars

* bundlewatch

* scssdocs

* Fix scssdocs
2026-01-08 20:06:04 -08:00
Mark Otto
c85ea915d0 Refactor accordion button to use mask, remove some Sass vars and dark mode styles (#41703) 2026-01-08 20:06:04 -08:00
Mark Otto
24144f40e5 Restore both grids , enable CSS grid by default, and update mixins (#41702)
* Restore both grids and update mixins

* Bundlewatch
2026-01-08 20:06:04 -08:00
Mark Otto
856b9be67a First pass at CSS layers (#41701)
* First pass at CSS layers

* bundlewatch

* more bundlewatch
2026-01-08 20:06:04 -08:00
Mark Otto
72e3d57497 Migrate to Sass modules (#41512)
* Reorganize scss folder

* Migrate to Sass modules

* Migrate docs to Sass modules, comment out docs grid CSS

* Give helpers folder an index.scss, migrate ratio helper to aspect-ratio utility

* Delete node sass Action

* Modify Sass tests to pass for new Sass modules implementation

* Don't disallow calc()

* Move heading classes back to Reboot to prevent a dependency

* Utilities, some helpers, and theme colors

* Temporary fix of docs compilation

* Temporary Bundlewatch fix

* docs fix import to use

* Restyle docs callouts

* Fix docs colors

* Revert typo

* Reintroduce `css-lint-vars` npm script

* Bump to Sass v1.90.x

* Fixes

* more

* Remove

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2026-01-08 20:06:02 -08:00
Mark Otto
aff8d44974 Co-locate heading and some type styles in Reboot to avoid some extends and extra dependencies once we migrate to Sass modules (#41697) 2026-01-08 20:02:50 -08:00
Mark Otto
76943f6cea Remove added badges from docs pages (#41694)
* Remove added badges from docs pages

* Remove AddedIn
2026-01-08 20:02:50 -08:00
Mark Otto
0d08931e9d Clean up deprecated Sass (#41693)
* Remove all deprecated Sass variables and deprecation notices from docs components

* Fix linter error

* fix
2026-01-08 20:02:50 -08:00
Mark Otto
6c3491c405 Drop -prefix (#41692) 2026-01-08 20:02:50 -08:00
Mark Otto
971ecd25ed Rename mh-* and mw-* to max-h/w-*, add additional width and height va… (#41687)
* Rename mh-* and mw-* to max-h/w-*, add additional width and height values

Fixes #41330, fixes #40674.

* Bump bundlewatch
2026-01-08 20:02:50 -08:00
Mark Otto
e6c707cc0b Drop clearfix for display: flow-root (#41686)
* Drop clearfix for display: flow-root

* Fix links
2026-01-08 20:02:50 -08:00
Mark Otto
02957fc0b7 Add Markdownlint for our MDX (#41685) 2026-01-08 20:02:50 -08:00
Mark Otto
b690f11076 Remove jQuery support in plugins (#41682) 2026-01-08 20:02:49 -08:00
Mark Otto
a6089275d7 Move ratio from helpers to utilties (#41684)
* Convert .ratio helper to new .ratio utility

* Fix up

* Fix links for now, even though they'll be deleted
2026-01-08 20:02:18 -08:00
Mark Otto
c1434fe744 v6: Don't disallow calc (#41681)
* Don't disallow calc()

* Remove disables that aren't needed

* Remove custom subtract and add functions

* Remove more disables

* keep it here
2026-01-08 20:02:18 -08:00
1158 changed files with 146957 additions and 124299 deletions

4
.gitignore vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4463
dist/js/bootstrap.esm.js vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more