Skip to content

Commit

Permalink
fix(DataTable): remove extra space when no filters are passed
Browse files Browse the repository at this point in the history
SIKKA-7062[closed]
  • Loading branch information
zaaakher committed Jun 3, 2024
1 parent 6fa1901 commit ca4cbc9
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 deletions.
7 changes: 7 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# hawa-docs

## 0.0.89

### Patch Changes

- Updated dependencies
- @sikka/hawa@0.42.3

## 0.0.88

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawa-docs",
"version": "0.0.88",
"version": "0.0.89",
"private": true,
"scripts": {
"dev": "next dev -p 3001",
Expand Down
6 changes: 6 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sikka/hawa

## 0.42.3

### Patch Changes

- Fix extra space when no filters are provided to `DataTable`

## 0.42.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/elements/dataTable/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const DataTable = <DataProps extends {}>({
</div>
)}

{enableFiltering && (
{enableFiltering && props.filters?.length && (
<div className="hawa-flex-row hawa-gap-2 hawa-flex">
{props.filters?.map((filter) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sikka/hawa",
"version": "0.42.2",
"version": "0.42.3",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down
7 changes: 7 additions & 0 deletions packages/storybook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# hawa-storybook

## 0.26.110

### Patch Changes

- Updated dependencies
- @sikka/hawa@0.42.3

## 0.26.109

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawa-storybook",
"version": "0.26.109",
"version": "0.26.110",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down

0 comments on commit ca4cbc9

Please sign in to comment.