Skip to content

Commit

Permalink
npm publish (0.0.287)
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Dec 26, 2024
1 parent fdd89c4 commit 3e1bb66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbodek-ui",
"version": "0.0.286",
"version": "0.0.287",
"type": "module",
"author": "Bbodek",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions src/core/components/BottomSheet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const BottomSheet = forwardRef(
useCloseBtn = false,
useClickOutsideEvent = true,
rounded = BOTTOM_SHEET_ROUNDED_VARIANTS['ROUNDED_12'],
isFullScreen = false,
...props
}: PropsWithChildren<BottomSheetProps>,
ref: React.Ref<HTMLDialogElement>,
) => {
const { target, className, ...rest } = props;
const CloseIcon = <Icon className={'text-[1.5rem]'} iconKey={'x'} />;

return (
<ModalBase
Expand All @@ -40,10 +40,10 @@ const BottomSheet = forwardRef(
<div
className={clsx(
'safe-area-bottom animate-bottom-sheet overflow-y-hidden bg-white',
BOTTOM_SHEET_ROUNDED_VARIANTS_MAPPER[rounded],
!isFullScreen && BOTTOM_SHEET_ROUNDED_VARIANTS_MAPPER[rounded],
)}
>
<div className={clsx('p-4', className)}>
<div className={clsx('p-4', isFullScreen && 'h-[100svh]', className)}>
{useCloseBtn ? (
<IconButton
className={'ml-auto'}
Expand Down
1 change: 1 addition & 0 deletions src/core/components/BottomSheet/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ export interface BottomSheetProps
>,
Omit<HTMLAttributes<HTMLElement>, 'title'> {
useCloseBtn?: boolean;
isFullScreen?: boolean;
rounded?: ButtonBottomSheetRoundedTypes;
}

0 comments on commit 3e1bb66

Please sign in to comment.