Skip to content

feat(many): remove deprecated v2 items#2549

Open
ToMESSKa wants to merge 1 commit intomasterfrom
INSTUI-5025-remove-deprecated-items-in-v-2
Open

feat(many): remove deprecated v2 items#2549
ToMESSKa wants to merge 1 commit intomasterfrom
INSTUI-5025-remove-deprecated-items-in-v-2

Conversation

@ToMESSKa
Copy link
Copy Markdown
Contributor

@ToMESSKa ToMESSKa commented May 8, 2026

BREAKING CHANGE:
Removed FormFieldLabel component
Removed _content prop from DrawerLayout.Tray and DrawerLayout.Content
Removed _link prop from Link
Removed _node prop from Menu.Item
Removed _root prop from Pagination, TreeBrowser
Removed _select prop from SimpleSelect and TimeSelect
Removed _ref prop from TruncateText
Removed _element prop from View
Removed color="ai" from Heading
Removed variant="inline-small" and variant="standalone-small" from Link
Removed title prop from Tag
Removed focusRingBorderRadius prop from View
Removed hideActionsUserSeparator prop from TopNavBar.Layout
Removed handleFocusOutlineColor, handleFocusOutlineWidth, handleShadowColor from RangeInput

INSTUI-5025

ISSUE:

  • some deprecated items should be removed from v2

TEST PLAN:

  • check if everything that supposed to be removed is removed based on this slack thread
  • check if no item is removed from v1 or non-versioned packages
  • check if the examples of the respective compontents have no errors in the documentation on v11.7
  • check if all relevant removals are listed in the upgrage guide and the breaking changes section of the commit
  • check if no mention of the deprecated items are in the v11.7 documentation or tests

@ToMESSKa ToMESSKa self-assigned this May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2549/

Built to branch gh-pages at 2026-05-08 14:47 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

github-actions Bot pushed a commit that referenced this pull request May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Visual regression report

⚠️ Changes detected.

Status Count
Unchanged 31
Changed 1
New 0
Removed 0

📊 View full report

Diff images (1)

link.png — 1691 pixels differ

Baselines come from the visual-baselines branch. They refresh on every merge to master.

Comment on lines -754 to -755
#### Deprecated variant values

Copy link
Copy Markdown
Contributor Author

@ToMESSKa ToMESSKa May 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added by @git-nandor before the multi-versioning was introduced so I deleted this as I think the deprecation is not necessary and we can jump straight to removing these values.

Comment on lines +1202 to +1204
{name:"handleFocusOutlineColor",note:"only used by the removed deprecated thumb variant"},
{name:"handleFocusOutlineWidth",note:"only used by the removed deprecated thumb variant"},
{name:"handleShadowColor",note:"only used by the removed deprecated thumb variant"}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the thumb variant was removed here #2544 but I realized these tokens should be removed as well so I updated this and told the designers to remove these tokens too.

Comment on lines +1553 to +1554

- `hideActionsUserSeparator` prop has been removed.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this prop was removed in the TopNavrBar rework #2512 because it was a fully 'dead' prop but I realized this was missing from the upgrade guide.

Comment on lines -66 to -67
// TODO: Remove this in v10!
if ('desktopConfig' in this.props) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

desktopConfig prop was removed in 2024 but this warning was left in, so I did not list desktopConfig in the upgrade guide as a removed prop.

BREAKING CHANGE: Removed FormFieldLabel component

Removed _content prop from DrawerLayout.Tray and DrawerLayout.Content

Removed _link prop from Link

Removed _node prop from Menu.Item

Removed _root prop from Pagination, TreeBrowser

Removed _select prop from SimpleSelect and TimeSelect

Removed _ref prop from TruncateText

Removed _element prop from View

Removed color="ai" from Heading

Removed variant="inline-small" and variant="standalone-small" from Link

Removed title prop from Tag

Removed focusRingBorderRadius prop from View

Removed hideActionsUserSeparator prop from TopNavBar.Layout

Removed handleFocusOutlineColor, handleFocusOutlineWidth, handleShadowColor from RangeInput

INSTUI-5025
@ToMESSKa ToMESSKa force-pushed the INSTUI-5025-remove-deprecated-items-in-v-2 branch from 874cb6c to 4340a2e Compare May 8, 2026 14:42
github-actions Bot pushed a commit that referenced this pull request May 8, 2026
@ToMESSKa ToMESSKa requested review from git-nandor and matyasf May 8, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant