Skip to content
Merged
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
fc6a3f3
2254aeef287b46b78bed089942acffbbda27024a
louismaximepiton Aug 19, 2025
ade504a
b71167123170345924c39165455a960b636290ba
louismaximepiton Aug 19, 2025
10adc33
e519be94a27b7bca57cf687a7761b22988c66c14
louismaximepiton Aug 19, 2025
4a5dd3d
67a58f8a3c38289c2d3158d1989328c52604b4e4
louismaximepiton Aug 19, 2025
d299e72
caaa9150d3fffbf0093c849e8050650e7a7ace15
louismaximepiton Aug 19, 2025
8aa3158
f0dc676ba1d494a26b99be4274be6f22a39e64d6
louismaximepiton Aug 19, 2025
b7d8797
c0826957428e13a582f9d8f11a8c8c60390d9b63
louismaximepiton Aug 19, 2025
99e0de2
e392fc500e39887bbeb166e809dd34ac2457e1d8
louismaximepiton Aug 19, 2025
6bce972
920371266925432b7ec34e9c8efd9595a32f5fd3
louismaximepiton Aug 19, 2025
048381c
b850fcbe49f940008b942b381935f1d2b4c84216
louismaximepiton Aug 19, 2025
8831bbe
1eccc810f0db3ac84587d647ab33e99ee8bf82e5
louismaximepiton Aug 19, 2025
65b735e
68afc562952bb60dc6de9a1da1d379eee5c62c2f
louismaximepiton Aug 19, 2025
c2e815b
c96c0ec52393d63e614a70b9f0e31102f008619a
louismaximepiton Aug 19, 2025
443b296
3b9a4167acf2a5d4e4b95fcafe2dd0459ef637a8
louismaximepiton Aug 19, 2025
c4a2b65
e52e3b1c95e82127391c76c7c3c846410aec51d3
louismaximepiton Aug 19, 2025
8d57f73
cb4fa229507a3bfd469315dce48022f722fb191a
louismaximepiton Aug 19, 2025
7f9b0a5
2acf59d89b7cb22707b3ed85932b37528b573cf1
louismaximepiton Aug 19, 2025
ea3e0db
6d3345b24c7e58ccb3f228d9395996b3c3f5a216
louismaximepiton Aug 19, 2025
3d27c64
ae069ffb35f29dc73601834f634db88b5913b099
louismaximepiton Aug 19, 2025
b8ce156
956ec2df51298304ea284c8dfa92a821d3191f65
louismaximepiton Aug 19, 2025
b48d642
4b8a2c936ef736795e4e851a5de5e2bddfb3b8f5
louismaximepiton Aug 19, 2025
ac8327d
Fix CI
louismaximepiton Aug 19, 2025
566dcbf
099b02b36a196cfdd6cdaee0a141eb1ca2e16ee0
louismaximepiton Aug 27, 2025
ff6d9f3
47c75b8492126df83f6ae04964669cff739beafe
louismaximepiton Aug 27, 2025
7dec0eb
f50f38b83a39f044c1b226a8c88cf03e4f868fc1
louismaximepiton Aug 27, 2025
380af88
4bd8b6ca95b89dd351ac6023b9447a1a71d322b5
louismaximepiton Aug 27, 2025
5efe59c
ac5f51c17e0edad490b03dc96933425e592930b1
louismaximepiton Aug 27, 2025
c615af1
320f7139052be98339726cac20895f50172000f9
louismaximepiton Aug 27, 2025
85a98af
Merge remote-tracking branch 'origin/main' into main-merge-bootstrap-…
louismaximepiton Aug 27, 2025
b6dad73
Correct secret on our side
louismaximepiton Aug 27, 2025
01e6eb8
fix(ci)
louismaximepiton Aug 27, 2025
b5a91fb
.
louismaximepiton Aug 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundlewatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/calibreapp-image-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
pull-requests: write
steps:
- name: Clone repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:

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

- name: Run cspell
uses: streetsidesoftware/cspell-action@157048954070986ce4315d0813573a2d8faee361 # v7.1.1
uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d # v7.2.0
with:
config: ".cspell.json"
files: "**/*.{md,mdx}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-close-require.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'Orange-OpenSource/Orange-Boosted-Bootstrap'
steps:
- name: awaiting reply
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3.6.2
with:
actions: "close-issues"
labels: "awaiting-reply"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: awaiting reply
if: github.event.label.name == 'needs-example'
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3.6.2
with:
actions: "create-comment"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-sass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pa11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

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

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish NuGet Packages

on:
release:
types: [published]

jobs:
package-nuget:
runs-on: windows-latest
if: ${{ github.repository == 'Orange-OpenSource/Orange-Boosted-Bootstrap' && startsWith(github.event.release.tag_name, 'v') }}
env:
GITHUB_REF_NAME: ${{ github.ref_name }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: Set up NuGet
uses: nuget/setup-nuget@323ab0502cd38fdc493335025a96c8fdb0edc71f # v2.0.1
with:
nuget-api-key: ${{ secrets.NUGET_TOKEN }}
nuget-version: '5.x'

- name: Pack NuGet packages
shell: pwsh
run: |
$bsversion = $env:GITHUB_REF_NAME.Substring(1)
nuget pack "nuget\boosted.nuspec" -Verbosity detailed -NonInteractive -BasePath . -Version $bsversion
nuget pack "nuget\boosted.sass.nuspec" -Verbosity detailed -NonInteractive -BasePath . -Version $bsversion
nuget push "boosted.$bsversion.nupkg" -Verbosity detailed -NonInteractive -Source "https://api.nuget.org/v3/index.json"
nuget push "boosted.sass.$bsversion.nupkg" -Verbosity detailed -NonInteractive -Source "https://api.nuget.org/v3/index.json"
25 changes: 22 additions & 3 deletions build/zip-examples.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import fs from 'node:fs/promises'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import sh from 'shelljs'
import { format } from 'prettier'

const __dirname = path.dirname(fileURLToPath(import.meta.url))

Expand Down Expand Up @@ -81,16 +82,34 @@ for (const file of staticJsFiles) {
sh.rm(`${distFolder}/index.html`)

// get all examples' HTML files
for (const file of sh.find(`${distFolder}/**/*.html`)) {
const htmlFiles = sh.find(`${distFolder}/**/*.html`)

const formatPromises = htmlFiles.map(async file => {
const fileContents = sh.cat(file)
.toString()
.replace(new RegExp(`"/docs/${versionShort}/`, 'g'), '"../')
.replace(/"..\/dist\//g, '"../assets/dist/')
.replace(/(<link href="\.\.\/[^"]*"[^>]*) integrity="[^"]*"/g, '$1')
.replace(/<link[^>]*href="\.\.\/assets\/img\/favicons\/[^"]*"[^>]*>/g, '')
.replace(/(<script src="\.\.\/[^"]*"[^>]*) integrity="[^"]*"/g, '$1')
new sh.ShellString(fileContents).to(file)
}

let formattedHTML
try {
formattedHTML = await format(fileContents, {
parser: 'html',
filepath: file
})
} catch (error) {
console.error(`\nError formatting ${file}:`)
console.error(`Message: ${error.message}`)
console.error('\nSkipping formatting for this file...\n')
formattedHTML = fileContents
}

new sh.ShellString(formattedHTML).to(file)
})

await Promise.all(formatPromises)

// create the zip file
sh.exec(`zip -qr9 "${distFolder}.zip" "${distFolder}"`)
Expand Down
3 changes: 0 additions & 3 deletions js/src/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,6 @@ class Dropdown extends BaseComponent {
this._element.setAttribute('aria-expanded', 'false')
Manipulator.removeDataAttribute(this._menu, 'popper')
EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)

// Explicitly return focus to the trigger element
this._element.focus()
}

_getConfig(config) {
Expand Down
17 changes: 0 additions & 17 deletions nuget/MyGet.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion nuget/boosted.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>boosted</id>
<!-- pulled from package.json -->
<!-- pulled from release tag -->
<version>5</version>
<title>Boosted CSS</title>
<authors>The Boosted Authors, Orange SA</authors>
Expand Down
2 changes: 1 addition & 1 deletion nuget/boosted.sass.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>boosted.sass</id>
<!-- pulled from package.json -->
<!-- pulled from release tag -->
<version>5</version>
<title>Boosted Sass</title>
<authors>The Boosted Authors, Orange SA</authors>
Expand Down
Loading