From af1d6b63112cc383bcad52d099d84460da937ffa Mon Sep 17 00:00:00 2001 From: Egor Didenko Date: Tue, 2 Jul 2024 16:40:32 -0400 Subject: [PATCH] fix(a11y): Added a type for the button (#695) --- blocks/CloudImageEditor/src/EditorButtonControl.js | 2 +- blocks/CloudImageEditor/src/EditorFilterControl.js | 2 +- blocks/CloudImageEditor/src/elements/button/LrBtnUi.js | 2 +- blocks/SourceBtn/SourceBtn.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks/CloudImageEditor/src/EditorButtonControl.js b/blocks/CloudImageEditor/src/EditorButtonControl.js index 3dd6b66c..4cca4f73 100644 --- a/blocks/CloudImageEditor/src/EditorButtonControl.js +++ b/blocks/CloudImageEditor/src/EditorButtonControl.js @@ -37,7 +37,7 @@ export class EditorButtonControl extends Block { } EditorButtonControl.template = /* HTML */ ` - diff --git a/blocks/CloudImageEditor/src/EditorFilterControl.js b/blocks/CloudImageEditor/src/EditorFilterControl.js index 2a8e92e9..b6f7fcab 100644 --- a/blocks/CloudImageEditor/src/EditorFilterControl.js +++ b/blocks/CloudImageEditor/src/EditorFilterControl.js @@ -148,7 +148,7 @@ export class EditorFilterControl extends EditorButtonControl { } EditorFilterControl.template = /* HTML */ ` - diff --git a/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js b/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js index 97103631..a6cfdfbb 100644 --- a/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js +++ b/blocks/CloudImageEditor/src/elements/button/LrBtnUi.js @@ -83,7 +83,7 @@ export class LrBtnUi extends Block { LrBtnUi.bindAttributes({ text: 'text', icon: 'icon', reverse: 'reverse', theme: 'theme' }); LrBtnUi.template = /* HTML */ ` - diff --git a/blocks/SourceBtn/SourceBtn.js b/blocks/SourceBtn/SourceBtn.js index eb0fad35..cf15cee6 100644 --- a/blocks/SourceBtn/SourceBtn.js +++ b/blocks/SourceBtn/SourceBtn.js @@ -134,7 +134,7 @@ export class SourceBtn extends UploaderBlock { } SourceBtn.template = /* HTML */ ` -