An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
/**
* @file v0.0.12 transform manifest
*
* Lists all codemods for the v0.0.12 release in the order they should run.
*/
import addIsIconOnly, {
meta as addIsIconOnlyMeta,
} from './add-is-icon-only.mjs';
export default [
{
name: 'add-is-icon-only',
transform: addIsIconOnly,
meta: addIsIconOnlyMeta,
// Optional: heuristic-based detection can produce false positives.
// A button with icon + no children might intentionally show the label
// in v0.0.12. Run explicitly with --codemod add-is-icon-only after
// visually verifying the results.
optional: true,
},
];