@aivex/ui 1.1.0-dev.31 → 1.1.0-dev.33

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.
@@ -0,0 +1,11 @@
1
+ import { type ReactNode } from "react";
2
+ interface DraggableScrollProps {
3
+ children: ReactNode;
4
+ className?: string;
5
+ /** children이 바뀔 때 가로 스크롤을 끝으로 이동합니다. */
6
+ autoScrollToEnd?: boolean;
7
+ smoothScroll?: boolean;
8
+ }
9
+ declare function DraggableScroll({ children, className, autoScrollToEnd, smoothScroll, }: DraggableScrollProps): import("react/jsx-runtime").JSX.Element;
10
+ export type { DraggableScrollProps };
11
+ export { DraggableScroll };
@@ -0,0 +1,2 @@
1
+ export type { DraggableScrollProps } from "./DraggableScroll";
2
+ export { DraggableScroll } from "./DraggableScroll";
@@ -0,0 +1,32 @@
1
+ import { type ReactNode } from "react";
2
+ export interface FilterOption {
3
+ label: string;
4
+ value: string;
5
+ icon?: ReactNode;
6
+ }
7
+ export interface FilterGroup {
8
+ groupLabel: string;
9
+ groupValue: string;
10
+ options: FilterOption[];
11
+ }
12
+ export interface FilterValue {
13
+ groupValue: string;
14
+ optionValue: string;
15
+ }
16
+ export interface FilterModalProps {
17
+ open: boolean;
18
+ onClose: () => void;
19
+ onApply: (filterState: FilterValue[]) => void;
20
+ options: FilterGroup[];
21
+ values: FilterValue[];
22
+ /** 모달 제목 */
23
+ title: ReactNode;
24
+ /** 초기화 버튼 라벨 */
25
+ clearLabel: ReactNode;
26
+ /** 적용 버튼 라벨 */
27
+ applyLabel: ReactNode;
28
+ /** 옵션이 없을 때 표시할 텍스트 */
29
+ emptyText: ReactNode;
30
+ }
31
+ declare const FilterModal: import("react").MemoExoticComponent<({ open, onClose, onApply, options, values, title, clearLabel, applyLabel, emptyText, }: FilterModalProps) => import("react/jsx-runtime").JSX.Element>;
32
+ export { FilterModal };
@@ -0,0 +1,2 @@
1
+ export type { FilterGroup, FilterModalProps, FilterOption, FilterValue, } from "./FilterModal";
2
+ export { FilterModal } from "./FilterModal";