diff --git a/e2e/angular/src/tailwind.test.ts b/e2e/angular/src/tailwind.test.ts index 38c7b2ec98a90..135fb63d1204d 100644 --- a/e2e/angular/src/tailwind.test.ts +++ b/e2e/angular/src/tailwind.test.ts @@ -72,7 +72,7 @@ describe('Tailwind support', () => { const createTailwindConfigFile = ( tailwindConfigFile = 'tailwind.config.js', - libSpacing: typeof spacing['projectVariant1'] + libSpacing: (typeof spacing)['projectVariant1'] ) => { const tailwindConfig = `const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind'); const { join } = require('path'); @@ -98,7 +98,7 @@ describe('Tailwind support', () => { const updateTailwindConfig = ( tailwindConfigPath: string, - projectSpacing: typeof spacing['root'] + projectSpacing: (typeof spacing)['root'] ) => { const tailwindConfig = readFile(tailwindConfigPath); @@ -173,7 +173,7 @@ describe('Tailwind support', () => { const assertLibComponentStyles = ( lib: string, - libSpacing: typeof spacing['root'] + libSpacing: (typeof spacing)['root'] ) => { const builtComponentContent = readFile( `dist/${lib}/esm2022/lib/foo.component.mjs` @@ -327,7 +327,7 @@ describe('Tailwind support', () => { const assertAppComponentStyles = ( outputPath: string, - appSpacing: typeof spacing['root'] + appSpacing: (typeof spacing)['root'] ) => { const mainBundlePath = listFiles(outputPath).find((file) => /^main[\.-]/.test(file) diff --git a/e2e/utils/create-project-utils.ts b/e2e/utils/create-project-utils.ts index 967d1250dcdeb..8ae7b096c35f1 100644 --- a/e2e/utils/create-project-utils.ts +++ b/e2e/utils/create-project-utils.ts @@ -65,7 +65,7 @@ const nxPackages = [ `@nx/expo`, ] as const; -type NxPackage = typeof nxPackages[number]; +type NxPackage = (typeof nxPackages)[number]; /** * Sets up a new project in the temporary project path diff --git a/graph/client/src/app/feature-projects/panels/search-depth.tsx b/graph/client/src/app/feature-projects/panels/search-depth.tsx index d1762110f325d..351d2702e2cbd 100644 --- a/graph/client/src/app/feature-projects/panels/search-depth.tsx +++ b/graph/client/src/app/feature-projects/panels/search-depth.tsx @@ -50,7 +50,7 @@ export const SearchDepth = memo( @@ -48,7 +48,7 @@ export const TracingPanel = memo( algorithm === 'all' ? 'border-blue-500 dark:border-sky-500' : 'border-slate-300 dark:border-slate-600' - } flex-1 rounded-r-md border bg-slate-50 py-2 px-4 text-slate-500 hover:bg-slate-100 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700`} + } flex-1 rounded-r-md border bg-slate-50 px-4 py-2 text-slate-500 hover:bg-slate-100 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700`} > All @@ -66,7 +66,7 @@ export const TracingPanel = memo( {start} -
+
Reset @@ -95,7 +95,7 @@ export const TracingPanel = memo( {end}
-
+
Reset diff --git a/graph/client/src/app/feature-tasks/task-list.tsx b/graph/client/src/app/feature-tasks/task-list.tsx index f682666065d31..1bd8935765858 100644 --- a/graph/client/src/app/feature-tasks/task-list.tsx +++ b/graph/client/src/app/feature-tasks/task-list.tsx @@ -87,11 +87,11 @@ function SubProjectList({ return ( <> {headerText !== '' ? ( -

+

{headerText}

) : null} -
    +
      {sortedProjects.map((project) => { return ( +
      setIsOpen(!isOpen)} data-cy="inputs-accordion" > @@ -53,11 +53,11 @@ function InputAccordion({ section, inputs }) { return [
    • setIsOpen(!isOpen)} data-cy="input-section-entry" > - {section} + {section} {isOpen ? ( diff --git a/graph/ui-code-block/src/lib/json-code-block.tsx b/graph/ui-code-block/src/lib/json-code-block.tsx index 67f257e7a2256..e335df75bdb82 100644 --- a/graph/ui-code-block/src/lib/json-code-block.tsx +++ b/graph/ui-code-block/src/lib/json-code-block.tsx @@ -47,7 +47,7 @@ export function JsonCodeBlock(props: JsonCodeBlockProps): JSX.Element { }, [copied]); return (
      -
      +
      { @@ -104,12 +104,12 @@ export function sourcesRenderer( } return ( {element} {sourceElement && ( - + {sourceElement} )} diff --git a/graph/ui-components/src/lib/debounced-text-input.tsx b/graph/ui-components/src/lib/debounced-text-input.tsx index 56b7079a372e6..5a625f399eb6b 100644 --- a/graph/ui-components/src/lib/debounced-text-input.tsx +++ b/graph/ui-components/src/lib/debounced-text-input.tsx @@ -75,7 +75,7 @@ export function DebouncedTextInput({ data-cy="textFilterReset" type="reset" onClick={resetClicked} - className="absolute top-1 right-1 inline-block rounded-md bg-slate-50 p-1 text-slate-400 dark:bg-slate-800" + className="absolute right-1 top-1 inline-block rounded-md bg-slate-50 p-1 text-slate-400 dark:bg-slate-800" > diff --git a/graph/ui-components/src/lib/dropdown.tsx b/graph/ui-components/src/lib/dropdown.tsx index f7a1d8323dabe..2954f258f4926 100644 --- a/graph/ui-components/src/lib/dropdown.tsx +++ b/graph/ui-components/src/lib/dropdown.tsx @@ -9,7 +9,7 @@ export function Dropdown(props: DropdownProps) { const { className, children, ...rest } = props; return (