feat: upgrade to styled components v6 #3869
Annotations
10 errors and 1 warning
src/components/TabPanel.tsx#L184
No overload matches this call.
|
src/components/TagMultiSelect.tsx#L5
'"styled-components"' has no exported member named 'StyledComponent'. Did you mean 'IStyledComponent'?
|
src/components/TagMultiSelect.tsx#L143
Parameter 'tagStr' implicitly has an 'any' type.
|
src/components/TextSwitch.tsx#L28
'"styled-components"' has no exported member named 'StyledComponent'. Did you mean 'IStyledComponent'?
|
src/components/TextSwitch.tsx#L193
Parameter 'option' implicitly has an 'any' type.
|
src/components/TextSwitch.tsx#L306
Property 'label' does not exist on type 'AriaRadioProps & { size?: "small"; disabled?: boolean; defaultSelected?: boolean; selected?: boolean; name?: string; onChange?: ChangeEventHandler<HTMLInputElement>; } & FastOmit<...> & { ...; }'.
|
src/components/TreeNavigation.tsx#L189
Type '{ children: Element[]; desktop: boolean; ref?: LegacyRef<HTMLAnchorElement>; key?: Key; download?: any; href?: string; hrefLang?: string; media?: string; ... 273 more ...; textDecoration: string; }' is not assignable to type 'IntrinsicAttributes & (TabProps & RefAttributes<any>)'.
|
src/components/TreeNavigation.tsx#L195
Argument of type 'MouseEvent<HTMLDivElement, MouseEvent>' is not assignable to parameter of type 'MouseEvent<HTMLAnchorElement, MouseEvent>'.
|
src/components/TreeNavigation.tsx#L300
Property 'toMenu' does not exist on type 'Omit<{ isSubSection?: boolean; isOpen?: boolean; activeSecondary: boolean; icon?: ReactElement<any, string | JSXElementConstructor<any>>; desktop: boolean; active: boolean; onClickCaret?: () => void; } & Partial<...>, "isSubSection"> & { ...; } & { ...; }'.
|
src/components/TreeNavigation.tsx#L301
Property 'onOpenChange' does not exist on type 'Omit<{ isSubSection?: boolean; isOpen?: boolean; activeSecondary: boolean; icon?: ReactElement<any, string | JSXElementConstructor<any>>; desktop: boolean; active: boolean; onClickCaret?: () => void; } & Partial<...>, "isSubSection"> & { ...; } & { ...; }'.
|
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/
|
This job failed
Loading