@carbon/upgrade 11.35.0 → 11.36.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/cli.js +3503 -3597
- package/package.json +2 -2
- package/transforms/__testfixtures__/enable-v12-overflowmenu-nowrap.input.tsx +1 -2
- package/transforms/__testfixtures__/enable-v12-overflowmenu-nowrap.output.tsx +1 -2
- package/transforms/__testfixtures__/enable-v12-overflowmenu.input.tsx +1 -2
- package/transforms/__testfixtures__/enable-v12-overflowmenu.output.tsx +1 -2
- package/transforms/__testfixtures__/enable-v12-tile-default-icons.input.tsx +1 -1
- package/transforms/__testfixtures__/enable-v12-tile-default-icons.output.tsx +1 -1
- package/transforms/__testfixtures__/enable-v12-tile-radio-icons.input.tsx +1 -1
- package/transforms/__testfixtures__/enable-v12-tile-radio-icons.output.tsx +1 -1
- package/transforms/__testfixtures__/slug-prop-to-decorator-prop.input.tsx +1 -1
- package/transforms/__testfixtures__/slug-prop-to-decorator-prop.output.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/upgrade",
|
|
3
3
|
"description": "A tool for upgrading Carbon versions",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.36.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
7
7
|
"carbon-upgrade": "./bin/carbon-upgrade.js"
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"@ibm/telemetry-js": "^1.5.0",
|
|
61
61
|
"jscodeshift": "^17.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "cbde6bd5df4774c2780411b3faa02ec3a0bb7585"
|
|
64
64
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//prettier-ignore
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { FC } from 'react';
|
|
4
3
|
import { OverflowMenu, OverflowMenuItem } from '@carbon/react';
|
|
5
4
|
|
|
6
5
|
interface MenuItem {
|
|
@@ -13,7 +12,7 @@ interface Props {
|
|
|
13
12
|
items: MenuItem[];
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
const TestComponent
|
|
15
|
+
const TestComponent = ({ items }: Props) => {
|
|
17
16
|
return (
|
|
18
17
|
<div>
|
|
19
18
|
{/* Old API usage - mapped items */}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//prettier-ignore
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FeatureFlags } from '@carbon/feature-flags';
|
|
4
|
-
import type { FC } from 'react';
|
|
5
4
|
import { MenuItem, MenuItemDivider, OverflowMenu, OverflowMenuItem } from '@carbon/react';
|
|
6
5
|
|
|
7
6
|
interface MenuItem {
|
|
@@ -14,7 +13,7 @@ interface Props {
|
|
|
14
13
|
items: MenuItem[];
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
const TestComponent
|
|
16
|
+
const TestComponent = ({ items }: Props) => {
|
|
18
17
|
return (
|
|
19
18
|
(<div>
|
|
20
19
|
{/* Old API usage - mapped items */}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//prettier-ignore
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { FC } from 'react';
|
|
4
3
|
import { OverflowMenu, OverflowMenuItem } from '@carbon/react';
|
|
5
4
|
|
|
6
5
|
interface MenuItem {
|
|
@@ -13,7 +12,7 @@ interface Props {
|
|
|
13
12
|
items: MenuItem[];
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
const TestComponent
|
|
15
|
+
const TestComponent = ({ items }: Props) => {
|
|
17
16
|
return (
|
|
18
17
|
<div>
|
|
19
18
|
{/* Old API usage - mapped items */}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//prettier-ignore
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FeatureFlags } from '@carbon/feature-flags';
|
|
4
|
-
import type { FC } from 'react';
|
|
5
4
|
import { MenuItem, MenuItemDivider, OverflowMenu, OverflowMenuItem } from '@carbon/react';
|
|
6
5
|
|
|
7
6
|
interface MenuItem {
|
|
@@ -14,7 +13,7 @@ interface Props {
|
|
|
14
13
|
items: MenuItem[];
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
const TestComponent
|
|
16
|
+
const TestComponent = ({ items }: Props) => {
|
|
18
17
|
return (
|
|
19
18
|
(<div>
|
|
20
19
|
{/* Old API usage - mapped items */}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Dropdown, Checkbox, Tag } from '@carbon/react';
|
|
3
3
|
|
|
4
|
-
const TestComponent
|
|
4
|
+
const TestComponent = () => {
|
|
5
5
|
return (
|
|
6
6
|
//prettier-ignore
|
|
7
7
|
(<div>
|
|
@@ -38,4 +38,4 @@ const TestComponent: React.FC = () => {
|
|
|
38
38
|
);
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
export default TestComponent;
|
|
41
|
+
export default TestComponent;
|