Skip to content

Commit

Permalink
chore(deps): update react monorepo (#329)
Browse files Browse the repository at this point in the history
* chore(deps): update react monorepo

* fix(client): 타입 수정

* chore(client): select placeholder 추가

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 김석진 <[email protected]>
  • Loading branch information
renovate[bot] and SEOKKAMONI authored Apr 22, 2024
1 parent ff438d7 commit f0ad0cc
Show file tree
Hide file tree
Showing 6 changed files with 2,557 additions and 6,983 deletions.
4 changes: 2 additions & 2 deletions apps/client/src/components/common/Logo/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { HTMLAttributes } from 'react';
import type { ImgHTMLAttributes } from 'react';

type LogoProps = {
width: number;
height: number;
} & HTMLAttributes<HTMLDivElement>;
} & ImgHTMLAttributes<HTMLImageElement>;

const Logo = ({ width, height, ...props }: LogoProps) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion configs/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"access": "public"
},
"devDependencies": {
"@types/react": "18.2.13"
"@types/react": "18.2.79"
}
}
4 changes: 2 additions & 2 deletions packages/ui/src/Modal/ModalCloseButton.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { IconCloseFill } from '@seed-design/icon';
import { colors } from '@sickgyun/design-token';
import type { HTMLAttributes } from 'react';
import type { SVGAttributes } from 'react';

type ModalCloseButtonProps = {
onClose: VoidFunction;
} & HTMLAttributes<HTMLDivElement>;
} & SVGAttributes<SVGSVGElement>;

export const ModalCloseButton = ({ onClose }: ModalCloseButtonProps) => {
return (
Expand Down
5 changes: 3 additions & 2 deletions packages/ui/src/Select/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { IconExpandMoreFill } from '@seed-design/icon';
import type { ForwardedRef, HTMLAttributes, ReactNode } from 'react';
import type { ForwardedRef, ReactNode, SelectHTMLAttributes } from 'react';
import { forwardRef } from 'react';
import { Flex } from '../Flex';
import { Text } from '../Text';
Expand All @@ -10,7 +10,8 @@ type SelectProps = {
children: ReactNode;
width?: string;
label?: string;
} & HTMLAttributes<HTMLSelectElement>;
placeholder?: string;
} & SelectHTMLAttributes<HTMLSelectElement>;

export const Select = forwardRef(function Select(
{ children, placeholder, label, width = '100%', ...props }: SelectProps,
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/Textarea/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import type { ChangeEvent, ForwardedRef, HTMLAttributes } from 'react';
import type { ChangeEvent, ForwardedRef, TextareaHTMLAttributes } from 'react';
import { forwardRef, useCallback } from 'react';
import { Text } from '../Text';

Expand All @@ -9,7 +9,7 @@ type TextareaProps = {
width?: string;
minHeight?: string;
isAutoHeight?: boolean;
} & HTMLAttributes<HTMLTextAreaElement>;
} & TextareaHTMLAttributes<HTMLTextAreaElement>;

export const Textarea = forwardRef(function Textarea(
{
Expand Down
Loading

0 comments on commit f0ad0cc

Please sign in to comment.