carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.6k stars 1.76k forks source link

[AI] Rename the `slug` component to `AI label` #16618

Open aagonzales opened 1 month ago

aagonzales commented 1 month ago

As part of the process of moving the slug to stable we want to rename the slug to AI label.

tay1orjones commented 1 month ago

This should include writing a codemod to automate the migration of this rename. Could also be beneficial to leave in the old name and add the new name as well, but updating storybook to use the new name. Maybe in the storybook docs we could state that unstable__Slug is the old name. If the old name is used by a consumer, a warning could pop in the console suggesting they update to the new name, and provide a link or instructions on how to run the codemod.

tay1orjones commented 3 weeks ago

Also all the storybook-related tasks for this are over in https://github.com/carbon-design-system/carbon/issues/16755