feat: upgrade to styled components v6 #3868
ci.yml
on: pull_request
Build
1m 45s
Build Storybook
1m 52s
Unit test
1m 16s
Lint
1m 39s
Create preview
2m 16s
Trivy fs scan
33s
Annotations
10 errors and 8 warnings
Build:
src/components/ComboBox.tsx#L198
Type '{ suffix?: ReactNode; prefix?: ReactNode; titleContent?: ReactNode; showClearButton?: boolean; themeExtension?: Record<string, any>; startIcon: any; dropdownButton: Element; inputProps: { ...; }; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'IntrinsicAttributes & InputProps & { className?: string; } & Pick<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & { ...; }, "value" | ... 6 more ... | "placeholder"> & RefAttributes<...>'.
|
Build:
src/components/IconFrame.tsx#L101
Expression produces a union type that is too complex to represent.
|
Build:
src/components/IconFrame.tsx#L103
Exported variable 'IconFrameSC' has or is using name 'CSSPseudos' from external module "/home/runner/work/design-system/design-system/node_modules/honorable/dist/types" but cannot be named.
|
Build:
src/components/IconFrame.tsx#L151
Exported variable 'IconFrame' has or is using name 'CSSPseudos' from external module "/home/runner/work/design-system/design-system/node_modules/honorable/dist/types" but cannot be named.
|
Build:
src/components/Input2.tsx#L268
Type '{ ref: (instance: HTMLInputElement) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]; ... 296 more ...; $padEnd?: "xsmall" | "small" | "medium" | undefined | null; }' is not assignable to type 'FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$padStart" | "$padEnd"> & { ...; }'.
|
Build:
src/components/Input2.tsx#L352
No overload matches this call.
|
Build:
src/components/ListBoxItem.tsx#L226
No overload matches this call.
|
Build:
src/components/Modal.tsx#L6
Module '"styled-components"' has no exported member 'StyledComponentPropsWithRef'. Did you mean to use 'import StyledComponentPropsWithRef from "styled-components"' instead?
|
Build:
src/components/Sidebar.tsx#L82
No overload matches this call.
|
Build:
src/components/SidebarExpandButton.tsx#L12
Type '{ children: Element; tooltip: string; className: string; clickable: true; expandedLabel: string; onClick: (e: MouseEvent<Element, MouseEvent>) => void; }' is missing the following properties from type '{ $clickable: boolean; $active: boolean; $isHorizontal: boolean; $variant: SidebarVariant; }': $clickable, $active, $isHorizontal, $variant
|
Trivy fs scan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Trivy fs scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Trivy fs scan
Unexpected input(s) 'security-checks', valid inputs are ['entryPoint', 'args', 'scan-type', 'image-ref', 'input', 'scan-ref', 'exit-code', 'ignore-unfixed', 'vuln-type', 'severity', 'format', 'template', 'output', 'skip-dirs', 'skip-files', 'cache-dir', 'timeout', 'ignore-policy', 'hide-progress', 'list-all-pkgs', 'scanners', 'trivyignores', 'artifact-type', 'github-pat', 'trivy-config', 'tf-vars', 'limit-severities-for-sarif', 'docker-host']
|
Unit test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build Storybook
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Create preview
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|