From 3ade5189ceb21b9f2334635983a1f559284fcb06 Mon Sep 17 00:00:00 2001 From: shaharzil Date: Tue, 9 Jul 2024 13:33:03 +0300 Subject: [PATCH] remove old label animation (#2196) --- packages/core/docs/vibe-3-changelog.md | 1 + .../Dropdown/__stories__/Dropdown.stories.js | 2 +- .../src/components/Label/Label.module.scss | 9 -------- packages/core/src/components/Label/Label.tsx | 6 +---- .../Label/__stories__/Label.stories.tsx | 2 +- .../Label/__tests__/Label.snapshot.test.tsx | 2 +- .../Label.snapshot.test.tsx.snap | 22 +++++++++---------- .../MenuItem.snapshot.test.js.snap | 2 +- .../Table/Table/__stories__/Table.mdx | 2 -- .../Table/Table/__stories__/Table.stories.js | 20 +++++++---------- .../descriptions/table-description.tsx | 1 - 11 files changed, 25 insertions(+), 44 deletions(-) diff --git a/packages/core/docs/vibe-3-changelog.md b/packages/core/docs/vibe-3-changelog.md index f053934002..b2ae6469b6 100644 --- a/packages/core/docs/vibe-3-changelog.md +++ b/packages/core/docs/vibe-3-changelog.md @@ -70,6 +70,7 @@ ### Label - `wrapperClassName` -> `className` [codemod] +- Spin in animation removed due to UX decision, including `isAnimationDisabled` prop which is not needed anymore ### EditableHeading diff --git a/packages/core/src/components/Dropdown/__stories__/Dropdown.stories.js b/packages/core/src/components/Dropdown/__stories__/Dropdown.stories.js index 35b9739f00..c9cc662139 100644 --- a/packages/core/src/components/Dropdown/__stories__/Dropdown.stories.js +++ b/packages/core/src/components/Dropdown/__stories__/Dropdown.stories.js @@ -627,7 +627,7 @@ export const SearchableDropdown = { export const DropdownWithLabels = { render: () => { const labelRenderer = useCallback(({ label, color }) => { - return