refactor: migrate to cpk-ui #181
Annotations
10 errors and 1 warning
build:
node_modules/cpk-ui/components/uis/Button/Button.tsx#L292
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'false | "" | ViewStyle | RegisteredStyle<ViewStyle> | RecursiveArray<Falsy | ViewStyle | RegisteredStyle<ViewStyle>>'.
|
build:
node_modules/cpk-ui/components/uis/Button/Button.tsx#L293
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'false | "" | TextStyle | RegisteredStyle<TextStyle> | RecursiveArray<Falsy | TextStyle | RegisteredStyle<TextStyle>>'.
|
build:
node_modules/cpk-ui/components/uis/Button/Button.tsx#L302
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'false | "" | ViewStyle | RegisteredStyle<ViewStyle> | RecursiveArray<Falsy | ViewStyle | RegisteredStyle<ViewStyle>>'.
|
build:
node_modules/cpk-ui/components/uis/Button/Button.tsx#L303
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'false | "" | TextStyle | RegisteredStyle<TextStyle> | RecursiveArray<Falsy | TextStyle | RegisteredStyle<TextStyle>>'.
|
build:
node_modules/cpk-ui/components/uis/Styled/StyledComponents.tsx#L36
Type '{ bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; }' is not assignable to type 'Theme'.
|
build:
node_modules/cpk-ui/components/uis/Styled/StyledComponents.tsx#L47
Type '{ bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; }' is not assignable to type 'Theme'.
|
build:
node_modules/cpk-ui/components/uis/Styled/StyledComponents.tsx#L66
Type '{ bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; }' is not assignable to type 'Theme & { bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; } & { ...; }'.
|
build:
node_modules/cpk-ui/components/uis/Styled/StyledComponents.tsx#L86
Type '{ bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; }' is not assignable to type 'Theme'.
|
build:
node_modules/cpk-ui/components/uis/Styled/StyledComponents.tsx#L104
Type '{ bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; }' is not assignable to type 'Theme'.
|
build:
node_modules/cpk-ui/components/uis/Styled/StyledComponents.tsx#L126
Type '{ bg: { basic: string; paper: string; disabled: string; }; role: { primary: string; secondary: string; accent: string; info: string; link: string; success: string; warning: string; danger: string; border: string; underlay: string; underlayContrast: string; }; text: { ...; }; button: { ...; }; }' is not assignable to type 'Theme'.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|