mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Fix: Revert focus prs (#8933)
* Revert "feat: Make toolbox and flyout focusable (#8920)" This reverts commit5bc83808bf. * Revert "feat: Make WorkspaceSvg and BlockSvg focusable (#8916)" This reverts commitd7680cf32e.
This commit is contained in:
@@ -12,13 +12,12 @@ import type {Coordinate} from '../utils/coordinate.js';
|
||||
import type {Svg} from '../utils/svg.js';
|
||||
import type {FlyoutDefinition} from '../utils/toolbox.js';
|
||||
import type {WorkspaceSvg} from '../workspace_svg.js';
|
||||
import {IFocusableTree} from './i_focusable_tree.js';
|
||||
import type {IRegistrable} from './i_registrable.js';
|
||||
|
||||
/**
|
||||
* Interface for a flyout.
|
||||
*/
|
||||
export interface IFlyout extends IRegistrable, IFocusableTree {
|
||||
export interface IFlyout extends IRegistrable {
|
||||
/** Whether the flyout is laid out horizontally or not. */
|
||||
horizontalLayout: boolean;
|
||||
|
||||
|
||||
@@ -9,14 +9,13 @@
|
||||
import type {ToolboxInfo} from '../utils/toolbox.js';
|
||||
import type {WorkspaceSvg} from '../workspace_svg.js';
|
||||
import type {IFlyout} from './i_flyout.js';
|
||||
import type {IFocusableTree} from './i_focusable_tree.js';
|
||||
import type {IRegistrable} from './i_registrable.js';
|
||||
import type {IToolboxItem} from './i_toolbox_item.js';
|
||||
|
||||
/**
|
||||
* Interface for a toolbox.
|
||||
*/
|
||||
export interface IToolbox extends IRegistrable, IFocusableTree {
|
||||
export interface IToolbox extends IRegistrable {
|
||||
/** Initializes the toolbox. */
|
||||
init(): void;
|
||||
|
||||
|
||||
@@ -6,12 +6,10 @@
|
||||
|
||||
// Former goog.module ID: Blockly.IToolboxItem
|
||||
|
||||
import type {IFocusableNode} from './i_focusable_node.js';
|
||||
|
||||
/**
|
||||
* Interface for an item in the toolbox.
|
||||
*/
|
||||
export interface IToolboxItem extends IFocusableNode {
|
||||
export interface IToolboxItem {
|
||||
/**
|
||||
* Initializes the toolbox item.
|
||||
* This includes creating the DOM and updating the state of any items based
|
||||
|
||||
Reference in New Issue
Block a user