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

[FE] 사용성 개선 - 지출 내역 입력 아이템 구현 #357

Merged
merged 7 commits into from
Aug 16, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
style: lint 적용
  • Loading branch information
Todari committed Aug 15, 2024
commit 0cab0f8037d235baacb247c28364159e44b99127
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import {TextSize} from '@components/Text/Text.type';
import {css} from '@emotion/react';

import {TextSize} from '@components/Text/Text.type';

import {Theme} from '@theme/theme.type';

import TYPOGRAPHY from '@token/typography';

interface InputWrapperStyleProps {
1 change: 1 addition & 0 deletions HDesign/src/components/EditableItem/EditableItem.Input.tsx
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ import React, {forwardRef, useEffect, useImperativeHandle, useRef, useState} fro
import {InputProps} from '@components/EditableItem/EditableItem.Input.type';

import {useTheme} from '@theme/HDesignProvider';

import {inputStyle, inputWrapperStyle} from './EditableItem.Input.style';
import useEditableItemInput from './useEditableItemInput';

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {TextSize} from '@components/Text/Text.type';

import {Theme} from '@theme/theme.type';

export interface InputStyleProps {
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
import type {Meta, StoryObj} from '@storybook/react';

import EditableItemInput from '@components/EditableItem/EditableItem.Input';

import EditableItem from './EditableItem';
import {EditableItmProvider} from './EditableItem.context';

1 change: 0 additions & 1 deletion HDesign/src/components/EditableItem/EditableItem.tsx
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@ import React, {useEffect} from 'react';
import {useTheme} from '@theme/HDesignProvider';

import {editableItemStyle} from './EditableItem.style';

import EditableItemInput from './EditableItem.Input';
import {EditableItemProps} from './EditableItem.type';
import {EditableItmProvider, useEditableItemContext} from './EditableItem.context';
1 change: 1 addition & 0 deletions HDesign/src/components/EditableItem/EditableItem.type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {Theme} from '@theme/theme.type';

import {ColorKeys} from '@token/colors';

export interface EditableItemStyleProps {
1 change: 1 addition & 0 deletions HDesign/src/components/EditableItem/useEditableItem.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {useEffect} from 'react';

import {useEditableItemContext} from './EditableItem.context';

interface UseEditableItemProps {
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {useCallback, useEffect, useState} from 'react';

import {useEditableItemContext} from './EditableItem.context';

interface UseEditableItemInputProps {