Skip to content

Commit

Permalink
Merge branch 'staging' into component-improvement/date-picker
Browse files Browse the repository at this point in the history
  • Loading branch information
jaieds authored Dec 30, 2024
2 parents 898434c + 6e9bc8d commit 0a4d06b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Version 1.3.4 - 26th December, 2024
Version 1.3.4 - 27th December, 2024
- Improvement - Enhanced the UI of the Table and Line chart component for responsive design.
- Improvement - Added option group to the Select component.
- Improvement - Updated the Table component design.
- Improvement - Added support for controlling selected dates through the 'selected' prop in DatePicker component.
- Fixed - DatePicker component crash when navigating through years.

Expand Down
10 changes: 5 additions & 5 deletions src/components/table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const Table = ( {
<TableContext.Provider
value={ contextValue as TableContextType<unknown> }
>
<div className="flow-root divide-y divide-x-0 divide-solid divide-border-subtle">
<div className="flow-root border-0.5 border-solid border-border-subtle rounded-md divide-y-0.5 divide-x-0 divide-solid divide-border-subtle overflow-hidden">
<div className="overflow-x-auto w-full">
<div className="relative">
<table
Expand Down Expand Up @@ -258,7 +258,7 @@ export const TableHead: React.FC<TableHeadProps> = ( {
return (
<thead
className={ cn(
'bg-background-secondary [clip-path:inset(0_0_0_0_round_0.375rem)]',
'bg-background-secondary border-x-0 border-t-0 border-b-0.5 border-solid border-border-subtle',
className
) }
{ ...props }
Expand Down Expand Up @@ -317,7 +317,7 @@ export const TableBody: React.FC<TableBodyProps> = ( {
return (
<tbody
className={ cn(
'bg-background-primary divide-y divide-x-0 divide-solid divide-border-subtle',
'bg-background-primary divide-y-0.5 divide-x-0 divide-solid divide-border-subtle',
className
) }
{ ...props }
Expand Down Expand Up @@ -378,7 +378,7 @@ export const TableCell: React.FC<TableCellProps> = ( {
return (
<td
className={ cn(
'px-3 py-4.5 text-sm font-normal leading-5 text-text-secondary',
'px-3 py-3.5 text-sm font-normal leading-5 text-text-secondary',
className
) }
{ ...props }
Expand All @@ -398,7 +398,7 @@ export const TableFooter: React.FC<TableFooterProps> = ( {
return (
<div
className={ cn(
'px-3 pb-4.5 pt-5.5',
'px-3 py-3',
checkboxSelection && 'px-4',
className
) }
Expand Down
3 changes: 3 additions & 0 deletions src/theme/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ const defaultTheme = {
zIndex: {
999999: '999999',
},
borderWidth: {
0.5: '0.5px',
},
},
},
plugins: [],
Expand Down

0 comments on commit 0a4d06b

Please sign in to comment.