Skip to content

refactor: decouple overflow logic to create independent overflow utility

Codecov / codecov/patch succeeded Dec 27, 2024 in 0s

87.03% of diff hit (target 80.75%)

View this Pull Request on Codecov

87.03% of diff hit (target 80.75%)

Annotations

Check warning on line 150 in packages/ibm-products/src/components/TagOverflow/TagOverflow.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ibm-products/src/components/TagOverflow/TagOverflow.tsx#L150

Added line #L150 was not covered by tests

Check warning on line 22 in packages/ibm-products/src/global/js/hooks/useOverflowItems.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ibm-products/src/global/js/hooks/useOverflowItems.ts#L21-L22

Added lines #L21 - L22 were not covered by tests

Check warning on line 44 in packages/ibm-products/src/global/js/hooks/useOverflowItems.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ibm-products/src/global/js/hooks/useOverflowItems.ts#L44

Added line #L44 was not covered by tests

Check warning on line 52 in packages/ibm-products/src/global/js/hooks/useOverflowItems.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ibm-products/src/global/js/hooks/useOverflowItems.ts#L52

Added line #L52 was not covered by tests

Check warning on line 69 in packages/ibm-products/src/global/js/hooks/useOverflowItems.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ibm-products/src/global/js/hooks/useOverflowItems.ts#L68-L69

Added lines #L68 - L69 were not covered by tests