From 9ba791c1446b088e423bfbbb55517ee8fbda5675 Mon Sep 17 00:00:00 2001 From: Gabriel Fleury <55366345+ga-fleury@users.noreply.github.com> Date: Fri, 12 Jul 2024 13:34:42 -0300 Subject: [PATCH] bug: Rename the blockly icon CSS classes to use camelCase (#8329) (#8335) --- core/icons/comment_icon.ts | 2 +- core/icons/mutator_icon.ts | 2 +- core/icons/warning_icon.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/icons/comment_icon.ts b/core/icons/comment_icon.ts index c05748dcc5e..064f6784347 100644 --- a/core/icons/comment_icon.ts +++ b/core/icons/comment_icon.ts @@ -114,7 +114,7 @@ export class CommentIcon extends Icon implements IHasBubble, ISerializable { }, this.svgRoot, ); - dom.addClass(this.svgRoot!, 'blockly-icon-comment'); + dom.addClass(this.svgRoot!, 'blocklyCommentIcon'); } override dispose() { diff --git a/core/icons/mutator_icon.ts b/core/icons/mutator_icon.ts index 7fb3fcf3b81..2c350f544ea 100644 --- a/core/icons/mutator_icon.ts +++ b/core/icons/mutator_icon.ts @@ -116,7 +116,7 @@ export class MutatorIcon extends Icon implements IHasBubble { {'class': 'blocklyIconShape', 'r': '2.7', 'cx': '8', 'cy': '8'}, this.svgRoot, ); - dom.addClass(this.svgRoot!, 'blockly-icon-mutator'); + dom.addClass(this.svgRoot!, 'blocklyMutatorIcon'); } override dispose(): void { diff --git a/core/icons/warning_icon.ts b/core/icons/warning_icon.ts index 08f511a60b7..5a22ec16d25 100644 --- a/core/icons/warning_icon.ts +++ b/core/icons/warning_icon.ts @@ -89,7 +89,7 @@ export class WarningIcon extends Icon implements IHasBubble { }, this.svgRoot, ); - dom.addClass(this.svgRoot!, 'blockly-icon-warning'); + dom.addClass(this.svgRoot!, 'blocklyWarningIcon'); } override dispose() {