Skip to content

Commit

Permalink
Merge branch 'main' into main-jd-dark-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Oct 12, 2023
2 parents d4c2931 + 18ace87 commit 3fe3f00
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
24 changes: 12 additions & 12 deletions js/tests/unit/carousel.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ describe('Carousel', () => {
it('should take care of element either passed as a CSS selector or DOM element (Play/Pause button)', () => {
fixtureEl.innerHTML = [
'<div id="myCarousel" class="carousel"></div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause pause" data-bs-target="#myCarousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause pause" data-bs-target="#myCarousel" title="Pause Carousel">',
' <span class="visually-hidden">Pause Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1181,7 +1181,7 @@ describe('Carousel', () => {
it('should add pause class on click on Play/Pause button when pause is on', () => {
fixtureEl.innerHTML = [
'<div id="myCarousel" class="carousel is-paused"></div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Pause Carousel</span>',
'</button>'
].join('')
Expand All @@ -1196,7 +1196,7 @@ describe('Carousel', () => {
it('should add play class on click on Play/Pause button when pause is off', () => {
fixtureEl.innerHTML = [
'<div id="myCarousel" class="carousel"></div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Pause Carousel</span>',
'</button>'
].join('')
Expand All @@ -1222,7 +1222,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Play Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1251,7 +1251,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Pause Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1281,7 +1281,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Play Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1315,7 +1315,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Play Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1345,7 +1345,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Play Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1379,7 +1379,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause play" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Play Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1409,7 +1409,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
'<button type="button" class="btn btn-icon carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="Play Carousel" data-bs-pause-text="Pause Carousel" title="Pause Carousel">',
' <span class="visually-hidden">Pause Carousel</span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1442,7 +1442,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="" data-bs-pause-text="" title="">',
'<button type="button" class="btn btn-icon carousel-control-play-pause pause" data-bs-target="#myCarousel" data-bs-play-text="" data-bs-pause-text="" title="">',
' <span class="visually-hidden"></span>',
'</button>'
].join('')
Expand Down Expand Up @@ -1475,7 +1475,7 @@ describe('Carousel', () => {
' <div class="carousel-item">item 3</div>',
' </div>',
'</div>',
'<button type="button" class="btn btn-icon btn-secondary carousel-control-play-pause pause" data-bs-target="#myCarousel" title="">',
'<button type="button" class="btn btn-icon carousel-control-play-pause pause" data-bs-target="#myCarousel" title="">',
' <span class="visually-hidden"></span>',
'</button>'
].join('')
Expand Down
3 changes: 0 additions & 3 deletions site/data/core-team.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
- name: Louis-Maxime Piton
user: louismaximepiton

- name: Mewen Le Hô
user: MewenLeHo

- name: Hannah Issermann
user: hannahiss

0 comments on commit 3fe3f00

Please sign in to comment.