Skip to content

Commit

Permalink
(#0) npm publish (0.0.160)
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Feb 7, 2024
1 parent 19af78e commit 587e97a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 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.158",
"version": "0.0.160",
"type": "module",
"author": "Bbodek",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion src/core/components/Drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const Drawer = forwardRef((
target = {target ?? "drawer"}
ref = {ref}
variants = {"drawer"}
onClose = {onClose}
{...rest}
>
<Section
Expand Down
4 changes: 2 additions & 2 deletions src/core/components/Modal/ModalBase/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export const VARIANTS = {
} as const;

export const MODAL_CONTENT_POSITION: Record<VariantsType, string> = {
[VARIANTS.MODAL]: "fixed flex items-center justify-center",
[VARIANTS.DRAWER]: "flex justify-end",
[VARIANTS.MODAL]: "fixed flex items-center justify-center z-50",
[VARIANTS.DRAWER]: "flex justify-end z-40",
} as const;

export const MODAL_DIMMED_COLOR: Record<VariantsType, string> = {
Expand Down
2 changes: 1 addition & 1 deletion src/core/components/Modal/ModalBase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ModalBase = forwardRef((
<dialog
ref = {ref}
className = {clsx(
"w-full h-full open:animate-fade-in z-50",
"w-full h-full open:animate-fade-in",
MODAL_CONTENT_POSITION[variants],
dimmed && MODAL_DIMMED_COLOR[variants],
className,
Expand Down

0 comments on commit 587e97a

Please sign in to comment.