Skip to content

Commit

Permalink
chore(pick-list, pick-list-item, value-list-item): fix runtime deprec…
Browse files Browse the repository at this point in the history
…ation messages (#9870)

**Related Issue:** #9295

## Summary

Fixes mismatched component names in deprecation warning.
  • Loading branch information
jcfranco authored and github-actions[bot] committed Jul 30, 2024
1 parent 3613acd commit 1f2cfef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import { PickListItemMessages } from "./assets/pick-list-item/t9n";
import { CSS, ICONS, SLOTS } from "./resources";

logger.deprecated("component", {
name: "pick-list",
name: "pick-list-item",
removalVersion: 3,
suggested: "list",
suggested: "list-item",
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ import {
import List from "./shared-list-render";

logger.deprecated("component", {
name: "pick-list-item",
name: "pick-list",
removalVersion: 3,
suggested: "list-item",
suggested: "list",
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import { ListItemAndHandle } from "./interfaces";
import { ICONS, SLOTS } from "./resources";

logger.deprecated("component", {
name: "value-list",
name: "value-list-item",
removalVersion: 3,
suggested: "list",
suggested: "list-item",
});

/**
Expand Down

0 comments on commit 1f2cfef

Please sign in to comment.