Skip to content

feat: composable primitive components #4802

feat: composable primitive components

feat: composable primitive components #4802

Triggered via pull request October 24, 2024 16:55
Status Failure
Total duration 3m 47s
Artifacts 2

ci.yaml

on: pull_request
Matrix: analyze-bundle
bundle-analyze-result
1m 46s
bundle-analyze-result
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: packages/react/src/components/primitive/allowed-content.tsx#L11
This assertion is unnecessary since it does not change the type of the expression
lint: packages/react/src/components/primitive/allowed-content.tsx#L31
Do not pass children as props. Instead, nest children between the opening and closing tags
lint: packages/react/src/components/primitive/allowed-content.tsx#L38
Type literal only has a call signature, you should use a function type instead
lint: packages/react/src/components/primitive/button.tsx#L9
This assertion is unnecessary since it does not change the type of the expression
lint: packages/react/src/components/primitive/button.tsx#L42
Unsafe call of an `any` typed value
lint: packages/react/src/components/primitive/button.tsx#L79
Type literal only has a call signature, you should use a function type instead
lint: packages/react/src/components/primitive/clear-button.tsx#L9
This assertion is unnecessary since it does not change the type of the expression
lint: packages/react/src/components/primitive/clear-button.tsx#L32
Unsafe call of an `any` typed value
lint: packages/react/src/components/primitive/clear-button.tsx#L37
Do not pass children as props. Instead, nest children between the opening and closing tags
lint: packages/react/src/components/primitive/clear-button.tsx#L43
Type literal only has a call signature, you should use a function type instead
lint: packages/react/src/components/primitive/root.tsx#L295
React Hook useMemo has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useMemo call and refer to those specific props inside useMemo

Artifacts

Produced during runtime
Name Size
bundle-current-pr
45.2 KB
bundle-main
45.2 KB