Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCWEB-11949 deprecated #111

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dramancompany/remember-ui",
"version": "2.4.6",
"version": "2.4.7",
"description": "Remember UI Components",
"homepage": "https://dramancompany.github.io/remember-ui/",
"author": "DramanCompany",
Expand Down
3 changes: 3 additions & 0 deletions src/components/Buttons/CustomButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import type { CustomButtonProps } from './CustomButton.types';

import { Container, Inner } from './CustomButton.styles';

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const CustomButton = ({
className,
disabled = false,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Buttons/LinkButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export interface LinkButtonProps {
children: React.ReactNode;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const LinkButton = ({
address = '',
showAddress = true,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Buttons/MoreButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export interface MoreButtonProps {
onClick?: React.MouseEventHandler<HTMLImageElement>;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const MoreButton = ({
value = false,
size = 'small',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Buttons/NewBaseButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import { Container, Inner } from './NewBaseButton.styles';

export * from './NewBaseButton.types';

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const NewBaseButton = ({
className,
disabled = false,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Buttons/TopButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export interface TopButtonProps {
marginLeft?: number;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const TopButton = ({ className, marginLeft = 562 }: TopButtonProps) => {
const isScrollTop = useDetectScrollPositionTop();

Expand Down
3 changes: 3 additions & 0 deletions src/components/Common/Chip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export interface ChipProps {
onClick?: MouseEventHandler<HTMLDivElement>;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Chip = ({
children,
className,
Expand Down
4 changes: 3 additions & 1 deletion src/components/Common/Container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export interface ContainerProps {
direction?: CSSProperties['flexDirection'];
}

/** @deprecated */
/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Container = ({
children,
className,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Common/Pagination/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export interface PaginationProps {
className?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Pagination = ({
activePage = 1,
totalItemCount = 0,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Common/Spinner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export interface SpinnerProps {
className?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Spinner = ({
width = 32,
height = 32,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Accordion/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export interface AccordionMenuProps {
isCheckedItem?: (title: string, value: string) => boolean;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Accordion = ({
menus = [],
onClickItem = () => {},
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/BasePopover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export interface BasePopoverProps {
children: ReactNode;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const BasePopover = ({
content,
onPopoverOpenChange = () => {},
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export interface CheckboxProps
$size?: keyof typeof SIZE_MAP;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Checkbox = ({
state = 'off',
round = false,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/PopoverItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export interface PopoverItemProps extends PopoverProps {
className?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const PopoverItem = ({
children,
selected = false,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Radio/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export interface RadioProps
$size?: keyof typeof SIZE_MAP;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Radio = ({
isChecked = false,
theme = 'yellow',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export interface SelectProps<T> {
errorMessage?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Select = <T extends string | number>({
options = [],
value,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export interface SwitchProps {
color?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Switch = ({
className,
checked,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Tooltip/BaseTooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export interface BaseTooltipProps {
className?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const BaseTooltip = ({
customComponent,
offset = '0,0',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Control/Tooltip/InfoTooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export interface InfoTooltipProps {
customAnimation?: 'headShake';
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const InfoTooltip = ({
children,
content,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Icon/ProfileAvatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export interface ProfileAvatarProps {
width?: number;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const ProfileAvatar = ({
className,
color = gray150,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Input/BaseInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ interface CustomInputProps<T extends string | number> {
export type BaseInputProps<T extends string | number> = CustomInputProps<T> &
InputHTMLAttributes<HTMLInputElement>;

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const BaseInput = <T extends string | number = string>({
value,
name,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Input/DoubleInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export interface DoubleInputProps {
className?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const DoubleInput = ({
label1,
label2 = ' ',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Input/ImageInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export interface ImageInputProps {
className?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const ImageInput = ({
id,
onChange,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Input/MaskingInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export interface MaskingInputProps {
mask: MaskedInputProps['mask'];
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const MaskingInput = ({
value,
name,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Input/Textarea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export interface TextareaProps {
resize?: boolean;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const Textarea = ({
outerRef,
value = '',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Logo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export interface RememberLogoProps {
height?: number;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const RememberLogo = ({
className,
color = 'white',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Modal/BaseModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export interface BaseModalProps {
children?: ReactNode;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const BaseModal = ({
isOpen = false,
onClose = () => {},
Expand Down
3 changes: 3 additions & 0 deletions src/components/Modal/ConfirmModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export interface ConfirmModalProps
testId?: string;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const ConfirmModal = ({
icon = 'success',
title,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Modal/DesignedModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export interface DesignedModalProps
children?: ReactNode;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const DesignedModal = ({
isOpen,
onClose,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Modal/MessageModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export interface MessageModalProps {
children?: ReactNode;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const MessageModal = ({
isOpen,
children,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Modal/MobileFullModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export interface MobileFullModalProps {
children?: ReactNode;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const MobileFullModal = ({
topNavbarOffset = '0px',
isOpen = false,
Expand Down
3 changes: 3 additions & 0 deletions src/components/Modal/ProgressModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export interface ProgressModalProps {
dragOnDrag?: () => void;
}

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const ProgressModal = ({
icon,
title,
Expand Down
3 changes: 3 additions & 0 deletions src/core/GlobalStyle/external.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ const ModalTheme = css`
}
`;

/**
* @deprecated remember-ui는 더 이상 사용되지 않습니다. Rui를 사용해주세요.
*/
export const GlobalTheme = createGlobalStyle`
${TippyTheme}
${ModalTheme}
Expand Down
Loading
Loading