From 426d9a6ca82e3233168269c6334db1ba49079f10 Mon Sep 17 00:00:00 2001 From: JC Franco Date: Fri, 26 Jul 2024 17:00:27 -0700 Subject: [PATCH] chore(pick-list, pick-list-item, value-list-item): fix runtime deprecation messages --- .../src/components/pick-list-item/pick-list-item.tsx | 4 ++-- .../calcite-components/src/components/pick-list/pick-list.tsx | 4 ++-- .../src/components/value-list-item/value-list-item.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx b/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx index b7a2b342fdf..d26121c5fa5 100644 --- a/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx +++ b/packages/calcite-components/src/components/pick-list-item/pick-list-item.tsx @@ -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", }); /** diff --git a/packages/calcite-components/src/components/pick-list/pick-list.tsx b/packages/calcite-components/src/components/pick-list/pick-list.tsx index 7c29fa7d8e8..c8f41a2fdf4 100644 --- a/packages/calcite-components/src/components/pick-list/pick-list.tsx +++ b/packages/calcite-components/src/components/pick-list/pick-list.tsx @@ -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", }); /** diff --git a/packages/calcite-components/src/components/value-list-item/value-list-item.tsx b/packages/calcite-components/src/components/value-list-item/value-list-item.tsx index d0dafec8ea9..a3122f2861d 100644 --- a/packages/calcite-components/src/components/value-list-item/value-list-item.tsx +++ b/packages/calcite-components/src/components/value-list-item/value-list-item.tsx @@ -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", }); /**