Skip to content

Commit

Permalink
chore: update snaps and remove baseBox and other functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Feb 24, 2025
1 parent b45fcc9 commit bf76bb2
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 297 deletions.
53 changes: 21 additions & 32 deletions packages/blade/src/components/QuickFilters/QuickFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,39 +76,28 @@ const QuickFilter = forwardRef<BladeElementRef, QuickFilterProps>(

const isQuickFilterSelected = selectedQuickFilters.includes(value);
return (
<BaseBox
onBlur={onBlur}
onFocus={onFocus}
onMouseLeave={onMouseLeave}
onMouseMove={onMouseMove}
onPointerDown={onPointerDown}
onPointerEnter={onPointerEnter}
onTouchStart={onTouchStart}
onTouchEnd={onTouchEnd}
<Card
padding="spacing.0"
as="label"
accessibilityLabel={title}
borderRadius="medium"
elevation="none"
isSelected={isQuickFilterSelected}
ref={ref}
{...makeAnalyticsAttribute(rest)}
{...metaAttribute({ testID })}
>
<Card
padding="spacing.0"
as="label"
accessibilityLabel={title}
borderRadius="medium"
elevation="none"
isSelected={isQuickFilterSelected}
ref={ref}
{...makeAnalyticsAttribute(rest)}
{...metaAttribute({ testID })}
>
<CardBody>
<QuickFilterContent
value={value}
title={title}
trailing={trailing}
selectionType={selectionType}
isSelected={isQuickFilterSelected}
{...rest}
/>
</CardBody>
</Card>
</BaseBox>
<CardBody>
<QuickFilterContent
value={value}
title={title}
trailing={trailing}
selectionType={selectionType}
isSelected={isQuickFilterSelected}
{...rest}
/>
</CardBody>
</Card>
);
},
);
Expand Down
Loading

0 comments on commit bf76bb2

Please sign in to comment.