@carbon/upgrade 11.43.0-rc.0 → 11.44.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/cli.js +548 -187
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -166,7 +166,7 @@ npx @carbon/upgrade migrate enable-v12-overflowmenu --write
|
|
|
166
166
|
2. API migration only (for apps already using FeatureFlags at the root):
|
|
167
167
|
|
|
168
168
|
```bash
|
|
169
|
-
npx @carbon/upgrade migrate enable-v12-overflowmenu --
|
|
169
|
+
npx @carbon/upgrade migrate enable-v12-overflowmenu --wrapWithFeatureFlag=false --write
|
|
170
170
|
```
|
|
171
171
|
|
|
172
172
|
This codemod:
|
|
@@ -273,6 +273,20 @@ This codemod:
|
|
|
273
273
|
</StructuredListWrapper>
|
|
274
274
|
```
|
|
275
275
|
|
|
276
|
+
### Known limitations
|
|
277
|
+
|
|
278
|
+
- The tile default icons, tile radio icons, and OverflowMenu codemods generate a
|
|
279
|
+
`FeatureFlags` import from `@carbon/feature-flags`. The JSX component is
|
|
280
|
+
exported by `@carbon/react`; correct the generated import before using the
|
|
281
|
+
result.
|
|
282
|
+
- The tile default icons codemod targets `Tile`, while the v12 default icon
|
|
283
|
+
behavior affects `ClickableTile`. Review its target coverage before using it.
|
|
284
|
+
- The OverflowMenu codemod updates item components and item props, but it does
|
|
285
|
+
not update parent props such as `aria-label` to `label`. Review each migrated
|
|
286
|
+
`OverflowMenu` against the v12 API.
|
|
287
|
+
- The structured list codemod changes React markup only. It does not update the
|
|
288
|
+
application's Sass feature flag configuration.
|
|
289
|
+
|
|
276
290
|
## Other V12 Codemods
|
|
277
291
|
|
|
278
292
|
### Light to layer
|