diff --git a/.gitignore b/.gitignore index 377354f8..ef5e9729 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,7 @@ lerna-output.txt .idea test/packages/* .DS_Store -dist \ No newline at end of file +dist + +# IDE - VSCode +.history \ No newline at end of file diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113424.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113424.ts deleted file mode 100644 index ad02d4ea..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113424.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataListAction-remove-theme-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113544.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113544.ts deleted file mode 100644 index 4a6f0ced..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113544.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataListAction-remove-is-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113546.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113546.ts deleted file mode 100644 index 31257c5f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113546.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataListAction-remove-isPla-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113548.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113548.ts deleted file mode 100644 index 5b71168f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113548.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataListAction-remove-isPlain-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113552.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113552.ts deleted file mode 100644 index 786849c5..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113552.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113600.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113600.ts deleted file mode 100644 index 212fdb69..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920113600.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114010.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114010.ts deleted file mode 100644 index a74a47b8..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114010.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114012.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114012.ts deleted file mode 100644 index 946ef675..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114012.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114018.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114018.ts deleted file mode 100644 index 2de86c8d..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114018.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114020.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114020.ts deleted file mode 100644 index ed170240..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114020.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114029.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114029.ts deleted file mode 100644 index f01a6904..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114029.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114033.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114033.ts deleted file mode 100644 index c12359ff..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114033.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { Data } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114037.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114037.ts deleted file mode 100644 index 62c70f3a..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114037.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114048.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114048.ts deleted file mode 100644 index 84072444..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114048.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114100.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114100.ts deleted file mode 100644 index 30a6077a..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114100.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListActipo } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114102.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114102.ts deleted file mode 100644 index 045c2a1b..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114102.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListActi } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114104.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114104.ts deleted file mode 100644 index 88f7f99d..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114104.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114115.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114115.ts deleted file mode 100644 index 67c4022a..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114115.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114119.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114119.ts deleted file mode 100644 index 2c83aab8..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114119.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114130.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114130.ts deleted file mode 100644 index d2d186ab..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114130.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114136.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114136.ts deleted file mode 100644 index 0519b1b3..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114136.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114139.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114139.ts deleted file mode 100644 index e12f9bd9..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114139.ts +++ /dev/null @@ -1,26 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114141.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114141.ts deleted file mode 100644 index 0519b1b3..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114141.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114142.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114142.ts deleted file mode 100644 index 80425532..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114142.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114146.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114146.ts deleted file mode 100644 index e12f9bd9..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114146.ts +++ /dev/null @@ -1,26 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114147.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114147.ts deleted file mode 100644 index 0519b1b3..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114147.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114150.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114150.ts deleted file mode 100644 index ab60c0e1..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114150.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114201.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114201.ts deleted file mode 100644 index 9c94d1a5..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114201.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114207.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114207.ts deleted file mode 100644 index 4d7c3565..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114207.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from Data as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114211.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114211.ts deleted file mode 100644 index 9ac4acc9..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114211.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from DataListAction as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114301.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114301.ts deleted file mode 100644 index 6e7e4028..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114301.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from DataListAction the wrapper is no longer needed when there is a plain button action.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114305.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114305.ts deleted file mode 100644 index 38167e49..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920114305.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920122507.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920122507.ts deleted file mode 100644 index 214eb0b3..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240920122507.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240924131936.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240924131936.ts deleted file mode 100644 index 65fecb7d..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240924131936.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from DataListAction as a wrapper is no longer needed .`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240924131937.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240924131937.ts deleted file mode 100644 index 94434b8b..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop.test_20240924131937.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-isPlainButtonAction-prop"; - -ruleTester.run("dataListAction-remove-isPlainButtonAction-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { DataListAction } from '@patternfly/react-core'; `, - output: `import { DataListAction } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`isPlainButtonAction\` prop has been removed from DataListAction as a wrapper is no longer needed.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240919151552.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240919151552.md deleted file mode 100644 index 1677b965..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240919151552.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240919151813.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240919151813.ts deleted file mode 100644 index 4479bd74..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240919151813.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - isPlainButtonAction: { - newName: "", - message: - "The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114238.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114238.ts deleted file mode 100644 index 9aa7ee5f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114238.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - isPlainButtonAction: { - newName: "", - message: - "The `isPlainButtonAction` prop has been removed from DatListAction as a wrapper is no longer needed when there is a plain button action.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114247.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114247.md deleted file mode 100644 index e1ba0c36..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114247.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) - -The `isPlainButtonAction` prop has been removed from DatListAction as thae wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114250.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114250.md deleted file mode 100644 index 4ffb3d30..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920114250.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) - -The `isPlainButtonAction` prop has been removed from DatListAction as a wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920120512.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920120512.md deleted file mode 100644 index fa55989a..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920120512.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) - -The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920120516.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920120516.ts deleted file mode 100644 index b18be817..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240920120516.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - isPlainButtonAction: { - newName: "", - message: - "The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131811.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131811.md deleted file mode 100644 index ff2d8678..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131811.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10939) - -The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131851.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131851.md deleted file mode 100644 index 797ed5c5..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131851.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10939) - -The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131947.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131947.ts deleted file mode 100644 index 3019e043..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListAction-remove-isPlainButtonAction-prop_20240924131947.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - isPlainButtonAction: { - newName: "", - message: - "The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920113816.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920113816.tsx deleted file mode 100644 index bc8a7bea..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920113816.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920120713.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920120713.tsx deleted file mode 100644 index fe969791..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920120713.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920122438.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920122438.tsx deleted file mode 100644 index bc8a7bea..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920122438.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920122455.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920122455.tsx deleted file mode 100644 index fe969791..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveIsPlainButtonActionPropOutput_20240920122455.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240919152004.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240919152004.tsx deleted file mode 100644 index 218154a6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240919152004.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113328.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113328.tsx deleted file mode 100644 index b4ed7b71..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113328.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113331.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113331.tsx deleted file mode 100644 index 2743bf0e..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113331.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113334.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113334.tsx deleted file mode 100644 index 7867a8c2..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113334.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113341.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113341.tsx deleted file mode 100644 index 0449625f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113341.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveisPlainPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113344.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113344.tsx deleted file mode 100644 index a19212e9..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113344.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveisPlainButtonPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113352.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113352.tsx deleted file mode 100644 index 5e6d3e0f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113352.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveisPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113832.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113832.tsx deleted file mode 100644 index 4ce4517f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240920113832.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240924131712.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240924131712.tsx deleted file mode 100644 index cfd616ba..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240924131712.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240924131715.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240924131715.tsx deleted file mode 100644 index 0a05d379..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/dataListActionRemoveisPlainButtonActionPropInput_20240924131715.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240919104247.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240919104247.ts deleted file mode 100644 index 3b170011..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240919104247.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./pageSidebar-remove-theme-prop"; - -ruleTester.run("pageSidebar-remove-theme-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240919151923.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240919151923.ts deleted file mode 100644 index d01d265b..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240919151923.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("pageSidebar-remove-theme-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113419.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113419.ts deleted file mode 100644 index 091cdee1..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113419.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("data-remove-theme-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113421.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113421.ts deleted file mode 100644 index 9412a156..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113421.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataList-remove-theme-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113425.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113425.ts deleted file mode 100644 index ad02d4ea..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop.test_20240920113425.ts +++ /dev/null @@ -1,25 +0,0 @@ -const ruleTester = require("../../ruletester"); -import * as rule from "./dataListAction-remove-theme-prop"; - -ruleTester.run("dataListAction-remove-theme-prop", rule, { - valid: [ - { - code: ``, - }, - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - }, - ], - invalid: [ - { - code: `import { PageSidebar } from '@patternfly/react-core'; `, - output: `import { PageSidebar } from '@patternfly/react-core'; `, - errors: [ - { - message: `The \`theme\` prop has been removed from PageSidebar as theming is no longer handled React-side.`, - type: "JSXOpeningElement", - }, - ], - }, - ], -}); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919104247.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919104247.ts deleted file mode 100644 index dc839ef7..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919104247.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/9774 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - PageSidebar: { - theme: { - newName: "", - message: - "The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151405.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151405.md deleted file mode 100644 index 6485e2ec..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151405.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151435.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151435.md deleted file mode 100644 index 43fbf8ba..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151435.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151441.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151441.md deleted file mode 100644 index c8a081d7..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151441.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from data as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151444.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151444.md deleted file mode 100644 index 43fbf8ba..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151444.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151448.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151448.md deleted file mode 100644 index 45bef752..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151448.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151502.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151502.md deleted file mode 100644 index 0de18056..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151502.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as the is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151511.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151511.md deleted file mode 100644 index e3f5ccec..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151511.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper i is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151516.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151516.md deleted file mode 100644 index f69a1a18..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151516.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151521.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151521.md deleted file mode 100644 index 1e6c70ab..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151521.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151533.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151533.md deleted file mode 100644 index 6cbd2ac9..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151533.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151545.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151545.md deleted file mode 100644 index ba14e4d7..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151545.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151551.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151551.md deleted file mode 100644 index 30f7b4bd..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151551.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/1093) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151553.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151553.md deleted file mode 100644 index 1677b965..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151553.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) - -The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151714.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151714.ts deleted file mode 100644 index dd2947e3..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151714.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - PageSidebar: { - theme: { - newName: "", - message: - "The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151719.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151719.ts deleted file mode 100644 index ca3cb726..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151719.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - PageSidebar: { - theme: { - newName: "", - message: - "The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151731.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151731.ts deleted file mode 100644 index de7048d8..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151731.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListaction: { - theme: { - newName: "", - message: - "The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151735.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151735.ts deleted file mode 100644 index 4d0c21a8..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151735.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - theme: { - newName: "", - message: - "The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151747.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151747.ts deleted file mode 100644 index a26c0dea..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151747.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - isPlainButtonAction: { - newName: "", - message: - "The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151814.ts b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151814.ts deleted file mode 100644 index 4479bd74..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151814.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { renameProps } from "../../helpers"; - -// https://github.com/patternfly/patternfly-react/pull/10939 -module.exports = { - meta: { fixable: "code" }, - create: renameProps({ - DataListAction: { - isPlainButtonAction: { - newName: "", - message: - "The `isPlainButtonAction` prop has been removed from DatListAction as the wrapper is no longer needed when there is a plain button action.", - }, - }, - }), -}; diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919104247.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919104247.tsx deleted file mode 100644 index baa8c151..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919104247.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { PageSidebar } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151943.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151943.tsx deleted file mode 100644 index ba7fb320..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151943.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151951.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151951.tsx deleted file mode 100644 index f6d24870..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151951.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151959.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151959.tsx deleted file mode 100644 index bed39cf2..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919151959.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919152000.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919152000.tsx deleted file mode 100644 index b9938d4e..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919152000.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919152005.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919152005.tsx deleted file mode 100644 index 218154a6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropInput_20240919152005.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240919104247.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240919104247.tsx deleted file mode 100644 index c432030b..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240919104247.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { PageSidebar } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113713.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113713.tsx deleted file mode 100644 index ea4710a7..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113713.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataL } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113716.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113716.tsx deleted file mode 100644 index 3405deec..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113716.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113719.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113719.tsx deleted file mode 100644 index d80b7529..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113719.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113723.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113723.tsx deleted file mode 100644 index 273fb2d6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113723.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113731.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113731.tsx deleted file mode 100644 index fcb186ef..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113731.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const isPlainButtonAction = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113733.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113733.tsx deleted file mode 100644 index 273fb2d6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113733.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113737.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113737.tsx deleted file mode 100644 index 2245c01d..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113737.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveisPlainButtonActionePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113747.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113747.tsx deleted file mode 100644 index 273fb2d6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113747.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const PageSidebarRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113757.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113757.tsx deleted file mode 100644 index 5b592fbd..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113757.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113802.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113802.tsx deleted file mode 100644 index 03765f4f..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113802.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListAction...DataListAction...DataListAction.RemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113804.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113804.tsx deleted file mode 100644 index 9951851c..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113804.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListAction...DataListAction...RemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113806.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113806.tsx deleted file mode 100644 index 5b592fbd..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113806.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveThemePropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113813.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113813.tsx deleted file mode 100644 index 44ed7c2d..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113813.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveisPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113817.tsx b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113817.tsx deleted file mode 100644 index bc8a7bea..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListActionRemoveIsPlainButtonActionProp/pageSidebarRemoveThemePropOutput_20240920113817.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { DataListAction } from "@patternfly/react-core"; - -export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( - -); diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919104247.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919104247.md deleted file mode 100644 index a0572f83..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919104247.md +++ /dev/null @@ -1,17 +0,0 @@ -### pageSidebar-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151250.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151250.md deleted file mode 100644 index 8e9bb2c4..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151250.md +++ /dev/null @@ -1,17 +0,0 @@ -### pageSdatListidebar-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151258.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151258.md deleted file mode 100644 index 81781ad1..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151258.md +++ /dev/null @@ -1,17 +0,0 @@ -### datList-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151303.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151303.md deleted file mode 100644 index 6d8242f6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151303.md +++ /dev/null @@ -1,17 +0,0 @@ -### datList-remove-isplain-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151312.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151312.md deleted file mode 100644 index a0572f83..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151312.md +++ /dev/null @@ -1,17 +0,0 @@ -### pageSidebar-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151321.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151321.md deleted file mode 100644 index 539cf745..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151321.md +++ /dev/null @@ -1,17 +0,0 @@ -### datalist-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151325.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151325.md deleted file mode 100644 index 87156ec6..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151325.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataList-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151334.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151334.md deleted file mode 100644 index 2e777272..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151334.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataList-remove-isPlainButtonActiom-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151336.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151336.md deleted file mode 100644 index b52af0fa..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151336.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataList-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151406.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151406.md deleted file mode 100644 index 6485e2ec..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/dataListRemoveIsPlainButtonActionProp/pageSidebar-remove-theme-prop_20240919151406.md +++ /dev/null @@ -1,17 +0,0 @@ -### dataListAction-remove-isPlainButtonAction-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/pageSidebarRemoveThemeProp/pageSidebar-remove-theme-prop_20240919100056.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/pageSidebarRemoveThemeProp/pageSidebar-remove-theme-prop_20240919100056.md deleted file mode 100644 index a0572f83..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/pageSidebarRemoveThemeProp/pageSidebar-remove-theme-prop_20240919100056.md +++ /dev/null @@ -1,17 +0,0 @@ -### pageSidebar-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) - -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -``` diff --git a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/pageSidebarRemoveThemeProp/pageSidebar-remove-theme-prop_20240919135920.md b/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/pageSidebarRemoveThemeProp/pageSidebar-remove-theme-prop_20240919135920.md deleted file mode 100644 index 7e5aa45e..00000000 --- a/.history/packages/eslint-plugin-pf-codemods/src/rules/v6/pageSidebarRemoveThemeProp/pageSidebar-remove-theme-prop_20240919135920.md +++ /dev/null @@ -1,17 +0,0 @@ -### pageSidebar-remove-theme-prop [(#9774)](https://github.com/patternfly/patternfly-react/pull/9774) -[label](https://github.com/patternfly/patternfly-org/issues?q%3Dis%3Aissue%2Bis%3Aopen%2Bloader) -The `theme` prop has been removed from PageSidebar as theming is no longer handled React-side. - -#### Examples - -In: - -```jsx -%inputExample% -``` - -Out: - -```jsx -%outputExample% -```