Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23,739 changes: 14,136 additions & 9,603 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions packages/blockly/core/clipboard/workspace_comment_paster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import {Coordinate} from '../utils/coordinate.js';
import {WorkspaceSvg} from '../workspace_svg.js';
import * as registry from './registry.js';

export class WorkspaceCommentPaster
implements IPaster<WorkspaceCommentCopyData, RenderedWorkspaceComment>
{
export class WorkspaceCommentPaster implements IPaster<
WorkspaceCommentCopyData,
RenderedWorkspaceComment
> {
static TYPE = 'workspace-comment';

paste(
Expand Down
5 changes: 1 addition & 4 deletions packages/blockly/core/interfaces/i_bubble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ import {ISelectable} from './i_selectable.js';
* A bubble interface.
*/
export interface IBubble
extends IDraggable,
IContextMenu,
ISelectable,
IBoundedElement {
extends IDraggable, IContextMenu, ISelectable, IBoundedElement {
/**
* Return the coordinates of the top-left corner of this bubble's body
* relative to the drawing surface's origin (0,0), in workspace units.
Expand Down
4 changes: 1 addition & 3 deletions packages/blockly/core/interfaces/i_draggable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ export enum DragDisposition {
* Represents an object that can be dragged.
*/
export interface IDraggable
extends IDragStrategy,
IBoundedElement,
ISelectable {
extends IDragStrategy, IBoundedElement, ISelectable {
/**
* Returns the current location of the draggable in workspace coordinates.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
/**
* Set of rules controlling keyboard navigation from a CommentBarButton.
*/
export class CommentBarButtonNavigationPolicy
implements INavigationPolicy<CommentBarButton>
{
export class CommentBarButtonNavigationPolicy implements INavigationPolicy<CommentBarButton> {
/**
* Returns the first child of the given CommentBarButton.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
* This is a no-op placeholder (other than isNavigable/isApplicable) since
* comment editors handle their own navigation when editing ends.
*/
export class CommentEditorNavigationPolicy
implements INavigationPolicy<CommentEditor>
{
export class CommentEditorNavigationPolicy implements INavigationPolicy<CommentEditor> {
getFirstChild(_current: CommentEditor): IFocusableNode | null {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import {navigateBlock} from './block_navigation_policy.js';
/**
* Set of rules controlling keyboard navigation from a connection.
*/
export class ConnectionNavigationPolicy
implements INavigationPolicy<RenderedConnection>
{
export class ConnectionNavigationPolicy implements INavigationPolicy<RenderedConnection> {
/**
* Returns the first child of a connection.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
/**
* Set of rules controlling keyboard navigation from a flyout button.
*/
export class FlyoutButtonNavigationPolicy
implements INavigationPolicy<FlyoutButton>
{
export class FlyoutButtonNavigationPolicy implements INavigationPolicy<FlyoutButton> {
/**
* Returns null since flyout buttons have no children.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
* Set of rules controlling keyboard navigation from a flyout separator.
* This is a no-op placeholder, since flyout separators can't be navigated to.
*/
export class FlyoutSeparatorNavigationPolicy
implements INavigationPolicy<FlyoutSeparator>
{
export class FlyoutSeparatorNavigationPolicy implements INavigationPolicy<FlyoutSeparator> {
getFirstChild(_current: FlyoutSeparator): IFocusableNode | null {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ import {
/**
* Set of rules controlling keyboard navigation from a toolbox item.
*/
export class ToolboxItemNavigationPolicy
implements INavigationPolicy<IToolboxItem>
{
export class ToolboxItemNavigationPolicy implements INavigationPolicy<IToolboxItem> {
/**
* Returns the first child of the given toolbox item.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
/**
* Set of rules controlling keyboard navigation from an RenderedWorkspaceComment.
*/
export class WorkspaceCommentNavigationPolicy
implements INavigationPolicy<RenderedWorkspaceComment>
{
export class WorkspaceCommentNavigationPolicy implements INavigationPolicy<RenderedWorkspaceComment> {
/**
* Returns the first child of the given workspace comment.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import {WorkspaceSvg} from '../../workspace_svg.js';
/**
* Set of rules controlling keyboard navigation from a workspace.
*/
export class WorkspaceNavigationPolicy
implements INavigationPolicy<WorkspaceSvg>
{
export class WorkspaceNavigationPolicy implements INavigationPolicy<WorkspaceSvg> {
/**
* Returns the first child of the given workspace.
*
Expand Down
3 changes: 1 addition & 2 deletions packages/blockly/core/serialization/procedures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ export function loadProcedure<
export class ProcedureSerializer<
ProcedureModel extends IProcedureModel,
ParameterModel extends IParameterModel,
> implements ISerializer
{
> implements ISerializer {
public priority = priorities.PROCEDURES;

/**
Expand Down
6 changes: 3 additions & 3 deletions packages/blockly/core/variable_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ import type {Workspace} from './workspace.js';
* variable types as keys and lists of variables as values. The list of
* variables are the type indicated by the key.
*/
export class VariableMap
implements IVariableMap<IVariableModel<IVariableState>>
{
export class VariableMap implements IVariableMap<
IVariableModel<IVariableState>
> {
/**
* A map from variable type to map of IDs to variables. The maps contain
* all of the named variables in the workspace, including variables that are
Expand Down
1 change: 0 additions & 1 deletion packages/blockly/gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @fileoverview Gulp script to build Blockly for Node & NPM.
* Run this script by calling "npm install" in this directory.
*/
/* eslint-env node */

// Needed to prevent prettier from munging exports order, due to
// https://github.com/simonhaenisch/prettier-plugin-organize-imports/issues/146
Expand Down
1 change: 0 additions & 1 deletion packages/blockly/scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/**
* @fileoverview Helper functions for build/test.
*/
/* eslint-env node */

const path = require('path');

Expand Down
10 changes: 5 additions & 5 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"@docusaurus/core": "^3.10.1",
"@docusaurus/plugin-client-redirects": "^3.10.1",
"@docusaurus/preset-classic": "^3.10.1",
"@mdx-js/react": "^3.0.1",
"@mdx-js/react": "^3.1.1",
"clsx": "^2.1.1",
"js-yaml": "^4.1.0",
"prism-react-renderer": "^2.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"js-yaml": "^4.1.1",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"remark-directive": "^4.0.0"
},
"devDependencies": {
Expand Down
Loading