From 4bc7319056991c7e881bae2be24e5bd50e6bdeb3 Mon Sep 17 00:00:00 2001 From: Hyko Date: Sat, 25 Apr 2026 18:07:59 -0400 Subject: [PATCH] refactor(ui): replace PlusSignIcon with Add01Icon in BlockEditor - swap PlusSignIcon for Add01Icon in Block.client.js add button - remove PlusSignIcon export from shared icons index - update README to reflect renamed icon --- src/shared/components/BlockEditor/Block.client.js | 4 ++-- src/shared/components/BlockEditor/README.md | 2 +- src/shared/icons/index.js | 6 ------ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/shared/components/BlockEditor/Block.client.js b/src/shared/components/BlockEditor/Block.client.js index bf1c8d1..c5e9d7b 100644 --- a/src/shared/components/BlockEditor/Block.client.js +++ b/src/shared/components/BlockEditor/Block.client.js @@ -1,7 +1,7 @@ 'use client'; import React, { useEffect, useImperativeHandle, useRef, useState, forwardRef } from 'react'; -import { PlusSignIcon, DragDropVerticalIcon } from '@zen/core/shared/icons'; +import { Add01Icon, DragDropVerticalIcon } from '@zen/core/shared/icons'; import { getBlockDef } from './blockRegistry.js'; import { getCaretOffset, @@ -258,7 +258,7 @@ const Block = forwardRef(function Block( disabled={disabled} className="w-5 h-5 flex items-center justify-center rounded text-neutral-500 hover:bg-neutral-200 dark:hover:bg-neutral-700/60 hover:text-neutral-900 dark:hover:text-white text-sm leading-none" > - +