Skip to content

Commit

Permalink
Merge pull request #2474 from boltdesignsystem/bugfix/DS-756-Animatio…
Browse files Browse the repository at this point in the history
…ns-using-wrong-selector

DS-756 Fix css animation selector
  • Loading branch information
colbytcook committed Apr 8, 2022
2 parents 59f0e74 + 41e071e commit e15598c
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
content: 'This is the banner content fade' ~ fade,
attributes: {
class: [
'a-bolt-base',
'a-bolt-in',
'a-bolt' ~ fade,
'a-bolt-cascade-fast'
],
Expand All @@ -18,7 +20,7 @@

<script>
const fadeEl = document.querySelectorAll('[class*="a-bolt-"]');
const fadeEl = document.querySelectorAll('.a-bolt-base');
// Repeat single specific fade on click
function triggerThisEl({ target }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -313,7 +314,8 @@
content: item_external_link,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -325,7 +327,8 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -337,7 +340,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -349,7 +353,8 @@
content: item_pdf,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -361,7 +366,8 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -373,7 +379,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -385,7 +392,8 @@
content: item_external_link,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -397,7 +405,7 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -409,7 +417,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -421,7 +430,8 @@
content: item_pdf,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -433,7 +443,8 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -445,7 +456,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -457,7 +469,8 @@
content: item_external_link,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -469,7 +482,8 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -481,7 +495,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -493,7 +508,8 @@
content: item_external_link,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -505,7 +521,8 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -517,7 +534,8 @@
content: item_video,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -529,7 +547,8 @@
content: item_pdf,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand All @@ -541,7 +560,8 @@
content: item_locked,
attributes: {
class: [

'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-cascade-slow'
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
size: 'xlarge',
attributes: {
class: [
'a-bolt-base',
'a-bolt-in',
'a-bolt-in--fade-up',
'a-bolt-duration-short',
'a-bolt-cascade-fast',
Expand Down

0 comments on commit e15598c

Please sign in to comment.