mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
fix!: refactor warning icon (#7112)
* feat: add basic warning icon * feat: work on actually using the warning icon * chore: add docs * chore: delete old warning icon * chore: fix build * chore: my own comments * chore: move Warning to icons.WarningIcon * chore: move properties to the module level * chore: properly override and call super * chore: properly use optional chaining * chore: fixup comment typo * chore: change imports to import type * chore: reduces changes in block js files * chore: add renaming
This commit is contained in:
@@ -1447,5 +1447,15 @@
|
||||
|
||||
'develop': [
|
||||
// New renamings go here!
|
||||
{
|
||||
oldName: 'Blockly.Warning',
|
||||
exports: {
|
||||
Warning: {
|
||||
newExport: 'WarningIcon',
|
||||
oldPath: 'Blockly.Warning',
|
||||
newPath: 'Blocky.icons.WarningIcon',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user