Skip to content

Commit a8bd737

Browse files
chore(merge main): patched commit → 8c10ee8 (#2676)
1 parent 6b3e079 commit a8bd737

10 files changed

Lines changed: 1063 additions & 1204 deletions

File tree

js/src/dom/manipulator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Manipulator = {
5656

5757
for (const key of bsKeys) {
5858
let pureKey = key.replace(/^bs/, '')
59-
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)
59+
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1)
6060
attributes[pureKey] = normalizeData(element.dataset[key])
6161
}
6262

package-lock.json

Lines changed: 1037 additions & 1178 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"devDependencies": {
107107
"@babel/cli": "^7.24.8",
108108
"@babel/core": "^7.24.9",
109-
"@babel/preset-env": "^7.24.8",
109+
"@babel/preset-env": "^7.25.2",
110110
"@docsearch/js": "^3.6.1",
111111
"@percy/cli": "^1.29.0",
112112
"@popperjs/core": "^2.11.8",
@@ -135,16 +135,16 @@
135135
"eslint-plugin-import": "^2.29.1",
136136
"eslint-plugin-markdown": "^5.1.0",
137137
"eslint-plugin-storybook": "^0.8.0",
138-
"eslint-plugin-unicorn": "^54.0.0",
138+
"eslint-plugin-unicorn": "^55.0.0",
139139
"find-unused-sass-variables": "^6.0.0",
140140
"focus-visible": "^5.2.0",
141141
"globby": "^14.0.2",
142142
"hammer-simulator": "0.0.1",
143-
"hugo-bin": "^0.126.0",
143+
"hugo-bin": "^0.127.0",
144144
"ip": "^2.0.0",
145145
"jasmine": "^5.2.0",
146146
"jquery": "^3.7.1",
147-
"karma": "^6.4.3",
147+
"karma": "^6.4.4",
148148
"karma-browserstack-launcher": "1.4.0",
149149
"karma-chrome-launcher": "^3.2.0",
150150
"karma-coverage-istanbul-reporter": "^3.0.3",
@@ -159,11 +159,11 @@
159159
"ods-storybook-theme": "^1.1.0",
160160
"pa11y-ci": "^3.1.0",
161161
"pa11y-ci-reporter-html": "^6.0.2",
162-
"postcss": "^8.4.39",
162+
"postcss": "^8.4.40",
163163
"postcss-cli": "^11.0.0",
164-
"rollup": "^4.19.0",
164+
"rollup": "^4.19.1",
165165
"rollup-plugin-istanbul": "^5.0.0",
166-
"rtlcss": "^4.1.1",
166+
"rtlcss": "^4.2.0",
167167
"sass": "^1.77.8",
168168
"sass-loader": "^16.0.0",
169169
"sass-true": "^8.0.0",

site/layouts/partials/examples/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h2 id="{{ $entry.category | urlize }}">{{ $entry.category }}</h2>
2626
{{ if (eq $i 0) }}<div class="row">{{ end }}
2727
{{ if $entry.external -}}
2828
<div class="col-md-6 col-lg-4 mb-3 d-flex gap-3">
29-
<svg class="bi fs-5 flex-shrink-0"><use xlink:href="#box-seam"></use></svg>
29+
<svg class="bi fs-5 flex-shrink-0" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
3030
<div>
3131
<h3 class="h5 mb-1">
3232
<a class="d-block link-offset-1" href="{{ urls.JoinPath $.Site.Params.bootstrap_github_org $example.url }}" target="_blank" rel="noopener">
@@ -38,7 +38,7 @@ <h3 class="h5 mb-1">
3838
{{- $indexPath := default "index.html" $example.indexPath -}}
3939
{{- $stackBlitzUrl := printf "%s%s%s" (urls.JoinPath "https://stackblitz.com/github/twbs" $example.url) "?file=" ($indexPath | urlquery) }}
4040
<a class="icon-link link-secondary link-offset-1" href="{{ $stackBlitzUrl }}" target="_blank" rel="noopener">
41-
<svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg>
41+
<svg class="bi flex-shrink-0" aria-hidden="true"><use xlink:href="#lightning-charge-fill"></use></svg>
4242
Edit in StackBlitz
4343
</a>
4444
</p>

site/layouts/partials/home/components-utilities.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<section class="pb-md-5 mb-5">
22
<div class="col-lg-8 mb-5">
33
<div class="masthead-followup-icon d-inline-block mb-3 me-2" style="--bg-rgb: var(--bs-danger-rgb);">
4-
<svg class="bi fs-1"><use xlink:href="#menu-button-wide-fill"></use></svg>
4+
<svg class="bi fs-1" aria-hidden="true"><use xlink:href="#menu-button-wide-fill"></use></svg>
55
</div>
6-
<svg class="bi me-2 fs-2 text-body-secondary"><use xlink:href="#plus"></use></svg>
6+
<svg class="bi me-2 fs-2 text-body-secondary" aria-hidden="true"><use xlink:href="#plus"></use></svg>
77
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bs-info-rgb);">
8-
<svg class="bi fs-1"><use xlink:href="#braces-asterisk"></use></svg>
8+
<svg class="bi fs-1" aria-hidden="true"><use xlink:href="#braces-asterisk"></use></svg>
99
</div>
1010
<h2 class="mb-3 fw-semibold lh-sm">Components, meet the Utility&nbsp;API</h2>
1111
<p class="lead fw-normal">
@@ -55,7 +55,7 @@ <h3 class="fw-semibold">Quickly customize components</h3>
5555
<p class="d-flex justify-content-start mb-md-0">
5656
<a href="/docs/{{ .Site.Params.docs_version }}/examples/#snippets" class="icon-link icon-link-hover fw-semibold">
5757
Explore customized components
58-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
58+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
5959
</a>
6060
</p>
6161
</div>
@@ -80,7 +80,7 @@ <h3 class="fw-semibold">Create and extend utilities</h3>
8080
<p class="d-flex justify-content-start mb-md-0">
8181
<a href="/docs/{{ .Site.Params.docs_version }}/utilities/api/" class="icon-link icon-link-hover fw-semibold mb-3">
8282
Explore the utility API
83-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
83+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
8484
</a>
8585
</p>
8686
</div>

site/layouts/partials/home/css-variables.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section class="row g-lg-5 pb-md-5 mb-5 align-items-center">
22
<div class="col-lg-8 mb-5">
33
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bd-pink-rgb);">
4-
<svg class="bi fs-1"><use xlink:href="#braces"></use></svg>
4+
<svg class="bi fs-1" aria-hidden="true"><use xlink:href="#braces"></use></svg>
55
</div>
66
<h2 class="mb-3 fw-semibold lh-sm">Build and extend in real-time with CSS&nbsp;variables</h2>
77
<p class="lead fw-normal">
@@ -10,7 +10,7 @@ <h2 class="mb-3 fw-semibold lh-sm">Build and extend in real-time with CSS&nbsp;v
1010
<p class="d-flex align-items-start flex-column lead fw-normal mb-0">
1111
<a href="/docs/{{ .Site.Params.docs_version }}/customize/css-variables/" class="icon-link icon-link-hover fw-semibold mb-3">
1212
Learn more about CSS variables
13-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
13+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
1414
</a>
1515
</p>
1616
</div>

site/layouts/partials/home/customize.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="col-lg-7 mb-5">
22
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bs-primary-rgb);">
3-
<svg class="bi fs-1"><use xlink:href="#palette2"></use></svg>
3+
<svg class="bi fs-1" aria-hidden="true"><use xlink:href="#palette2"></use></svg>
44
</div>
55
<h2 class="mb-3 fw-semibold lh-sm">Customize everything with&nbsp;Sass</h2>
66
<p class="lead fw-normal">
@@ -9,7 +9,7 @@ <h2 class="mb-3 fw-semibold lh-sm">Customize everything with&nbsp;Sass</h2>
99
<p class="d-flex justify-content-start lead fw-normal">
1010
<a href="/docs/{{ .Site.Params.docs_version }}/customize/overview/" class="icon-link icon-link-hover fw-semibold">
1111
Learn more about customizing
12-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
12+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
1313
</a>
1414
</p>
1515
</section>

site/layouts/partials/home/get-started.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="col-lg-7 mx-auto pb-3 mb-3 mb-md-5 text-md-center">
22
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bs-primary-rgb);">
3-
<svg class="bi fs-1"><use xlink:href="#code"></use></svg>
3+
<svg class="bi fs-1" aria-hidden="true"><use xlink:href="#code"></use></svg>
44
</div>
55
<h2 class="mb-3 lh-sm fw-semibold">Get started any way you&nbsp;want</h2>
66
<p class="lead fw-normal">
@@ -9,14 +9,14 @@ <h2 class="mb-3 lh-sm fw-semibold">Get started any way you&nbsp;want</h2>
99
<p class="d-flex justify-content-md-start justify-content-md-center lead fw-normal">
1010
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/" class="icon-link icon-link-hover fw-semibold ps-md-4">
1111
Read installation docs
12-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
12+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
1313
</a>
1414
</p>
1515
</div>
1616

1717
<section class="row g-2 g-lg-5 mb-5 pb-5 justify-content-center">
1818
<div class="col-lg-6 py-lg-4 pe-lg-5">
19-
<svg class="bi mb-2 fs-2 text-body-secondary"><use xlink:href="#box-seam"></use></svg>
19+
<svg class="bi mb-2 fs-2 text-body-secondary" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
2020
<h3 class="fw-semibold">Install via package manager</h3>
2121
<p class="pe-lg-5">
2222
Install Boosted’s source Sass and JavaScript files via npm, yarn, Composer, or NuGet. Package managed installs don’t include documentation or our full build scripts.
@@ -28,7 +28,7 @@ <h3 class="fw-semibold">Install via package manager</h3>
2828
</p>
2929
</div>
3030
<div class="col-lg-6 py-lg-4 ps-lg-5 border-lg-start">
31-
<svg class="bi mb-2 fs-2 text-body-secondary"><use xlink:href="#globe2"></use></svg>
31+
<svg class="bi mb-2 fs-2 text-body-secondary" aria-hidden="true"><use xlink:href="#globe2"></use></svg>
3232
<h3 class="fw-semibold">Include via CDN</h3>
3333
<p class="pe-lg-5">
3434
When you only need to include Boosted’s compiled CSS or JS, you can use <a href="https://www.jsdelivr.com/package/npm/boosted">jsDelivr</a>. See it in action with our simple <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#quick-start">quick start</a>, or <a href="/docs/{{ .Site.Params.docs_version }}/examples/">browse the examples</a> to jumpstart your next project. You can also choose to include Popper and our JS <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#separate">separately</a>.

site/layouts/partials/home/orange-design-system.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2 class="mb-3 fw-semibold lh-sm">Orange Design System for web</h2>
1010
<p class="d-flex align-items-start flex-column lead fw-normal mb-0">
1111
<a href="{{ .Site.Params.ods.web }}" class="icon-link icon-link-hover fw-semibold" target="_blank" rel="noopener">
1212
Visit system.design.orange.com
13-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
13+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
1414
</a>
1515
</p>
1616
</div>

site/layouts/partials/home/plugins.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section class="pb-md-5 mb-5">
22
<div class="col-lg-8 mb-5">
33
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bs-warning-rgb);">
4-
<svg class="bi fs-1"><use xlink:href="#plugin"></use></svg>
4+
<svg class="bi fs-1" aria-hidden="true"><use xlink:href="#plugin"></use></svg>
55
</div>
66
<h2 class="mb-3 fw-semibold lh-sm">Powerful JavaScript plugins without&nbsp;jQuery</h2>
77
<p class="lead fw-normal">
@@ -10,7 +10,7 @@ <h2 class="mb-3 fw-semibold lh-sm">Powerful JavaScript plugins without&nbsp;jQue
1010
<p class="d-flex justify-content-start lead fw-normal mb-md-0">
1111
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/javascript/" class="icon-link icon-link-hover fw-semibold">
1212
Learn more about Boosted JavaScript
13-
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
13+
<svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
1414
</a>
1515
</p>
1616
</div>

0 commit comments

Comments
 (0)