diff --git a/CHANGELOG.md b/CHANGELOG.md index 885058b08..c579736bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# 11.1.0 (2026-11-17) + +Props that map to a fixed set of Bootstrap classes are typed as string unions instead of `string`. Runtime output is +unchanged; code passing a typo or a plain `string` variable now fails to type-check (narrow it, e.g. `size={s as Size}`). + +- Closed unions: `size` (`Size` = `'sm' | 'lg'` on `Button`, `DropdownToggle`, `ButtonGroup`, `Dropdown`, `InputGroup`, + `Pagination`, `Label`; `Modal` adds `'xl'`; `Table` and `Spinner` are `'sm'`; `Placeholder` is `'xs' | 'sm' | 'lg'`), + `Spinner.type`, `Placeholder.animation`, `Navbar.fixed`/`sticky`, `Nav.horizontal`, `List.type`, and `trigger` on + `Tooltip`/`Popover` (`Trigger`: up to three space-separated `TriggerEvent`s). +- Open unions (autocomplete, any string still accepted for custom `$theme-colors` / `$grid-breakpoints`): `ThemeColor` + on `color` props, `boolean | Breakpoint` on `Navbar.expand`, `Nav.vertical`, `ListGroup.horizontal`, + `Table.responsive`, `Container.fluid`; `Row`/`Col` sizes accept `'auto'`, `Col` order `'first' | 'last'`. +- `role` on `Modal`, `Offcanvas`, `ButtonGroup`, `ButtonToolbar` is React's `AriaRole`. +- `Modal.fullscreen` accepts `'xxl'`. +- New exports: `ThemeColor`, `Breakpoint`, `Size`, `Trigger`, `TriggerEvent`. + # 11.0.0 (2026-11-11) Positioning moves from `@popperjs/core` (unmaintained since 2023) to [Floating UI](https://floating-ui.com/) diff --git a/package-lock.json b/package-lock.json index 6e7153e95..ce78f83c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@conventioncatcorp/reactstrap", - "version": "11.0.0", + "version": "11.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@conventioncatcorp/reactstrap", - "version": "11.0.0", + "version": "11.1.0", "license": "MIT", "dependencies": { "@floating-ui/react-dom": "^2.1.9", diff --git a/package.json b/package.json index 6e4d85032..b6957a7bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@conventioncatcorp/reactstrap", - "version": "11.0.0", + "version": "11.1.0", "description": "React 19 components for Bootstrap 5 (ConventionCatCorp fork of reactstrap)", "type": "module", "main": "./dist/index.js",