feat: Add useCanvasProvider hook and customTheme prop #4768
Annotations
8 errors and 2 warnings
Type Check:
modules/preview-react/segmented-control/stories/examples/RTL.tsx#L12
Property 'custom' is missing in type '{ canvas: { direction: ContentDirection.RTL; }; }' but required in type 'PartialEmotionCanvasTheme'.
|
Type Check:
modules/react/common/lib/CanvasProvider.tsx#L94
Property 'custom' is missing in type '{ canvas: CanvasTheme; }' but required in type 'PartialEmotionCanvasTheme'.
|
Type Check:
modules/react/common/lib/responsive/useResponsiveContainerStyles.ts#L123
Argument of type '{}' is not assignable to parameter of type 'PartialEmotionCanvasTheme'.
|
Type Check:
modules/react/common/lib/theming/useTheme.ts#L58
Argument of type '{ canvas: any; }' is not assignable to parameter of type 'PartialEmotionCanvasTheme'.
|
Type Check:
modules/react/common/lib/theming/useTheme.ts#L61
Property 'custom' is missing in type '{ canvas: CanvasTheme; }' but required in type 'EmotionCanvasTheme'.
|
Type Check:
modules/react/tabs/stories/examples/RightToLeft.tsx#L9
Property 'custom' is missing in type '{ canvas: { direction: ContentDirection.RTL; }; }' but required in type 'PartialEmotionCanvasTheme'.
|
Type Check:
utils/storybook/CanvasProviderDecorator.tsx#L16
Property 'custom' is missing in type '{ canvas: any; }' but required in type 'PartialEmotionCanvasTheme'.
|
Type Check
Process completed with exit code 1.
|
Run Workday/canvas-kit-actions/install@v1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading