Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
37d69e7
v6: Don't disallow calc (#41681)
mdo Aug 27, 2025
1d3d433
Move ratio from helpers to utilties (#41684)
mdo Aug 27, 2025
ea8523a
Remove jQuery support in plugins (#41682)
mdo Aug 27, 2025
ff14a64
Add Markdownlint for our MDX (#41685)
mdo Aug 27, 2025
96491cf
Drop clearfix for `display: flow-root` (#41686)
mdo Aug 27, 2025
f1edacb
Rename mh-* and mw-* to max-h/w-*, add additional width and height va…
mdo Aug 27, 2025
85adb49
Drop -prefix (#41692)
mdo Aug 27, 2025
ca74fc2
Clean up deprecated Sass (#41693)
mdo Aug 28, 2025
c0f88d6
Remove added badges from docs pages (#41694)
mdo Aug 28, 2025
ae01f06
Co-locate heading and some type styles in Reboot to avoid some extend…
mdo Aug 28, 2025
062e742
Migrate to Sass modules (#41512)
mdo Aug 28, 2025
dbf36bb
First pass at CSS layers (#41701)
mdo Aug 28, 2025
334d68b
Restore both grids , enable CSS grid by default, and update mixins (#…
mdo Aug 28, 2025
484c435
Refactor accordion button to use mask, remove some Sass vars and dark…
mdo Aug 28, 2025
5f910f4
Colocate Sass vars in their respective files (#41706)
mdo Aug 29, 2025
98d6c80
New forms and buttons (#41708)
mdo Sep 17, 2025
21491d1
v6: Add reference tables to utilities docs, add community links to so…
mdo Sep 19, 2025
e5a1ee3
Remove `!important` from utilities, make it opt-in per utility (#41755)
mdo Sep 22, 2025
482b0eb
v6: `justify-items` and `place-items` utilities (#41757)
mdo Sep 22, 2025
c8e8d28
v6: Add sub-groups to Utilities docs (#41758)
mdo Sep 22, 2025
956de4b
v6 Migration guide (#41683)
mdo Sep 23, 2025
f0c163b
Use `@forward` instead of `@use` for proper customization (#41762)
mdo Sep 24, 2025
f9c8e96
WIP: New form controls (#41740)
mdo Sep 24, 2025
5a54f29
Start to redo `generate-utility()` (#41769)
mdo Sep 26, 2025
4fecde4
v6: New lg, xl, and 2xl breakpoints, plus some renaming (#41770)
mdo Sep 26, 2025
387ea72
Fix instances of 2xl, fix utilities generation (#41774)
mdo Sep 28, 2025
ce2cca8
New validator (#41775)
mdo Sep 28, 2025
a4af8c3
v6: Update colors and theme (#41763)
mdo Sep 30, 2025
dd579b3
Scope docs CSS to custom layer
mdo Sep 28, 2025
aaf730a
Follow up: custom switches get themes
mdo Sep 30, 2025
5dd5bac
Remove dist folder from repo
mdo Oct 3, 2025
025fd1a
update
mdo Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions .bundlewatch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@
"files": [
{
"path": "./dist/css/bootstrap-grid.css",
"maxSize": "6.5 kB"
"maxSize": "9.00 kB"
},
{
"path": "./dist/css/bootstrap-grid.min.css",
"maxSize": "6.0 kB"
"maxSize": "8.25 kB"
},
{
"path": "./dist/css/bootstrap-reboot.css",
"maxSize": "3.5 kB"
"maxSize": "5.0 kB"
},
{
"path": "./dist/css/bootstrap-reboot.min.css",
"maxSize": "3.25 kB"
"maxSize": "4.5 kB"
},
{
"path": "./dist/css/bootstrap-utilities.css",
"maxSize": "11.75 kB"
"maxSize": "13.5 kB"
},
{
"path": "./dist/css/bootstrap-utilities.min.css",
"maxSize": "10.75 kB"
"maxSize": "12.0 kB"
},
{
"path": "./dist/css/bootstrap.css",
"maxSize": "32.5 kB"
"maxSize": "36.5 kB"
},
{
"path": "./dist/css/bootstrap.min.css",
"maxSize": "30.25 kB"
"maxSize": "33.0 kB"
},
{
"path": "./dist/js/bootstrap.bundle.js",
Expand Down
2 changes: 2 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"callout",
"callouts",
"camelCase",
"checkgroup",
"clearfix",
"Codesniffer",
"combinator",
Expand All @@ -29,6 +30,7 @@
"Crossfade",
"crossfading",
"cssgrid",
"csstricks",
"Csvg",
"Datalists",
"Deque",
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/build-css.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build CSS

on:
pull_request:
paths:
- 'scss/**'
- 'build/**'
- 'package.json'
- 'package-lock.json'
workflow_dispatch:

env:
FORCE_COLOR: 2
NODE: 22

permissions:
contents: read

jobs:
build-css:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "${{ env.NODE }}"
cache: npm

- name: Install npm dependencies
run: npm ci

- name: Build CSS
run: npm run css

- name: Upload CSS artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: css-dist
path: dist/css/
retention-days: 1
46 changes: 46 additions & 0 deletions .github/workflows/build-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build JS

on:
pull_request:
paths:
- 'js/**'
- 'build/**'
- 'package.json'
- 'package-lock.json'
workflow_dispatch:

env:
FORCE_COLOR: 2
NODE: 22

permissions:
contents: read

jobs:
build-js:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "${{ env.NODE }}"
cache: npm

- name: Install npm dependencies
run: npm ci

- name: Build JS
run: npm run js

- name: Upload JS artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: js-dist
path: dist/js/
retention-days: 1
54 changes: 52 additions & 2 deletions .github/workflows/bundlewatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,48 @@ permissions:
contents: read

jobs:
build-dist:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "${{ env.NODE }}"
cache: npm

- name: Install npm dependencies
run: npm ci

- name: Build CSS
run: npm run css

- name: Build JS
run: npm run js

- name: Upload CSS artifacts
id: css-artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: css-dist
path: dist/css/
retention-days: 1

- name: Upload JS artifacts
id: js-artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: js-dist
path: dist/js/
retention-days: 1

bundlewatch:
needs: build-dist
runs-on: ubuntu-latest

steps:
Expand All @@ -33,8 +74,17 @@ jobs:
- name: Install npm dependencies
run: npm ci

- name: Run dist
run: npm run dist
- name: Download CSS artifacts
uses: actions/download-artifact@v4
with:
name: css-dist
path: dist/css/

- name: Download JS artifacts
uses: actions/download-artifact@v4
with:
name: js-dist
path: dist/js/

- name: Run bundlewatch
run: npm run bundlewatch
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/cdn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CDN Distribution

on:
release:
types: [published]
workflow_dispatch:

env:
FORCE_COLOR: 2
NODE: 22

permissions:
contents: read

jobs:
build-cdn:
runs-on: ubuntu-latest
if: ${{ github.repository == 'twbs/bootstrap' && startsWith(github.event.release.tag_name, 'v') }}

steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "${{ env.NODE }}"
cache: npm

- name: Install npm dependencies
run: npm ci

- name: Build CSS
run: npm run css

- name: Build JS
run: npm run js

- name: Generate SRI hashes
run: npm run release-sri

- name: Upload to CDN
# This would typically upload to a CDN service like jsDelivr, unpkg, etc.
# The actual implementation would depend on the CDN service used
run: |
echo "CDN upload would happen here"
echo "Files ready for CDN distribution:"
ls -la dist/css/
ls -la dist/js/
35 changes: 34 additions & 1 deletion .github/workflows/css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
contents: read

jobs:
css:
build-css:
runs-on: ubuntu-latest

steps:
Expand All @@ -36,5 +36,38 @@ jobs:
- name: Build CSS
run: npm run css

- name: Upload CSS artifacts
id: css-artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: css-dist
path: dist/css/
retention-days: 1

css:
needs: build-css
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "${{ env.NODE }}"
cache: npm

- name: Install npm dependencies
run: npm ci

- name: Download CSS artifacts
uses: actions/download-artifact@v4
with:
name: css-dist
path: dist/css/

- name: Run CSS tests
run: npm run css-test
Loading