File tree Expand file tree Collapse file tree 5 files changed +10
-15
lines changed
Expand file tree Collapse file tree 5 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,8 @@ export const Save = props => {
8181 role = "list"
8282 data-autoplay = { attributes . autoplay ? ( attributes . autoplaySpeed || '4000' ) : undefined }
8383 data-label-slide-of = { attributes . ariaLabelPrev || 'Slide %%d of %%d' }
84- { ...applyFilters ( 'stackable.carousel.save.slider-props' , {
85- tabIndex : 0 ,
86- } , props . version ) }
84+ tabIndex = { 0 }
85+ { ...applyFilters ( 'stackable.carousel.save.slider-props' , { } , props . version ) }
8786 >
8887 < InnerBlocks . Content />
8988 </ div >
Original file line number Diff line number Diff line change @@ -56,9 +56,8 @@ export const Save = props => {
5656 < CustomCSS . Content attributes = { attributes } />
5757 < div
5858 className = { contentClassNames }
59- { ...applyFilters ( 'stackable.horizontal-scroller.save.scroller-props' , {
60- tabIndex : 0 ,
61- } , props . version ) }
59+ tabIndex = { 0 }
60+ { ...applyFilters ( 'stackable.horizontal-scroller.save.scroller-props' , { } , props . version ) }
6261 >
6362 < InnerBlocks . Content />
6463 </ div >
Original file line number Diff line number Diff line change @@ -79,9 +79,8 @@ export const Save = props => {
7979 { attributes . isDismissible &&
8080 < button
8181 className = "stk-block-notification__close-button"
82- { ...applyFilters ( 'stackable.notification.save.close-button-props' , {
83- 'aria-label' : __ ( 'Close' , i18n ) ,
84- } , props . version ) }
82+ aria-label = { __ ( 'Close' , i18n ) }
83+ { ...applyFilters ( 'stackable.notification.save.close-button-props' , { } , props . version ) }
8584 >
8685 < SVGCloseIcon
8786 width = { attributes . dismissibleSize || 16 }
Original file line number Diff line number Diff line change @@ -76,9 +76,8 @@ export const Save = props => {
7676 aria-valuemax = "100"
7777 aria-valuenow = { progressValue }
7878 aria-valuetext = { derivedAriaValue ? striptags ( derivedAriaValue ) : undefined }
79- { ...applyFilters ( 'stackable.progress-bar.div-props' , {
80- 'aria-label' : derivedAriaValue ? striptags ( derivedAriaValue ) : undefined ,
81- } , props . version ) }
79+ aria-label = { derivedAriaValue ? striptags ( derivedAriaValue ) : undefined }
80+ { ...applyFilters ( 'stackable.progress-bar.div-props' , { } , props . version ) }
8281 >
8382 < div className = { barClassNames } >
8483 { attributes . showText && (
Original file line number Diff line number Diff line change @@ -72,9 +72,8 @@ export const Save = props => {
7272 aria-valuemax = "100"
7373 aria-valuenow = { progressValue }
7474 aria-valuetext = { attributes . progressAriaValueText ? striptags ( attributes . progressAriaValueText ) : undefined }
75- { ...applyFilters ( 'stackable.progress-circle.div-props' , {
76- 'aria-label' : attributes . progressAriaValueText ? striptags ( attributes . progressAriaValueText ) : undefined ,
77- } , props . version ) }
75+ aria-label = { attributes . progressAriaValueText ? striptags ( attributes . progressAriaValueText ) : undefined }
76+ { ...applyFilters ( 'stackable.progress-circle.div-props' , { } , props . version ) }
7877 >
7978 < svg >
8079 { attributes . progressColorType === 'gradient' && (
You can’t perform that action at this time.
0 commit comments