@hivcd-printshop/design-system 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +28 -2
- package/dist/index.d.ts +28 -2
- package/dist/index.js +341 -262
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +339 -262
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -75,6 +75,27 @@ interface ColumnSubTitleProps {
|
|
|
75
75
|
*/
|
|
76
76
|
declare const ColumnSubTitle: ({ className, children, action, as: Tag, }: ColumnSubTitleProps) => react.JSX.Element;
|
|
77
77
|
|
|
78
|
+
interface ColumnDescriptionProps {
|
|
79
|
+
className?: string;
|
|
80
|
+
children: React.ReactNode;
|
|
81
|
+
/** 컴퍼스 마크 불릿 표시 여부. 기본 true. */
|
|
82
|
+
bullet?: boolean;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Column 내부의 안내/주의사항 항목 한 줄.
|
|
86
|
+
* 컴퍼스 마크 불릿 + 본문(body3-book / text-primary)으로 구성되며,
|
|
87
|
+
* 본문이 여러 줄이어도 줄바꿈된 텍스트가 아이콘 아래로 흐르지 않는다(행잉 인덴트).
|
|
88
|
+
* 개행은 `\n` 그대로 반영된다.
|
|
89
|
+
* 예: "예약 시 주의사항" 목록의 각 항목.
|
|
90
|
+
*/
|
|
91
|
+
declare const ColumnDescription: ({ className, children, bullet, }: ColumnDescriptionProps) => react.JSX.Element;
|
|
92
|
+
interface ColumnDescriptionListProps {
|
|
93
|
+
className?: string;
|
|
94
|
+
children: React.ReactNode;
|
|
95
|
+
}
|
|
96
|
+
/** `ColumnDescription` 항목들을 16px 간격으로 세로 배치하는 래퍼. */
|
|
97
|
+
declare const ColumnDescriptionList: ({ className, children }: ColumnDescriptionListProps) => react.JSX.Element;
|
|
98
|
+
|
|
78
99
|
interface BasicFormFieldProps {
|
|
79
100
|
children: React.ReactNode;
|
|
80
101
|
isDanger?: boolean;
|
|
@@ -127,7 +148,7 @@ interface FormFileProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
127
148
|
filename?: string;
|
|
128
149
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
129
150
|
}
|
|
130
|
-
declare const FormFile: ({ className, isDanger, dangerText,
|
|
151
|
+
declare const FormFile: ({ className, isDanger, dangerText, fileUrl, filename, onChange, ...props }: FormFileProps) => react.JSX.Element;
|
|
131
152
|
|
|
132
153
|
interface FormCheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "checked"> {
|
|
133
154
|
isChecked: boolean;
|
|
@@ -242,6 +263,11 @@ declare const IconInfo: ({ className, stroke }: {
|
|
|
242
263
|
className?: string;
|
|
243
264
|
stroke?: string;
|
|
244
265
|
}) => react.JSX.Element;
|
|
266
|
+
/** HIVCD 컴퍼스 마크. 주의사항 리스트의 불릿 등으로 사용. */
|
|
267
|
+
declare const IconCompass: ({ className, fill }: {
|
|
268
|
+
className?: string;
|
|
269
|
+
fill?: string;
|
|
270
|
+
}) => react.JSX.Element;
|
|
245
271
|
|
|
246
272
|
interface CategorySegmentProps {
|
|
247
273
|
selected?: boolean;
|
|
@@ -493,4 +519,4 @@ interface ToastProps {
|
|
|
493
519
|
}
|
|
494
520
|
declare const Toast: react.ForwardRefExoticComponent<ToastProps & react.RefAttributes<HTMLDivElement>>;
|
|
495
521
|
|
|
496
|
-
export { BackButton, type BackButtonProps, BasicFormField, type BasicFormFieldProps, CTA, type CTAProps, CategorySegment, type CategorySegmentProps, CategorySegmentedControl, type CategorySegmentedControlProps, Column, ColumnContentContainer, type ColumnContentContainerProps, ColumnLabel, type ColumnLabelProps, type ColumnProps, ColumnSubTitle, type ColumnSubTitleProps, ColumnText, type ColumnTextProps, ColumnTextStyle, type DayColumn, Dropdown, type DropdownProps, FormCheckBox, type FormCheckBoxProps, FormColor, type FormColorProps, FormFile, type FormFileProps, FormNumber, type FormNumberProps, FormPassword, type FormPasswordProps, FormSelectBox, type FormSelectBoxProps, FormTel, type FormTelProps, FormText, FormTextArea, type FormTextAreaProps, type FormTextProps, IconCheck, IconChevronDownXS, IconInfo, type LinkComponent, List, type ListProps, type LowerPartItem, Modal, type ModalProps, ModalText, type ModalTextProps, ModalTextStyle, MultiColumn, type NavIcon, NoticeBadge, type NoticeBadgeProps, type NoticeBadgeVariable, NoticeBar, type NoticeBarBadgeVariable, type NoticeBarProps, type NoticeBarVariable, type RadioToggle, SearchBar, type SearchBarProps, SelectBoxOption, type SelectBoxOptionProps, SideRadioAccordion, type PrintColor$1 as SideRadioAccordionPrintColor, type SideRadioAccordionProps, TNB, type TNBProps, Tag, type TagProps, TextButton, type TextButtonProps, type TimeSlot, type TimeSlotState, Timetable, type PrintColor as TimetablePrintColor, type TimetableProps, TitleInput, type TitleInputProps, Toast, type ToastProps, type UpperPartItem, type Week, WeekNavigation, type WeekNavigationProps, getInputStyles };
|
|
522
|
+
export { BackButton, type BackButtonProps, BasicFormField, type BasicFormFieldProps, CTA, type CTAProps, CategorySegment, type CategorySegmentProps, CategorySegmentedControl, type CategorySegmentedControlProps, Column, ColumnContentContainer, type ColumnContentContainerProps, ColumnDescription, ColumnDescriptionList, type ColumnDescriptionListProps, type ColumnDescriptionProps, ColumnLabel, type ColumnLabelProps, type ColumnProps, ColumnSubTitle, type ColumnSubTitleProps, ColumnText, type ColumnTextProps, ColumnTextStyle, type DayColumn, Dropdown, type DropdownProps, FormCheckBox, type FormCheckBoxProps, FormColor, type FormColorProps, FormFile, type FormFileProps, FormNumber, type FormNumberProps, FormPassword, type FormPasswordProps, FormSelectBox, type FormSelectBoxProps, FormTel, type FormTelProps, FormText, FormTextArea, type FormTextAreaProps, type FormTextProps, IconCheck, IconChevronDownXS, IconCompass, IconInfo, type LinkComponent, List, type ListProps, type LowerPartItem, Modal, type ModalProps, ModalText, type ModalTextProps, ModalTextStyle, MultiColumn, type NavIcon, NoticeBadge, type NoticeBadgeProps, type NoticeBadgeVariable, NoticeBar, type NoticeBarBadgeVariable, type NoticeBarProps, type NoticeBarVariable, type RadioToggle, SearchBar, type SearchBarProps, SelectBoxOption, type SelectBoxOptionProps, SideRadioAccordion, type PrintColor$1 as SideRadioAccordionPrintColor, type SideRadioAccordionProps, TNB, type TNBProps, Tag, type TagProps, TextButton, type TextButtonProps, type TimeSlot, type TimeSlotState, Timetable, type PrintColor as TimetablePrintColor, type TimetableProps, TitleInput, type TitleInputProps, Toast, type ToastProps, type UpperPartItem, type Week, WeekNavigation, type WeekNavigationProps, getInputStyles };
|
package/dist/index.d.ts
CHANGED
|
@@ -75,6 +75,27 @@ interface ColumnSubTitleProps {
|
|
|
75
75
|
*/
|
|
76
76
|
declare const ColumnSubTitle: ({ className, children, action, as: Tag, }: ColumnSubTitleProps) => react.JSX.Element;
|
|
77
77
|
|
|
78
|
+
interface ColumnDescriptionProps {
|
|
79
|
+
className?: string;
|
|
80
|
+
children: React.ReactNode;
|
|
81
|
+
/** 컴퍼스 마크 불릿 표시 여부. 기본 true. */
|
|
82
|
+
bullet?: boolean;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Column 내부의 안내/주의사항 항목 한 줄.
|
|
86
|
+
* 컴퍼스 마크 불릿 + 본문(body3-book / text-primary)으로 구성되며,
|
|
87
|
+
* 본문이 여러 줄이어도 줄바꿈된 텍스트가 아이콘 아래로 흐르지 않는다(행잉 인덴트).
|
|
88
|
+
* 개행은 `\n` 그대로 반영된다.
|
|
89
|
+
* 예: "예약 시 주의사항" 목록의 각 항목.
|
|
90
|
+
*/
|
|
91
|
+
declare const ColumnDescription: ({ className, children, bullet, }: ColumnDescriptionProps) => react.JSX.Element;
|
|
92
|
+
interface ColumnDescriptionListProps {
|
|
93
|
+
className?: string;
|
|
94
|
+
children: React.ReactNode;
|
|
95
|
+
}
|
|
96
|
+
/** `ColumnDescription` 항목들을 16px 간격으로 세로 배치하는 래퍼. */
|
|
97
|
+
declare const ColumnDescriptionList: ({ className, children }: ColumnDescriptionListProps) => react.JSX.Element;
|
|
98
|
+
|
|
78
99
|
interface BasicFormFieldProps {
|
|
79
100
|
children: React.ReactNode;
|
|
80
101
|
isDanger?: boolean;
|
|
@@ -127,7 +148,7 @@ interface FormFileProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
127
148
|
filename?: string;
|
|
128
149
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
129
150
|
}
|
|
130
|
-
declare const FormFile: ({ className, isDanger, dangerText,
|
|
151
|
+
declare const FormFile: ({ className, isDanger, dangerText, fileUrl, filename, onChange, ...props }: FormFileProps) => react.JSX.Element;
|
|
131
152
|
|
|
132
153
|
interface FormCheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "checked"> {
|
|
133
154
|
isChecked: boolean;
|
|
@@ -242,6 +263,11 @@ declare const IconInfo: ({ className, stroke }: {
|
|
|
242
263
|
className?: string;
|
|
243
264
|
stroke?: string;
|
|
244
265
|
}) => react.JSX.Element;
|
|
266
|
+
/** HIVCD 컴퍼스 마크. 주의사항 리스트의 불릿 등으로 사용. */
|
|
267
|
+
declare const IconCompass: ({ className, fill }: {
|
|
268
|
+
className?: string;
|
|
269
|
+
fill?: string;
|
|
270
|
+
}) => react.JSX.Element;
|
|
245
271
|
|
|
246
272
|
interface CategorySegmentProps {
|
|
247
273
|
selected?: boolean;
|
|
@@ -493,4 +519,4 @@ interface ToastProps {
|
|
|
493
519
|
}
|
|
494
520
|
declare const Toast: react.ForwardRefExoticComponent<ToastProps & react.RefAttributes<HTMLDivElement>>;
|
|
495
521
|
|
|
496
|
-
export { BackButton, type BackButtonProps, BasicFormField, type BasicFormFieldProps, CTA, type CTAProps, CategorySegment, type CategorySegmentProps, CategorySegmentedControl, type CategorySegmentedControlProps, Column, ColumnContentContainer, type ColumnContentContainerProps, ColumnLabel, type ColumnLabelProps, type ColumnProps, ColumnSubTitle, type ColumnSubTitleProps, ColumnText, type ColumnTextProps, ColumnTextStyle, type DayColumn, Dropdown, type DropdownProps, FormCheckBox, type FormCheckBoxProps, FormColor, type FormColorProps, FormFile, type FormFileProps, FormNumber, type FormNumberProps, FormPassword, type FormPasswordProps, FormSelectBox, type FormSelectBoxProps, FormTel, type FormTelProps, FormText, FormTextArea, type FormTextAreaProps, type FormTextProps, IconCheck, IconChevronDownXS, IconInfo, type LinkComponent, List, type ListProps, type LowerPartItem, Modal, type ModalProps, ModalText, type ModalTextProps, ModalTextStyle, MultiColumn, type NavIcon, NoticeBadge, type NoticeBadgeProps, type NoticeBadgeVariable, NoticeBar, type NoticeBarBadgeVariable, type NoticeBarProps, type NoticeBarVariable, type RadioToggle, SearchBar, type SearchBarProps, SelectBoxOption, type SelectBoxOptionProps, SideRadioAccordion, type PrintColor$1 as SideRadioAccordionPrintColor, type SideRadioAccordionProps, TNB, type TNBProps, Tag, type TagProps, TextButton, type TextButtonProps, type TimeSlot, type TimeSlotState, Timetable, type PrintColor as TimetablePrintColor, type TimetableProps, TitleInput, type TitleInputProps, Toast, type ToastProps, type UpperPartItem, type Week, WeekNavigation, type WeekNavigationProps, getInputStyles };
|
|
522
|
+
export { BackButton, type BackButtonProps, BasicFormField, type BasicFormFieldProps, CTA, type CTAProps, CategorySegment, type CategorySegmentProps, CategorySegmentedControl, type CategorySegmentedControlProps, Column, ColumnContentContainer, type ColumnContentContainerProps, ColumnDescription, ColumnDescriptionList, type ColumnDescriptionListProps, type ColumnDescriptionProps, ColumnLabel, type ColumnLabelProps, type ColumnProps, ColumnSubTitle, type ColumnSubTitleProps, ColumnText, type ColumnTextProps, ColumnTextStyle, type DayColumn, Dropdown, type DropdownProps, FormCheckBox, type FormCheckBoxProps, FormColor, type FormColorProps, FormFile, type FormFileProps, FormNumber, type FormNumberProps, FormPassword, type FormPasswordProps, FormSelectBox, type FormSelectBoxProps, FormTel, type FormTelProps, FormText, FormTextArea, type FormTextAreaProps, type FormTextProps, IconCheck, IconChevronDownXS, IconCompass, IconInfo, type LinkComponent, List, type ListProps, type LowerPartItem, Modal, type ModalProps, ModalText, type ModalTextProps, ModalTextStyle, MultiColumn, type NavIcon, NoticeBadge, type NoticeBadgeProps, type NoticeBadgeVariable, NoticeBar, type NoticeBarBadgeVariable, type NoticeBarProps, type NoticeBarVariable, type RadioToggle, SearchBar, type SearchBarProps, SelectBoxOption, type SelectBoxOptionProps, SideRadioAccordion, type PrintColor$1 as SideRadioAccordionPrintColor, type SideRadioAccordionProps, TNB, type TNBProps, Tag, type TagProps, TextButton, type TextButtonProps, type TimeSlot, type TimeSlotState, Timetable, type PrintColor as TimetablePrintColor, type TimetableProps, TitleInput, type TitleInputProps, Toast, type ToastProps, type UpperPartItem, type Week, WeekNavigation, type WeekNavigationProps, getInputStyles };
|