feat(components, app): update Chip component for unification #34815
Annotations
12 errors and 11 warnings
js checks:
app/src/atoms/SoftwareKeyboard/CustomKeyboard/CustomKeyboard.stories.tsx#L7
'VIEWPORT' is defined but never used
|
js checks
Process completed with exit code 2.
|
js checks:
app/src/atoms/text/StyledText.tsx#L3
Cannot find module '@opentrons/components' or its corresponding type declarations.
|
js checks:
app/src/atoms/text/index.ts#L1
File '/home/runner/work/opentrons/opentrons/app/src/atoms/text/StyledText.tsx' is not under 'rootDir' '/home/runner/work/opentrons/opentrons/components/src'. 'rootDir' is expected to contain all source files.
|
js checks:
app/src/atoms/text/index.ts#L1
File '/home/runner/work/opentrons/opentrons/app/src/atoms/text/StyledText.tsx' is not listed within the file list of project '/home/runner/work/opentrons/opentrons/components/tsconfig.json'. Projects must list all files or use an 'include' pattern.
|
js checks:
components/src/atoms/Chip/index.tsx#L12
Cannot find module '@opentrons/components' or its corresponding type declarations.
|
js checks:
components/src/atoms/Chip/index.tsx#L16
Cannot find module '@opentrons/components' or its corresponding type declarations.
|
js checks:
components/src/atoms/Chip/index.tsx#L120
Type '{ children: string; fontSize: any; lineHeight: any; fontWeight: any; color: string; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
js checks:
components/src/atoms/Chip/index.tsx#L14
File '/home/runner/work/opentrons/opentrons/app/src/atoms/text/index.ts' is not under 'rootDir' '/home/runner/work/opentrons/opentrons/components/src'. 'rootDir' is expected to contain all source files.
|
js checks:
components/src/atoms/Chip/index.tsx#L14
File '/home/runner/work/opentrons/opentrons/app/src/atoms/text/index.ts' is not listed within the file list of project '/home/runner/work/opentrons/opentrons/components/tsconfig.json'. Projects must list all files or use an 'include' pattern.
|
js checks:
app/src/atoms/SelectField/Select.tsx#L14
Cannot find module '@opentrons/components' or its corresponding type declarations.
|
js checks:
app/src/atoms/SelectField/Select.tsx#L14
Cannot find module '@opentrons/components' or its corresponding type declarations.
|
js checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
js checks:
api-client/src/calibration/types.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/modules/api-types.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/modules/types.ts#L8
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/modules/types.ts#L15
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
|
js checks:
api-client/src/protocols/__tests__/utils.test.ts#L17
All imports in the declaration are only used as types. Use `import type`
|