Skip to content

Commit

Permalink
docs: bump readme versions to 16.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maxokorokov committed Nov 22, 2023
1 parent d65c3a6 commit f848214
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 56 deletions.
39 changes: 20 additions & 19 deletions README.md
Expand Up @@ -29,25 +29,26 @@ Please check all components we have in action at https://ng-bootstrap.github.io
## Dependencies

The only dependencies are [Angular](https://angular.io), [Bootstrap 5](https://getbootstrap.com) CSS, and [Popper](https://popper.js.org/).
The supported versions are:

| ng-bootstrap | Angular | Bootstrap CSS | Popper |
| ------------------ | ------- | ------------- | ------ |
| 1.x.x | 5.0.2 | 4.0.0 | |
| 2.x.x | 6.0.0 | 4.0.0 | |
| 3.x.x | 6.1.0 | 4.0.0 | |
| 4.x.x | 7.0.0 | 4.0.0 | |
| 5.x.x | 8.0.0 | 4.3.1 | |
| 6.x.x | 9.0.0 | 4.4.1 | |
| 7.x.x, 8.x.x | 10.0.0 | 4.5.0 | |
| 9.x.x | 11.0.0 | 4.5.0 | |
| 10.x.x | 12.0.0 | 4.5.0 | |
| 11.x.x | 13.0.0 | 4.6.0 | |
| 12.x.x | 13.0.0 | 5.0.0 | 2.10.2 |
| 13.x.x | 14.1.0 | 5.2.0 | 2.10.2 |
| 14.x.x | 15.0.0 | 5.2.3 | 2.11.6 |
| 15.x.x (latest) | 16.0.0 | 5.2.3 | 2.11.6 |
| 16.0.0-rc.x (next) | 17.0.0 | 5.3.2 | 2.11.8 |

Angular and Popper are explicitly listed as peer dependencies, while Bootstrap is not, as they don't release their CSS separately. The table below simply lists the exact version of Bootstrap CSS against which the corresponding versions of ng-bootstrap are tested.

| ng-bootstrap | Angular | Bootstrap CSS | Popper |
| ------------ | ------- | ------------- | ------- |
| 1.x.x | ^5.0.2 | 4.0.0 | |
| 2.x.x | ^6.0.0 | 4.0.0 | |
| 3.x.x | ^6.1.0 | 4.0.0 | |
| 4.x.x | ^7.0.0 | 4.0.0 | |
| 5.x.x | ^8.0.0 | 4.3.1 | |
| 6.x.x | ^9.0.0 | 4.4.1 | |
| 7.x.x, 8.x.x | ^10.0.0 | 4.5.0 | |
| 9.x.x | ^11.0.0 | 4.5.0 | |
| 10.x.x | ^12.0.0 | 4.5.0 | |
| 11.x.x | ^13.0.0 | 4.6.0 | |
| 12.x.x | ^13.0.0 | 5.0.0 | ^2.10.2 |
| 13.x.x | ^14.1.0 | 5.2.0 | ^2.10.2 |
| 14.x.x | ^15.0.0 | 5.2.3 | ^2.11.6 |
| 15.x.x | ^16.0.0 | 5.2.3 | ^2.11.6 |
| 16.x.x | ^17.0.0 | 5.3.2 | ^2.11.8 |

## Installation

Expand Down
52 changes: 29 additions & 23 deletions demo/src/app/pages/getting-started/getting-started.page.html
Expand Up @@ -4,7 +4,13 @@
<p>
The only required dependencies are <a href="https://angular.io" target="_blank">Angular</a>,
<a href="https://getbootstrap.com" target="_blank">Bootstrap</a> CSS and
<a href="https://popper.js.org/">Popper</a>. The supported versions are:
<a href="https://popper.js.org/">Popper</a>.
</p>

<p>
Angular and Popper are explicitly listed as peer dependencies, while Bootstrap is not, as they don't release their
CSS separately. The table below simply lists the exact version of Bootstrap CSS against which the corresponding
versions of ng-bootstrap are tested.
</p>

<table class="table" style="width: auto">
Expand All @@ -20,49 +26,49 @@
@if (!olderVersionsCollapsed) {
<tr>
<th scope="row">1.x.x</th>
<td>5.0.2</td>
<td>^5.0.2</td>
<td>4.0.0</td>
<td></td>
</tr>
<tr>
<th scope="row">2.x.x</th>
<td>6.0.0</td>
<td>^6.0.0</td>
<td>4.0.0</td>
<td></td>
</tr>
<tr>
<th scope="row">3.x.x</th>
<td>6.1.0</td>
<td>^6.1.0</td>
<td>4.0.0</td>
<td></td>
</tr>
<tr>
<th scope="row">4.x.x</th>
<td>7.0.0</td>
<td>^7.0.0</td>
<td>4.0.0</td>
<td></td>
</tr>
<tr>
<th scope="row">5.x.x</th>
<td>8.0.0</td>
<td>^8.0.0</td>
<td>4.3.1</td>
<td></td>
</tr>
<tr>
<th scope="row">6.x.x</th>
<td>9.0.0</td>
<td>^9.0.0</td>
<td>4.4.1</td>
<td></td>
</tr>
<tr>
<th scope="row">7.x.x, 8.x.x</th>
<td>10.0.0</td>
<td>^10.0.0</td>
<td>4.5.0</td>
<td></td>
</tr>
<tr>
<th scope="row">9.x.x</th>
<td>11.0.0</td>
<td>^11.0.0</td>
<td>4.5.0</td>
<td></td>
</tr>
Expand All @@ -75,45 +81,45 @@
}
<tr>
<th scope="row">10.x.x</th>
<td>12.0.0</td>
<td>^12.0.0</td>
<td>4.5.0</td>
<td></td>
</tr>
<tr>
<th scope="row">11.x.x</th>
<td>13.0.0</td>
<td>^13.0.0</td>
<td>4.6.0</td>
<td></td>
</tr>
<tr>
<th scope="row">12.x.x</th>
<td>13.0.0</td>
<td>^13.0.0</td>
<td>5.0.0</td>
<td>2.10.2</td>
<td>^2.10.2</td>
</tr>
<tr>
<th scope="row">13.x.x</th>
<td>14.1.0</td>
<td>^14.1.0</td>
<td>5.2.0</td>
<td>2.10.2</td>
<td>^2.10.2</td>
</tr>
<tr>
<th scope="row">14.x.x</th>
<td>15.0.0</td>
<td>^15.0.0</td>
<td>5.2.3</td>
<td>2.11.6</td>
<td>^2.11.6</td>
</tr>
<tr>
<th scope="row">15.x.x (latest)</th>
<td>16.0.0</td>
<th scope="row">15.x.x</th>
<td>^16.0.0</td>
<td>5.2.3</td>
<td>2.11.6</td>
<td>^2.11.6</td>
</tr>
<tr>
<th scope="row">16.0.0-rc.x (next)</th>
<td>17.0.0</td>
<th scope="row">16.x.x</th>
<td>^17.0.0</td>
<td>5.3.2</td>
<td>2.11.8</td>
<td>^2.11.8</td>
</tr>
</tbody>
</table>
Expand Down
13 changes: 1 addition & 12 deletions demo/src/app/pages/home/home.page.html
@@ -1,16 +1,5 @@
<main class="masthead py-3">
<div class="container">
<ngb-alert [dismissible]="false" type="warning" class="d-flex">
<i class="bi bi-lightbulb me-3"></i>
<div>
Support for Angular 17 and Bootstrap 5.3 is available with <code>16.0.0-rc.x</code> via
<code>npm install &#64;ng-bootstrap/ng-bootstrap&#64;next</code> (<a
href="https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CHANGELOG.md"
target="_blank"
>see the changelog</a
>)
</div>
</ngb-alert>
<div class="row align-items-center">
<div class="col-6 mx-auto col-md-6">
<img width="512" height="512" class="img-fluid mb-3 mb-md-0" src="img/logo-stack.svg" alt="ng-bootstrap logo" />
Expand All @@ -32,7 +21,7 @@ <h3 class="text-secondary mb-3">The angular way</h3>
<a class="btn btn-lg btn-outline-primary mb-3 mb-lg-0 me-lg-3" routerLink="/components">Demo</a>
<a class="btn btn-lg btn-outline-secondary" routerLink="/getting-started">Get started now</a>
</div>
<p class="text-muted mb-4">Currently at v15.1.2 (latest), v{{ version }} (next)</p>
<p class="text-muted mb-4">Currently at v{{ version }}</p>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions demo/src/public/versions.json
@@ -1,10 +1,10 @@
[
{
"text": "v16.0.0-rc.x (next)",
"text": "v16.0.0",
"url": "/"
},
{
"text": "v15.x (latest)",
"text": "v15.x",
"url": "/releases/15.x/"
},
{
Expand Down

0 comments on commit f848214

Please sign in to comment.