@exem-ui/react 0.3.4-next.20260609002221 → 0.3.4-next.20260609061639

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 @@
1
+ {"version":3,"sources":["../src/segment/Segment.tsx","../src/flat/FlatSegment.tsx","../src/overlayList/overlayListVariants.ts","../src/input/inputVariants.ts","../src/input/selectVariants.ts","../src/input/Select.tsx","../src/flat/FlatSelect.tsx","../src/tabs/Tabs.tsx","../src/flat/FlatTabs.tsx","../src/tooltip/Tooltip.tsx","../src/flat/FlatTooltip.tsx"],"names":["cva","createContext","useContext","forwardRef","jsx","TabsPrimitive","cn","jsxs","createElement","useId","SelectPrimitive","ChevronDown","React","useRef","useState","TabsPrimitive2","TooltipPrimitive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,IAAM,mBAAA,GAAsBA,SAAA;AAAA,EAC1B,kFAAA;AAAA,EACA;AAAA,IACE,QAAA,EAAU;AAAA,MACR,IAAA,EAAM;AAAA,QACJ,KAAA,EAAO,iBAAA;AAAA,QACP,MAAA,EAAQ,iBAAA;AAAA,QACR,KAAA,EAAO;AAAA;AACT,KACF;AAAA,IACA,eAAA,EAAiB;AAAA,MACf,IAAA,EAAM;AAAA;AACR;AAEJ,CAAA;AAEA,IAAM,mBAAA,GAAsBA,SAAA;AAAA,EAC1B;AAAA,IACE,sDAAA;AAAA,IACA,yEAAA;AAAA,IACA,6BAAA;AAAA,IACA,wHAAA;AAAA,IACA,4FAAA;AAAA,IACA;AAAA,GACF;AAAA,EACA;AAAA,IACE,QAAA,EAAU;AAAA,MACR,IAAA,EAAM;AAAA,QACJ,KAAA,EAAO,qCAAA;AAAA,QACP,MAAA,EAAQ,mCAAA;AAAA,QACR,KAAA,EAAO;AAAA;AACT,KACF;AAAA,IACA,eAAA,EAAiB;AAAA,MACf,IAAA,EAAM;AAAA;AACR;AAEJ,CAAA;AAEA,IAAM,mBAAA,GAA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J;AAEA,EAAA,IAAI,OAAA,IAAW,OAAO,OAAA,KAAY,QAAA,IAAY,iBAAiB,OAAA,IAAW,OAAA,CAAQ,QAAQ,KAAA,EAAO;AAC/F,IAAA,uBACEA,eAAC,WAAA,EAAA,EAAY,IAAA,EAAM,QAAQ,IAAA,IAAQ,MAAA,EAAS,GAAG,OAAA,EAC5C,QAAA,EACH,CAAA;AAAA,EAEJ;AAEA,EAAA,OAAO,QAAA;AACT;AAEA,WAAA,CAAY,WAAA,GAAc,aAAA;AAC1B,kBAAA,CAAmB,WAAA,GAAc,oBAAA","file":"chunk-KCOTDUDN.js","sourcesContent":["import { cn, cva } from '@exem-ui/core/utils';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\nimport type React from 'react';\nimport { createContext, forwardRef, useContext } from 'react';\n\ntype SegmentSize = 'small' | 'medium' | 'large';\n\ntype SegmentContextValue = {\n size: SegmentSize;\n};\n\ntype SegmentListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;\n\ntype SegmentItemProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & {\n /** 텍스트 왼쪽에 표시할 아이콘 요소 */\n leftIcon?: React.ReactElement<{ className?: string }>;\n};\n\ntype SegmentContentProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;\n\ntype SegmentRootProps<T extends string = string> = Omit<\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>,\n 'value' | 'defaultValue' | 'onValueChange'\n> & {\n /**\n * 세그먼트 크기\n * @default 'medium'\n */\n size?: SegmentSize;\n value?: T;\n defaultValue?: T;\n onValueChange?: (value: T) => void;\n};\n\ntype SegmentComponent = {\n <T extends string = string>(\n props: SegmentRootProps<T> & React.RefAttributes<React.ElementRef<typeof TabsPrimitive.Root>>,\n ): React.ReactElement | null;\n displayName?: string;\n List: React.ForwardRefExoticComponent<SegmentListProps>;\n Item: React.ForwardRefExoticComponent<SegmentItemProps>;\n Content: React.ForwardRefExoticComponent<SegmentContentProps>;\n};\n\nconst segmentListVariants = cva(\n 'inline-flex items-center overflow-hidden rounded-medium bg-elevation-elevation-2',\n {\n variants: {\n size: {\n small: 'h-7 gap-0 p-0.5',\n medium: 'h-8 gap-0 p-0.5',\n large: 'h-10 gap-0 p-0.5',\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n },\n);\n\nconst segmentItemVariants = cva(\n [\n 'flex flex-1 items-center justify-center rounded-weak',\n 'focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring',\n 'disabled:cursor-not-allowed',\n 'data-[state=active]:bg-component-segmentedOption data-[state=active]:text-text-primary data-[state=active]:shadow-weak',\n 'data-[state=inactive]:text-text-tertiary data-[state=inactive]:disabled:text-text-disabled',\n 'transition-colors duration-200 ease-in-out',\n ],\n {\n variants: {\n size: {\n small: 'h-6 gap-0.5 text-body-3 font-medium',\n medium: 'h-7 gap-1 text-body-2 font-medium',\n large: 'h-9 gap-1.5 text-body-2 font-medium',\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n },\n);\n\nconst segmentIconVariants = cva('flex items-center justify-center', {\n variants: {\n size: {\n small: 'size-4',\n medium: 'size-4',\n large: 'size-5',\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n});\n\nconst SegmentContext = createContext<SegmentContextValue | undefined>(undefined);\n\nconst useSegmentContext = () => {\n const context = useContext(SegmentContext);\n if (!context) {\n throw new Error('Segment components must be used within a Segment');\n }\n return context;\n};\n\n/**\n * 탭 형태의 세그먼트 컨트롤 컴포넌트입니다.\n * Compound Component 패턴으로 `Segment.List`, `Segment.Item`, `Segment.Content`와 함께 사용합니다.\n *\n * @example\n * ```tsx\n * <Segment defaultValue=\"tab1\" size=\"medium\">\n * <Segment.List>\n * <Segment.Item value=\"tab1\">첫 번째</Segment.Item>\n * <Segment.Item value=\"tab2\">두 번째</Segment.Item>\n * </Segment.List>\n * <Segment.Content value=\"tab1\">첫 번째 내용</Segment.Content>\n * <Segment.Content value=\"tab2\">두 번째 내용</Segment.Content>\n * </Segment>\n * ```\n *\n * @see {@link SegmentRootProps} 루트 props 상세\n * @see {@link SegmentItemProps} 아이템 props 상세\n */\nconst Segment = forwardRef<React.ElementRef<typeof TabsPrimitive.Root>, SegmentRootProps>(\n ({ size = 'medium', children, ...props }, ref) => (\n <SegmentContext.Provider value={{ size }}>\n <TabsPrimitive.Root ref={ref} {...props}>\n {children}\n </TabsPrimitive.Root>\n </SegmentContext.Provider>\n ),\n) as unknown as SegmentComponent;\n\nSegment.List = forwardRef<React.ElementRef<typeof TabsPrimitive.List>, SegmentListProps>(\n ({ className, ...props }, ref) => {\n const { size } = useSegmentContext();\n return (\n <TabsPrimitive.List\n ref={ref}\n className={cn(segmentListVariants({ size }), className)}\n {...props}\n />\n );\n },\n) as SegmentComponent['List'];\n\nSegment.Item = forwardRef<React.ElementRef<typeof TabsPrimitive.Trigger>, SegmentItemProps>(\n ({ className, leftIcon, children, ...props }, ref) => {\n const { size } = useSegmentContext();\n\n return (\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(segmentItemVariants({ size }), className)}\n {...props}\n >\n {leftIcon && <span className={cn(segmentIconVariants({ size }))}>{leftIcon}</span>}\n <span className=\"flex items-center\">{children}</span>\n </TabsPrimitive.Trigger>\n );\n },\n) as SegmentComponent['Item'];\n\nSegment.Content = forwardRef<React.ElementRef<typeof TabsPrimitive.Content>, SegmentContentProps>(\n ({ className, ...props }, ref) => (\n <TabsPrimitive.Content\n ref={ref}\n className={cn(\n 'ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n className,\n )}\n {...props}\n />\n ),\n) as SegmentComponent['Content'];\n\nSegment.displayName = 'Segment';\nSegment.List.displayName = 'Segment.List';\nSegment.Content.displayName = 'Segment.Content';\nSegment.Item.displayName = 'Segment.Item';\n\nexport { Segment };\nexport type {\n SegmentComponent,\n SegmentRootProps,\n SegmentItemProps,\n SegmentContentProps,\n SegmentListProps,\n};\n","import { Segment, type SegmentItemProps, type SegmentRootProps } from '../segment/Segment';\n\ntype FlatSegmentItem<V extends string = string> = Pick<\n SegmentItemProps,\n 'children' | 'disabled' | 'leftIcon' | 'className'\n> & {\n value: V;\n};\n\ntype FlatSegmentProps<Items extends readonly FlatSegmentItem[] = readonly FlatSegmentItem[]> = Omit<\n SegmentRootProps,\n 'children' | 'asChild' | 'value' | 'defaultValue' | 'onValueChange'\n> & {\n /** 세그먼트 아이템 배열 */\n items: Items;\n value?: Items[number]['value'];\n defaultValue?: Items[number]['value'];\n onValueChange?: (value: Items[number]['value']) => void;\n /**\n * 전체 비활성화 여부 (개별 아이템의 disabled와 OR 결합)\n * @default false\n */\n disabled?: boolean;\n};\n\n/**\n * Segment 컴포넌트의 간소화된 Flat API입니다.\n * items 배열만 전달하면 Compound Component 없이 간편하게 사용할 수 있습니다.\n * items 의 value 로부터 타입이 추론되어, value/onValueChange 의 오타가 컴파일 단계에서 잡힙니다.\n *\n * @example\n * ```tsx\n * <FlatSegment\n * defaultValue=\"tab1\"\n * size=\"medium\"\n * items={[\n * { value: 'tab1', children: '첫 번째' },\n * { value: 'tab2', children: '두 번째' },\n * ]}\n * />\n * ```\n *\n * @see {@link FlatSegmentProps} props 상세\n */\nfunction FlatSegment<const Items extends readonly FlatSegmentItem[]>({\n items,\n disabled,\n className,\n ...props\n}: FlatSegmentProps<Items>) {\n const rootProps = props as SegmentRootProps<Items[number]['value']>;\n return (\n <Segment {...rootProps}>\n <Segment.List className={className}>\n {items.map((item) => (\n <Segment.Item {...item} key={item.value} disabled={disabled || item.disabled} />\n ))}\n </Segment.List>\n </Segment>\n );\n}\n\nFlatSegment.displayName = 'FlatSegment';\n\nexport { FlatSegment };\nexport type { FlatSegmentProps, FlatSegmentItem };\n","import { cn, cva } from '@exem-ui/core/utils';\n\n/**\n * 오버레이 형태로 표시되는 리스트 UI의 공통 스타일 변형(variants)을 정의합니다.\n *\n * Select, Dropdown 등 팝업/드롭다운 형태의 리스트 컴포넌트에서 공통으로 사용되는\n * 기반 스타일 레이어입니다. 각 컴포넌트는 이 variants를 확장하거나 재사용해\n * 자체 스타일을 구성합니다.\n *\n * @example 사용처\n * - `selectVariants.ts` — Select 컴포넌트의 드롭다운 리스트\n * - `dropdownVariants.ts` — Dropdown 컴포넌트의 메뉴 리스트\n *\n * @property content - 오버레이 컨테이너 (z-index, 배경, 테두리, 그림자, 열기/닫기 애니메이션)\n * @property viewport - 아이템 목록 래퍼 (flex 컬럼, 간격, 패딩)\n * @property item - 개별 리스트 아이템 (크기 variant: xsmall | small | medium | large)\n * @property slotSize - 아이콘/체크마크 등 슬롯 영역 크기 (size variant에 따라 조정)\n */\nexport const overlayListVariants = {\n content: cn(\n 'relative z-50 min-w-[8rem] overflow-hidden rounded-medium border border-border-primary bg-background-overlay shadow-weak',\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',\n ),\n\n viewport: cn('flex flex-col gap-0.5 p-1'),\n\n item: cva(\n 'relative flex w-full gap-0.5 cursor-pointer select-none items-center rounded-weak px-2 text-body-2 text-text-primary outline-none hover:bg-elevation-elevation-2 data-[disabled]:pointer-events-none data-[disabled]:text-text-disabled',\n {\n defaultVariants: { size: 'medium' },\n variants: {\n size: {\n xsmall: 'h-6',\n small: 'h-7',\n medium: 'h-8',\n large: 'h-10',\n },\n },\n },\n ),\n itemText: cva('truncate flex items-center flex-1 min-w-0', {\n defaultVariants: { size: 'medium' },\n variants: {\n size: {\n xsmall: 'h-6',\n small: 'h-7',\n medium: 'h-8',\n large: 'h-10',\n },\n },\n }),\n\n slotSize: cva('shrink-0 flex items-center justify-center text-icon-primary', {\n defaultVariants: { size: 'medium' },\n variants: {\n size: {\n xsmall: 'size-4',\n small: 'size-4',\n medium: 'size-4',\n large: 'size-5',\n },\n },\n }),\n};\n","import { cva } from '@exem-ui/core/utils';\n\n// 공통 Input variants\nexport const commonInputVariants = {\n // Container variants - 전체 컴포넌트 래퍼\n container: cva('flex flex-col'),\n\n // Label variants - 라벨 텍스트\n label: cva('inline-block font-regular text-text-primary', {\n variants: {\n size: {\n xsmall: 'mb-[2px] text-body-3',\n small: 'mb-[4px] text-body-2',\n medium: 'mb-[4px] text-body-2',\n large: 'mb-[6px] text-body-1',\n },\n disabled: {\n true: 'text-text-disabled',\n },\n required: {\n true: 'after:ml-0.5 after:text-text-critical after:content-[\"*\"]',\n },\n },\n compoundVariants: [\n {\n required: true,\n disabled: true,\n className: 'after:text-text-disabled',\n },\n ],\n defaultVariants: { size: 'medium' },\n }),\n\n // Description variants - 설명 텍스트\n description: cva('mt-0.5 inline-block text-text-tertiary', {\n variants: {\n size: {\n xsmall: 'text-caption',\n small: 'text-body-3',\n medium: 'text-body-3',\n large: 'text-body-2',\n },\n error: {\n true: 'text-text-critical',\n },\n disabled: {\n true: 'text-text-disabled',\n },\n },\n compoundVariants: [\n {\n error: true,\n disabled: true,\n className: 'text-text-disabled', // disabled 우선 적용\n },\n ],\n defaultVariants: { size: 'medium' },\n }),\n\n // Icon variants - 아이콘 크기\n icon: cva('shrink-0', {\n variants: {\n size: {\n xsmall: 'size-4',\n small: 'size-4',\n medium: 'size-4',\n large: 'size-5',\n },\n },\n defaultVariants: { size: 'medium' },\n }),\n};\n\n// 공통 타입 정의\nexport type Size = 'xsmall' | 'small' | 'medium' | 'large';\nexport type Variant = 'fill' | 'line';\nexport type Icon = React.ReactElement<{ className?: string }>;\n","import { cn, cva } from '@exem-ui/core/utils';\nimport { overlayListVariants } from '../overlayList/overlayListVariants';\nimport { commonInputVariants } from './inputVariants';\n\nexport const selectVariants = {\n container: commonInputVariants.container,\n content: cn(\n overlayListVariants.content,\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n ),\n\n description: commonInputVariants.description,\n\n iconSize: overlayListVariants.slotSize,\n\n item: (props?: Parameters<typeof overlayListVariants.item>[0]) =>\n cn(overlayListVariants.item(props), 'data-[state=checked]:bg-elevation-accent-0'),\n\n label: commonInputVariants.label,\n\n trigger: cva(\n 'group flex w-full items-center justify-between rounded-medium outline-none disabled:cursor-not-allowed disabled:bg-elevation-elevation-2 disabled:text-text-disabled data-[state=open]:border data-[state=open]:border-border-focused [&>span]:line-clamp-1 [&[data-placeholder]]:text-text-tertiary [&_svg]:text-icon-primary',\n {\n compoundVariants: [\n {\n className:\n 'border-border-accent text-tint-foreground-sky bg-elevation-accent-0 [&[data-placeholder]]:text-tint-foreground-sky [&_svg]:text-tint-foreground-sky',\n focus: true,\n variant: 'line',\n },\n // active + fill: 배경만 accent로 변경\n {\n className:\n 'bg-elevation-accent-0 text-tint-foreground-sky [&[data-placeholder]]:text-tint-foreground-sky [&_svg]:text-tint-foreground-sky',\n active: true,\n variant: 'fill',\n },\n // active + line: 배경 accent + 테두리 accent\n {\n className:\n 'bg-elevation-accent-0 border-border-accent text-tint-foreground-sky [&[data-placeholder]]:text-tint-foreground-sky [&_svg]:text-tint-foreground-sky',\n active: true,\n variant: 'line',\n },\n ],\n defaultVariants: {\n active: false,\n error: false,\n focus: false,\n size: 'medium',\n variant: 'fill',\n },\n variants: {\n active: {\n false: '',\n true: '',\n },\n error: {\n false: '',\n true: 'border !border-border-critical',\n },\n focus: {\n false: '',\n // 현재는 line 타입만 focus 가능\n true: '',\n },\n size: {\n xsmall: 'h-6 px-[4px] text-body-3',\n small: 'h-7 px-[6px] text-body-2',\n medium: 'h-8 px-[8px] text-body-2',\n large: 'h-10 px-[10px] text-body-1',\n },\n variant: {\n fill: 'bg-elevation-elevation-2',\n line: 'border-border-primary border',\n },\n },\n },\n ),\n\n triggerInner: cva('flex w-full items-center', {\n defaultVariants: { size: 'medium' },\n variants: {\n size: {\n xsmall: 'gap-0',\n small: 'gap-[2px]',\n medium: 'gap-[2px]',\n large: 'gap-[4px]',\n },\n },\n }),\n viewport: overlayListVariants.viewport,\n};\n","import { cn } from '@exem-ui/core/utils';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport * as React from 'react';\nimport { createContext, forwardRef, useContext, useId } from 'react';\nimport { ChevronDownIcon } from '../icon';\n\nimport { overlayListVariants } from '../overlayList/overlayListVariants';\nimport type { Icon, Size, Variant } from './inputVariants';\nimport { selectVariants } from './selectVariants';\n\ntype SelectContextValue = {\n size: Size;\n error: boolean;\n focus: boolean;\n active: boolean;\n disabled: boolean;\n id: string;\n variant: Variant;\n};\n\ntype SelectGroupContextValue = {\n isFirstChild: boolean;\n isLastChild: boolean;\n size?: Size;\n variant?: Variant;\n focus?: boolean;\n};\n\n/** Select 라벨 Props */\ntype SelectLabelProps = {\n children: React.ReactNode;\n required?: boolean;\n size?: Size;\n className?: string;\n};\n\n/** Select 트리거 Props */\ntype SelectTriggerProps = {\n children?: React.ReactNode;\n /** 트리거 왼쪽에 표시할 아이콘 */\n leftIcon?: Icon;\n className?: string;\n} & Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;\n\n/** Select Box (Trigger + Value 조합) Props */\ntype SelectBoxProps = {\n placeholder?: string;\n /** 트리거 왼쪽에 표시할 아이콘 */\n leftIcon?: Icon;\n className?: string;\n} & Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;\n\n/** Select 아이템 Props */\ntype SelectItemProps = {\n children?: React.ReactNode;\n /** 아이템 왼쪽에 표시할 아이콘 */\n leftIcon?: Icon;\n /** 아이템 오른쪽에 표시할 아이콘 */\n rightIcon?: Icon;\n size?: Size;\n className?: string;\n} & Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children'>;\n\ntype SelectEmptyProps = {\n children?: React.ReactNode;\n className?: string;\n};\n\ntype SelectDescriptionProps = {\n children?: React.ReactNode;\n size?: Size;\n className?: string;\n};\n\ntype SelectGroupProps = {\n children: React.ReactNode;\n size?: Size;\n /** 셀렉트 그룹 스타일 변형 */\n variant?: Variant;\n /** 불투명 배경 (elevation-0) 사용 여부. 반투명 배경이 비쳐보이는 것을 방지합니다. */\n hasBackground?: boolean;\n className?: string;\n};\n\n/** Select 루트 Props */\ntype SelectRootProps = {\n children?: React.ReactNode;\n /** 셀렉트 크기 */\n size?: Size;\n /** 셀렉트 스타일 변형 */\n variant?: Variant;\n /** 에러 상태 */\n error?: boolean;\n /** 포커스 상태 (line variant에서만 적용) */\n focus?: boolean;\n /** 활성화 상태 (필터 적용 등 내부 상태가 활성화됨을 표시) */\n active?: boolean;\n /** 비활성화 상태 */\n disabled?: boolean;\n className?: string;\n} & Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'disabled' | 'children'>;\n\ntype SelectListProps = Omit<\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>,\n 'position'\n>;\n\ntype SelectComponent = React.ForwardRefExoticComponent<\n SelectRootProps & React.RefAttributes<HTMLDivElement>\n> & {\n Label: React.ForwardRefExoticComponent<SelectLabelProps & React.RefAttributes<HTMLLabelElement>>;\n Trigger: React.ForwardRefExoticComponent<\n SelectTriggerProps & React.RefAttributes<React.ComponentRef<typeof SelectPrimitive.Trigger>>\n >;\n Box: React.ForwardRefExoticComponent<\n SelectBoxProps & React.RefAttributes<React.ComponentRef<typeof SelectPrimitive.Trigger>>\n >;\n Value: React.ForwardRefExoticComponent<\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value> &\n React.RefAttributes<React.ComponentRef<typeof SelectPrimitive.Value>>\n >;\n List: React.ForwardRefExoticComponent<\n SelectListProps & React.RefAttributes<React.ComponentRef<typeof SelectPrimitive.Content>>\n >;\n Item: React.ForwardRefExoticComponent<\n SelectItemProps & React.RefAttributes<React.ComponentRef<typeof SelectPrimitive.Item>>\n >;\n Empty: React.ForwardRefExoticComponent<SelectEmptyProps & React.RefAttributes<HTMLDivElement>>;\n Description: React.ForwardRefExoticComponent<\n SelectDescriptionProps & React.RefAttributes<HTMLDivElement>\n >;\n Group: React.ForwardRefExoticComponent<SelectGroupProps & React.RefAttributes<HTMLDivElement>>;\n};\n\nconst SelectContext = createContext<SelectContextValue | null>(null);\n\nconst useSelectContext = () => {\n const context = useContext(SelectContext);\n if (!context) {\n throw new Error('Select components must be used within a Select');\n }\n return context;\n};\n\nconst SelectGroupContext = createContext<SelectGroupContextValue | null>(null);\n\nconst useSelectGroupContext = () => {\n return useContext(SelectGroupContext);\n};\n\nconst Select = forwardRef<HTMLDivElement, SelectRootProps>(\n (\n {\n children,\n size = 'medium',\n variant = 'fill',\n error = false,\n disabled = false,\n focus = false,\n active = false,\n className,\n ...selectProps\n },\n ref,\n ) => {\n const uniqueId = useId();\n const id = `select-${uniqueId}`;\n\n return (\n <SelectContext.Provider value={{ active, disabled, error, focus, id, size, variant }}>\n <div ref={ref} className={cn(selectVariants.container(), className)}>\n <SelectPrimitive.Root disabled={disabled} {...selectProps}>\n {children}\n </SelectPrimitive.Root>\n </div>\n </SelectContext.Provider>\n );\n },\n) as SelectComponent;\n\nSelect.Value = forwardRef<\n React.ComponentRef<typeof SelectPrimitive.Value>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>\n>(({ className, children, ...props }, ref) => {\n return (\n <SelectPrimitive.Value ref={ref} className={className} {...props}>\n {children}\n </SelectPrimitive.Value>\n );\n}) as SelectComponent['Value'];\n\nSelect.Trigger = forwardRef<React.ComponentRef<typeof SelectPrimitive.Trigger>, SelectTriggerProps>(\n ({ className, children, leftIcon, ...props }, ref) => {\n const { size, error, id, variant, focus, active } = useSelectContext();\n const groupContext = useSelectGroupContext();\n\n const groupClasses = groupContext\n ? cn('rounded-none border-0', {\n 'rounded-l-medium': groupContext.isFirstChild,\n 'rounded-r-medium': groupContext.isLastChild,\n // line variant: group이 외곽 border를 제공하므로, open 시 border 대신 inset ring 사용\n 'data-[state=open]:border-0 data-[state=open]:ring-1 data-[state=open]:ring-inset data-[state=open]:ring-border-focused':\n variant === 'line',\n })\n : undefined;\n\n return (\n <SelectPrimitive.Trigger\n ref={ref}\n id={id}\n data-slot=\"select-trigger\"\n className={cn(\n selectVariants.trigger({ active, error, focus, size, variant }),\n groupClasses,\n className,\n )}\n {...props}\n >\n <div className={cn(selectVariants.triggerInner({ size }))}>\n {leftIcon && (\n <span\n className={cn(\n selectVariants.iconSize({ size }),\n 'flex items-center justify-center group-disabled:text-icon-disabled',\n )}\n >\n {leftIcon}\n </span>\n )}\n <div className=\"min-w-0 flex-1 truncate text-left\">{children}</div>\n <ChevronDownIcon\n type=\"regular\"\n className={cn(\n selectVariants.iconSize({ size }),\n 'transition-transform duration-200 group-data-[state=open]:rotate-180',\n 'group-disabled:text-icon-disabled',\n )}\n />\n </div>\n </SelectPrimitive.Trigger>\n );\n },\n) as SelectComponent['Trigger'];\n\nSelect.Box = forwardRef<React.ComponentRef<typeof SelectPrimitive.Trigger>, SelectBoxProps>(\n ({ placeholder, leftIcon, className, ...props }, ref) => {\n return (\n <Select.Trigger ref={ref} leftIcon={leftIcon} className={className} {...props}>\n <Select.Value placeholder={placeholder} />\n </Select.Trigger>\n );\n },\n) as SelectComponent['Box'];\n\nSelect.List = forwardRef<React.ComponentRef<typeof SelectPrimitive.Content>, SelectListProps>(\n ({ className, children, ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n data-slot=\"select-content\"\n className={cn(selectVariants.content, 'max-h-60 ', className)}\n position=\"popper\"\n {...props}\n >\n <SelectPrimitive.Viewport\n data-slot=\"select-viewport\"\n className={cn(\n selectVariants.viewport,\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n ),\n) as SelectComponent['List'];\n\nSelect.Label = forwardRef<HTMLLabelElement, SelectLabelProps>(\n ({ children, required = false, size: sizeProp, className }, ref) => {\n const { size: contextSize, disabled, id } = useSelectContext();\n const groupContext = useSelectGroupContext();\n const size = sizeProp ?? groupContext?.size ?? contextSize;\n\n return (\n <label\n ref={ref}\n htmlFor={id}\n className={cn(selectVariants.label({ disabled, required, size }), className)}\n >\n {children}\n </label>\n );\n },\n) as SelectComponent['Label'];\n\nSelect.Item = forwardRef<React.ComponentRef<typeof SelectPrimitive.Item>, SelectItemProps>(\n ({ className, children, leftIcon, rightIcon, size: sizeProp, ...props }, ref) => {\n const { size: contextSize } = useSelectContext();\n const groupContext = useSelectGroupContext();\n const size = sizeProp ?? groupContext?.size ?? contextSize;\n\n return (\n <SelectPrimitive.Item\n data-slot=\"select-item\"\n ref={ref}\n className={cn(selectVariants.item({ size }), className)}\n {...props}\n >\n {leftIcon && <div className={overlayListVariants.slotSize({ size })}>{leftIcon}</div>}\n <div className={overlayListVariants.itemText({ size })}>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </div>\n {rightIcon && <div className={overlayListVariants.slotSize({ size })}>{rightIcon}</div>}\n </SelectPrimitive.Item>\n );\n },\n) as SelectComponent['Item'];\n\nSelect.Empty = forwardRef<HTMLDivElement, SelectEmptyProps>(\n ({ children = 'No data', className }, ref) => {\n return (\n <div ref={ref} className={cn('flex min-h-8 items-center justify-center p-2', className)}>\n <p className=\"text-body-2 text-text-disabled\">{children}</p>\n </div>\n );\n },\n) as SelectComponent['Empty'];\n\nSelect.Description = forwardRef<HTMLDivElement, SelectDescriptionProps>(\n ({ children, size: sizeProp, className }, ref) => {\n const { size: contextSize, error, disabled } = useSelectContext();\n const groupContext = useSelectGroupContext();\n const size = sizeProp ?? groupContext?.size ?? contextSize;\n\n if (!children) {\n return null;\n }\n\n return (\n <div\n ref={ref}\n data-slot=\"select-description\"\n className={cn(selectVariants.description({ disabled, error, size }), className)}\n >\n <p>{children}</p>\n </div>\n );\n },\n) as SelectComponent['Description'];\n\nSelect.Group = forwardRef<HTMLDivElement, SelectGroupProps>(\n ({ children, size = 'medium', variant = 'fill', hasBackground = false, className }, ref) => {\n const childArray = React.Children.toArray(children);\n\n return (\n <div\n ref={ref}\n className={cn(\n 'flex w-fit flex-row items-stretch overflow-clip rounded-medium',\n variant === 'line' && 'border border-border-primary',\n hasBackground && 'bg-elevation-elevation-0',\n className,\n )}\n >\n {childArray.map((child, index) => {\n const isFirst = index === 0;\n const isLast = index === childArray.length - 1;\n\n return (\n <React.Fragment key={index}>\n <SelectGroupContext.Provider\n value={{ isFirstChild: isFirst, isLastChild: isLast, size, variant }}\n >\n {child}\n </SelectGroupContext.Provider>\n {!isLast && <div className=\"w-px self-stretch bg-border-primary\" />}\n </React.Fragment>\n );\n })}\n </div>\n );\n },\n) as SelectComponent['Group'];\n\nSelect.displayName = 'Select';\nSelect.Label.displayName = 'Select.Label';\nSelect.Trigger.displayName = 'Select.Trigger';\nSelect.Box.displayName = 'Select.Box';\nSelect.Value.displayName = 'Select.Value';\nSelect.List.displayName = 'Select.List';\nSelect.Item.displayName = 'Select.Item';\nSelect.Empty.displayName = 'Select.Empty';\nSelect.Description.displayName = 'Select.Description';\nSelect.Group.displayName = 'Select.Group';\n\nexport { Select };\nexport type {\n SelectComponent,\n SelectRootProps,\n SelectBoxProps,\n SelectDescriptionProps,\n SelectEmptyProps,\n SelectItemProps,\n SelectLabelProps,\n SelectTriggerProps,\n SelectGroupProps,\n SelectListProps,\n};\n","import type { ComponentProps, RefObject } from 'react';\nimport { useRef, useState } from 'react';\nimport { Select } from '../input/Select';\n\ntype FlatSelectOption = {\n value: string;\n label: string | React.ReactNode;\n /** 아이템 오른쪽에 표시할 슬롯 요소 */\n rightSlot?: React.ReactNode;\n disabled?: boolean;\n};\n\ninterface FlatSelectProps extends React.ComponentProps<typeof Select> {\n /** 선택 가능한 옵션 배열 */\n options: FlatSelectOption[];\n /** 값이 선택되지 않았을 때 표시할 텍스트 */\n placeholder?: string;\n /** 드롭다운 열림/닫힘 상태 변경 핸들러 */\n onOpenChange?: (open: boolean) => void;\n /** 포커스 획득 핸들러 */\n onFocus?: () => void;\n /** 포커스 해제 핸들러 */\n onBlur?: () => void;\n /** 트리거 왼쪽에 표시할 아이콘 */\n leftIcon?: ComponentProps<typeof Select.Trigger>['leftIcon'];\n /** 라벨 텍스트 */\n label?: ComponentProps<typeof Select.Label>['children'];\n /** 필수 입력 여부 */\n required?: ComponentProps<typeof Select.Label>['required'];\n /** 설명 텍스트 */\n description?: ComponentProps<typeof Select.Description>['children'];\n /** 드롭다운 리스트 className */\n listClassName?: string;\n}\n\n/**\n * Select 컴포넌트의 간소화된 Flat API입니다.\n * options 배열만 전달하면 Compound Component 없이 간편하게 사용할 수 있습니다.\n *\n * @example\n * ```tsx\n * <FlatSelect\n * options={[\n * { value: '1', label: '옵션 1' },\n * { value: '2', label: '옵션 2' },\n * ]}\n * placeholder=\"선택하세요\"\n * label=\"항목\"\n * />\n * ```\n *\n * @see {@link FlatSelectProps} props 상세\n */\nfunction FlatSelect({\n options,\n placeholder,\n onBlur,\n onFocus,\n onOpenChange,\n label,\n description,\n required,\n listClassName,\n leftIcon,\n ...props\n}: FlatSelectProps) {\n const { className, ...selectProps } = props;\n const selectRef = useRef<HTMLDivElement>(null);\n const { handleBlur, handleFocus } = useFocusWithin(selectRef, {\n onBlur,\n onFocus,\n });\n\n const handleOpenChange = (open: boolean) => {\n if (open) {\n handleFocus();\n }\n onOpenChange?.(open);\n };\n\n return (\n <div ref={selectRef} className={className}>\n <Select {...selectProps} onOpenChange={handleOpenChange}>\n {label && <Select.Label required={required}>{label}</Select.Label>}\n <Select.Trigger onBlur={handleBlur} onFocus={handleFocus} leftIcon={leftIcon}>\n <Select.Value placeholder={placeholder} className=\"truncate\" />\n </Select.Trigger>\n {description && <Select.Description>{description}</Select.Description>}\n <Select.List className={listClassName}>\n {options.length === 0 && <Select.Empty>{placeholder}</Select.Empty>}\n {options.map((option) => (\n <Select.Item\n key={option.value}\n value={option.value}\n disabled={option.disabled}\n className=\"flex max-w-full items-center justify-between\"\n >\n <div className=\"block flex-1 truncate\">{option.label}</div>\n {option.rightSlot}\n </Select.Item>\n ))}\n </Select.List>\n </Select>\n </div>\n );\n}\n\nfunction useFocusWithin(\n containerRef: RefObject<HTMLElement | null>,\n callbacks?: { onFocus?: () => void; onBlur?: () => void },\n) {\n const [isFocused, setIsFocused] = useState(false);\n\n const handleBlur = (event: React.FocusEvent) => {\n if (containerRef.current?.contains(event.relatedTarget as Node)) {\n return;\n }\n setIsFocused(false);\n callbacks?.onBlur?.();\n };\n\n const handleFocus = () => {\n if (isFocused) {\n return;\n }\n setIsFocused(true);\n callbacks?.onFocus?.();\n };\n\n return { handleBlur, handleFocus, isFocused };\n}\n\nFlatSelect.displayName = 'FlatSelect';\n\nexport { FlatSelect };\nexport type { FlatSelectProps, FlatSelectOption };\n","import { cn, cva } from '@exem-ui/core/utils';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\nimport type React from 'react';\nimport { createContext, forwardRef, useContext } from 'react';\n\ntype TabsType = 'primary' | 'secondary';\n\ntype TabsContextType = {\n type: TabsType;\n};\n\ntype TabsRootProps<T extends string = string> = Omit<\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>,\n 'value' | 'defaultValue' | 'onValueChange'\n> & {\n /**\n * 탭 스타일 유형\n * @default 'primary'\n */\n type?: TabsType;\n value?: T;\n defaultValue?: T;\n onValueChange?: (value: T) => void;\n};\n\ntype TabsListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;\n\ntype TabsTriggerProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & {\n /** 텍스트 왼쪽에 표시할 아이콘 요소 */\n leftIcon?: React.ReactElement<{ className?: string }>;\n /** 텍스트 오른쪽에 표시할 아이콘 요소 */\n rightIcon?: React.ReactElement<{ className?: string }>;\n /** 탭 라벨 옆에 표시할 배지 텍스트 */\n badge?: string | number;\n};\n\ntype TabsContentProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;\n\ntype TabsComponent = {\n <T extends string = string>(\n props: TabsRootProps<T> & React.RefAttributes<React.ElementRef<typeof TabsPrimitive.Root>>,\n ): React.ReactElement | null;\n displayName?: string;\n List: React.ForwardRefExoticComponent<TabsListProps>;\n Trigger: React.ForwardRefExoticComponent<TabsTriggerProps>;\n Content: React.ForwardRefExoticComponent<TabsContentProps>;\n};\n\nconst TabsContext = createContext<TabsContextType>({ type: 'primary' });\n\nconst useTabsContext = () => {\n const context = useContext(TabsContext);\n if (!context) {\n throw new Error('useTabsContext must be used within a TabsProvider');\n }\n return context;\n};\n\n// TabsList variants\nconst tabsListVariants = cva('inline-flex items-center', {\n variants: {\n type: {\n primary: 'h-9 gap-5 border-b border-border-primary',\n secondary: 'h-8 gap-1',\n },\n },\n defaultVariants: {\n type: 'primary',\n },\n});\n\n// TabsTrigger variants\nconst tabsTriggerVariants = cva(\n 'group inline-flex items-center justify-center gap-1.5 whitespace-nowrap font-pretendard font-semibold text-body-2 leading-[140%] transition-all disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n type: {\n primary: [\n 'h-9 border-b-2 border-transparent p-0 text-text-tertiary',\n 'hover:text-text-primary',\n 'data-[state=active]:border-border-focused data-[state=active]:text-text-primary',\n ],\n secondary: [\n 'h-8 rounded-strong px-2 text-text-tertiary',\n 'hover:text-text-primary',\n 'data-[state=active]:rounded-medium data-[state=active]:bg-elevation-elevation-2 data-[state=active]:text-text-primary',\n ],\n },\n },\n defaultVariants: {\n type: 'primary',\n },\n },\n);\n\n/**\n * 탭 형태의 콘텐츠 전환 컴포넌트입니다.\n * Compound Component 패턴으로 `Tabs.List`, `Tabs.Trigger`, `Tabs.Content`와 함께 사용합니다.\n *\n * @example\n * ```tsx\n * <Tabs defaultValue=\"tab1\" type=\"primary\">\n * <Tabs.List>\n * <Tabs.Trigger value=\"tab1\">첫 번째</Tabs.Trigger>\n * <Tabs.Trigger value=\"tab2\">두 번째</Tabs.Trigger>\n * </Tabs.List>\n * <Tabs.Content value=\"tab1\">첫 번째 내용</Tabs.Content>\n * <Tabs.Content value=\"tab2\">두 번째 내용</Tabs.Content>\n * </Tabs>\n * ```\n *\n * @see {@link TabsRootProps} 루트 props 상세\n * @see {@link TabsTriggerProps} 트리거 props 상세\n */\nconst Tabs = forwardRef<React.ElementRef<typeof TabsPrimitive.Root>, TabsRootProps>(\n ({ type = 'primary', children, ...props }, ref) => (\n <TabsContext.Provider value={{ type }}>\n <TabsPrimitive.Root ref={ref} {...props}>\n {children}\n </TabsPrimitive.Root>\n </TabsContext.Provider>\n ),\n) as unknown as TabsComponent;\n\nTabs.List = forwardRef<React.ElementRef<typeof TabsPrimitive.List>, TabsListProps>(\n ({ className, ...props }, ref) => {\n const { type } = useTabsContext();\n return (\n <TabsPrimitive.List\n ref={ref}\n className={cn(tabsListVariants({ type }), className)}\n {...props}\n />\n );\n },\n) as TabsComponent['List'];\n\nTabs.Trigger = forwardRef<React.ElementRef<typeof TabsPrimitive.Trigger>, TabsTriggerProps>(\n ({ className, leftIcon, rightIcon, badge, children, ...props }, ref) => {\n const { type } = useTabsContext();\n return (\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(tabsTriggerVariants({ type }), className)}\n {...props}\n >\n {leftIcon && <span className=\"size-4\">{leftIcon}</span>}\n <span className=\"flex items-center gap-1\">\n {children}\n {badge && (\n <span className=\"text-text-tertiary group-data-[state=active]:text-text-accent\">\n {badge}\n </span>\n )}\n </span>\n {rightIcon && <span className=\"size-4\">{rightIcon}</span>}\n </TabsPrimitive.Trigger>\n );\n },\n) as TabsComponent['Trigger'];\n\nTabs.Content = forwardRef<React.ElementRef<typeof TabsPrimitive.Content>, TabsContentProps>(\n ({ className, ...props }, ref) => (\n <TabsPrimitive.Content ref={ref} className={cn(className)} {...props} />\n ),\n) as TabsComponent['Content'];\n\nTabs.displayName = 'Tabs';\nTabs.List.displayName = 'Tabs.List';\nTabs.Trigger.displayName = 'Tabs.Trigger';\nTabs.Content.displayName = 'Tabs.Content';\n\nexport { Tabs };\nexport type { TabsComponent, TabsRootProps, TabsListProps, TabsTriggerProps, TabsContentProps };\n","import { Tabs, type TabsRootProps, type TabsTriggerProps } from '../tabs/Tabs';\n\ntype FlatTabItem<V extends string = string> = Pick<\n TabsTriggerProps,\n 'children' | 'disabled' | 'leftIcon' | 'rightIcon' | 'badge' | 'className'\n> & {\n value: V;\n};\n\ntype FlatTabsProps<Items extends readonly FlatTabItem[] = readonly FlatTabItem[]> = Omit<\n TabsRootProps,\n 'children' | 'asChild' | 'value' | 'defaultValue' | 'onValueChange'\n> & {\n /** 탭 아이템 배열 */\n items: Items;\n value?: Items[number]['value'];\n defaultValue?: Items[number]['value'];\n onValueChange?: (value: Items[number]['value']) => void;\n};\n\n/**\n * Tabs 컴포넌트의 간소화된 Flat API입니다.\n * items 배열만 전달하면 Compound Component 없이 탭 목록을 구성합니다.\n * items 의 value 로부터 타입이 추론되어, value/onValueChange 의 오타가 컴파일 단계에서 잡힙니다.\n *\n * @example\n * ```tsx\n * <FlatTabs\n * defaultValue=\"tab1\"\n * type=\"primary\"\n * items={[\n * { value: 'tab1', children: '첫 번째' },\n * { value: 'tab2', children: '두 번째' },\n * ]}\n * />\n * ```\n *\n * @see {@link FlatTabsProps} props 상세\n */\nfunction FlatTabs<const Items extends readonly FlatTabItem[]>({\n items,\n className,\n ...props\n}: FlatTabsProps<Items>) {\n const rootProps = props as TabsRootProps<Items[number]['value']>;\n return (\n <Tabs {...rootProps}>\n <Tabs.List className={className}>\n {items.map(({ value, children, ...itemProps }) => (\n <Tabs.Trigger key={value} value={value} {...itemProps}>\n {children}\n </Tabs.Trigger>\n ))}\n </Tabs.List>\n </Tabs>\n );\n}\n\nFlatTabs.displayName = 'FlatTabs';\n\nexport { FlatTabs };\nexport type { FlatTabsProps, FlatTabItem };\n","import { cn, cva, type VariantProps } from '@exem-ui/core/utils';\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\nimport type React from 'react';\nimport { forwardRef } from 'react';\n\ntype TooltipRootProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>;\n\ntype TooltipProviderProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>;\n\ntype TooltipTriggerProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;\n\ntype TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> &\n VariantProps<typeof tooltipContentVariants> & {\n portalContainer?: HTMLElement | null;\n };\n\ntype TooltipTitleProps = React.HTMLAttributes<HTMLDivElement>;\n\ntype TooltipDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\ntype TooltipComponent = typeof TooltipPrimitive.Root & {\n Provider: typeof TooltipPrimitive.Provider;\n Trigger: typeof TooltipPrimitive.Trigger;\n Content: React.ForwardRefExoticComponent<\n TooltipContentProps & React.RefAttributes<React.ElementRef<typeof TooltipPrimitive.Content>>\n >;\n Title: React.ForwardRefExoticComponent<TooltipTitleProps & React.RefAttributes<HTMLDivElement>>;\n Description: React.ForwardRefExoticComponent<\n TooltipDescriptionProps & React.RefAttributes<HTMLDivElement>\n >;\n};\n\nconst tooltipContentVariants = cva(\n [\n // Base layout\n 'z-50 flex flex-col items-start overflow-hidden',\n 'rounded-medium',\n 'text-text-static-light',\n 'bg-component-tooltip border border-border-primary',\n 'shadow-medium',\n 'animate-in fade-in-0 zoom-in-95',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n 'data-[side=bottom]:slide-in-from-top-2',\n 'data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2',\n 'data-[side=top]:slide-in-from-bottom-2',\n ],\n {\n variants: {\n size: {\n tiny: 'px-2 py-1 text-body-3',\n small: 'w-[160px] gap-[8px] px-[12px] py-[10px]',\n medium: 'w-[240px] gap-[8px] px-[12px] py-[10px]',\n large: 'w-[320px] gap-[8px] px-[12px] py-[10px]',\n xlarge: 'w-[400px] gap-[8px] px-[12px] py-[10px]',\n },\n },\n defaultVariants: { size: 'small' },\n },\n);\n\nconst tooltipTitleVariants = cva([\n 'text-body-1 font-semibold text-text-static-light',\n 'group-data-[size=tiny]/tooltip-content:text-body-3',\n]);\n\nconst tooltipTextVariants = cva([\n 'text-body-2 font-regular text-text-static-light',\n 'group-data-[size=tiny]/tooltip-content:text-body-3',\n]);\n\nconst Tooltip = TooltipPrimitive.Root as TooltipComponent;\n\nTooltip.Provider = TooltipPrimitive.Provider;\n\nTooltip.Trigger = TooltipPrimitive.Trigger;\n\nTooltip.Content = forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n TooltipContentProps\n>(({ className, sideOffset = 4, size, children, portalContainer, ...props }, ref) => (\n <TooltipPrimitive.Portal container={portalContainer}>\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n data-size={size}\n className={cn('group/tooltip-content', tooltipContentVariants({ size }), className)}\n {...props}\n >\n {children}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n)) as TooltipComponent['Content'];\n\nTooltip.Title = forwardRef<HTMLDivElement, TooltipTitleProps>(\n ({ className, children, ...props }, ref) => (\n <div ref={ref} className={cn(tooltipTitleVariants(), className)} {...props}>\n {children}\n </div>\n ),\n) as TooltipComponent['Title'];\n\nTooltip.Description = forwardRef<HTMLDivElement, TooltipDescriptionProps>(\n ({ className, children, ...props }, ref) => (\n <div ref={ref} className={cn(tooltipTextVariants(), className)} {...props}>\n {children}\n </div>\n ),\n) as TooltipComponent['Description'];\n\nTooltip.displayName = 'Tooltip';\nTooltip.Content.displayName = 'Tooltip.Content';\nTooltip.Title.displayName = 'Tooltip.Title';\nTooltip.Description.displayName = 'Tooltip.Description';\nTooltip.Trigger.displayName = 'Tooltip.Trigger';\nTooltip.Provider.displayName = 'Tooltip.Provider';\n\nexport { Tooltip };\nexport type {\n TooltipComponent,\n TooltipContentProps,\n TooltipDescriptionProps,\n TooltipProviderProps,\n TooltipRootProps,\n TooltipTitleProps,\n TooltipTriggerProps,\n};\n","import type { ComponentProps } from 'react';\nimport { Tooltip } from '../tooltip/Tooltip';\n\ninterface FlatTooltipProps {\n /** 툴팁을 적용할 자식 요소 */\n children: React.ReactNode;\n /** 툴팁 제목 (선택) */\n title?: React.ReactNode;\n /** 툴팁 크기 */\n size: ComponentProps<typeof Tooltip.Content>['size'];\n /** 툴팁 표시 위치 */\n side?: ComponentProps<typeof Tooltip.Content>['side'];\n /** 툴팁 정렬 */\n align?: ComponentProps<typeof Tooltip.Content>['align'];\n /** 사이드 방향 오프셋 (px) */\n sideOffset?: ComponentProps<typeof Tooltip.Content>['sideOffset'];\n /** 정렬 방향 오프셋 (px) */\n alignOffset?: ComponentProps<typeof Tooltip.Content>['alignOffset'];\n /** 툴팁 설명 텍스트 */\n description: React.ReactNode;\n}\n\n/**\n * Tooltip 컴포넌트의 간소화된 Flat API입니다.\n * Compound Component 없이 props만으로 간편하게 사용할 수 있습니다.\n *\n * @example\n * ```tsx\n * <FlatTooltip size=\"small\" description=\"도움말 텍스트\">\n * <button>호버하세요</button>\n * </FlatTooltip>\n *\n * <FlatTooltip size=\"tiny\" title=\"제목\" description=\"설명\">\n * <span>정보</span>\n * </FlatTooltip>\n * ```\n *\n * @see {@link FlatTooltipProps} props 상세\n */\nconst FlatTooltip = ({ children, title, size, description, ...props }: FlatTooltipProps) => {\n return (\n <Tooltip.Provider delayDuration={0} skipDelayDuration={0}>\n <Tooltip>\n <Tooltip.Trigger asChild>{children}</Tooltip.Trigger>\n <Tooltip.Content size={size} {...props}>\n {title && <Tooltip.Title>{title}</Tooltip.Title>}\n {description && <Tooltip.Description>{description}</Tooltip.Description>}\n </Tooltip.Content>\n </Tooltip>\n </Tooltip.Provider>\n );\n};\n\n/** FlatTooltip 설정 객체 타입 (children 제외) */\ntype TooltipConfig = Omit<ComponentProps<typeof FlatTooltip>, 'children' | 'size'> & {\n /**\n * 툴팁 사용 여부\n * @default true\n */\n use?: boolean;\n size?: ComponentProps<typeof FlatTooltip>['size'];\n};\n\ninterface ConditionalTooltipProps {\n /** 툴팁으로 감쌀 자식 요소 */\n children: React.ReactNode;\n /**\n * 툴팁 설정값\n * - `string`: 기본 tiny 사이즈의 툴팁 description으로 사용\n * - `object`: FlatTooltip props를 직접 전달 (`use: false`로 비활성화 가능)\n */\n tooltip: ComponentProps<typeof FlatTooltip>['description'] | TooltipConfig;\n}\n\n/**\n * 조건부로 FlatTooltip을 적용하는 래퍼 컴포넌트입니다.\n *\n * @description\n * tooltip prop의 타입에 따라 다르게 동작합니다:\n * - `string`: tiny 사이즈의 기본 툴팁으로 렌더링\n * - `object` (`use !== false`): 전달된 props로 FlatTooltip 렌더링\n * - `object` (`use === false`) 또는 기타: children만 반환 (툴팁 없음)\n *\n * @example\n * ```tsx\n * <ConditionalTooltip tooltip=\"도움말 텍스트\">\n * <button>버튼</button>\n * </ConditionalTooltip>\n *\n * <ConditionalTooltip tooltip={{ description: \"설명\", size: \"small\", side: \"top\" }}>\n * <button>버튼</button>\n * </ConditionalTooltip>\n *\n * <ConditionalTooltip tooltip={{ use: false, description: \"\" }}>\n * <button>툴팁 없음</button>\n * </ConditionalTooltip>\n * ```\n *\n * @see {@link ConditionalTooltipProps} props 상세\n */\nfunction ConditionalTooltip({ children, tooltip }: ConditionalTooltipProps) {\n if (typeof tooltip === 'string') {\n return (\n <FlatTooltip size=\"tiny\" description={tooltip}>\n {children}\n </FlatTooltip>\n );\n }\n\n if (tooltip && typeof tooltip === 'object' && 'description' in tooltip && tooltip.use !== false) {\n return (\n <FlatTooltip size={tooltip.size || 'tiny'} {...tooltip}>\n {children}\n </FlatTooltip>\n );\n }\n\n return children;\n}\n\nFlatTooltip.displayName = 'FlatTooltip';\nConditionalTooltip.displayName = 'ConditionalTooltip';\n\nexport { FlatTooltip, ConditionalTooltip };\nexport type { FlatTooltipProps, ConditionalTooltipProps, TooltipConfig };\n"]}
@@ -1,26 +1,32 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default, { ComponentProps } from 'react';
3
- import { l as Segment, q as SegmentRootProps, a as Select } from '../FlatTooltip-B9-sfCOv.mjs';
4
- export { C as ConditionalTooltip, y as ConditionalTooltipProps, A as FlatTooltip, F as FlatTooltipProps, z as TooltipConfig } from '../FlatTooltip-B9-sfCOv.mjs';
2
+ import { t as SegmentItemProps, v as SegmentRootProps, f as Select, e as TabsTriggerProps, d as TabsRootProps } from '../FlatTooltip-D30-nvFN.mjs';
3
+ export { C as ConditionalTooltip, F as ConditionalTooltipProps, J as FlatTooltip, G as FlatTooltipProps, H as TooltipConfig } from '../FlatTooltip-D30-nvFN.mjs';
4
+ import { ComponentProps } from 'react';
5
5
  import '@radix-ui/react-tabs';
6
6
  import '@radix-ui/react-select';
7
7
  import 'class-variance-authority/types';
8
8
  import '@exem-ui/core/utils';
9
9
  import '@radix-ui/react-tooltip';
10
10
 
11
- type FlatSegmentItem = Pick<React__default.ComponentPropsWithoutRef<typeof Segment.Item>, 'value' | 'children' | 'disabled' | 'leftIcon' | 'className'>;
12
- interface FlatSegmentProps extends Omit<SegmentRootProps, 'children' | 'asChild'> {
11
+ type FlatSegmentItem<V extends string = string> = Pick<SegmentItemProps, 'children' | 'disabled' | 'leftIcon' | 'className'> & {
12
+ value: V;
13
+ };
14
+ type FlatSegmentProps<Items extends readonly FlatSegmentItem[] = readonly FlatSegmentItem[]> = Omit<SegmentRootProps, 'children' | 'asChild' | 'value' | 'defaultValue' | 'onValueChange'> & {
13
15
  /** 세그먼트 아이템 배열 */
14
- items: FlatSegmentItem[];
16
+ items: Items;
17
+ value?: Items[number]['value'];
18
+ defaultValue?: Items[number]['value'];
19
+ onValueChange?: (value: Items[number]['value']) => void;
15
20
  /**
16
21
  * 전체 비활성화 여부 (개별 아이템의 disabled와 OR 결합)
17
22
  * @default false
18
23
  */
19
24
  disabled?: boolean;
20
- }
25
+ };
21
26
  /**
22
27
  * Segment 컴포넌트의 간소화된 Flat API입니다.
23
28
  * items 배열만 전달하면 Compound Component 없이 간편하게 사용할 수 있습니다.
29
+ * items 의 value 로부터 타입이 추론되어, value/onValueChange 의 오타가 컴파일 단계에서 잡힙니다.
24
30
  *
25
31
  * @example
26
32
  * ```tsx
@@ -36,10 +42,10 @@ interface FlatSegmentProps extends Omit<SegmentRootProps, 'children' | 'asChild'
36
42
  *
37
43
  * @see {@link FlatSegmentProps} props 상세
38
44
  */
39
- declare const FlatSegment: {
40
- ({ items, disabled, className, ...props }: FlatSegmentProps): react_jsx_runtime.JSX.Element;
41
- displayName: string;
42
- };
45
+ declare function FlatSegment<const Items extends readonly FlatSegmentItem[]>({ items, disabled, className, ...props }: FlatSegmentProps<Items>): react_jsx_runtime.JSX.Element;
46
+ declare namespace FlatSegment {
47
+ var displayName: string;
48
+ }
43
49
 
44
50
  type FlatSelectOption = {
45
51
  value: string;
@@ -93,4 +99,38 @@ declare namespace FlatSelect {
93
99
  var displayName: string;
94
100
  }
95
101
 
96
- export { FlatSegment, type FlatSegmentItem, type FlatSegmentProps, FlatSelect, type FlatSelectOption, type FlatSelectProps };
102
+ type FlatTabItem<V extends string = string> = Pick<TabsTriggerProps, 'children' | 'disabled' | 'leftIcon' | 'rightIcon' | 'badge' | 'className'> & {
103
+ value: V;
104
+ };
105
+ type FlatTabsProps<Items extends readonly FlatTabItem[] = readonly FlatTabItem[]> = Omit<TabsRootProps, 'children' | 'asChild' | 'value' | 'defaultValue' | 'onValueChange'> & {
106
+ /** 탭 아이템 배열 */
107
+ items: Items;
108
+ value?: Items[number]['value'];
109
+ defaultValue?: Items[number]['value'];
110
+ onValueChange?: (value: Items[number]['value']) => void;
111
+ };
112
+ /**
113
+ * Tabs 컴포넌트의 간소화된 Flat API입니다.
114
+ * items 배열만 전달하면 Compound Component 없이 탭 목록을 구성합니다.
115
+ * items 의 value 로부터 타입이 추론되어, value/onValueChange 의 오타가 컴파일 단계에서 잡힙니다.
116
+ *
117
+ * @example
118
+ * ```tsx
119
+ * <FlatTabs
120
+ * defaultValue="tab1"
121
+ * type="primary"
122
+ * items={[
123
+ * { value: 'tab1', children: '첫 번째' },
124
+ * { value: 'tab2', children: '두 번째' },
125
+ * ]}
126
+ * />
127
+ * ```
128
+ *
129
+ * @see {@link FlatTabsProps} props 상세
130
+ */
131
+ declare function FlatTabs<const Items extends readonly FlatTabItem[]>({ items, className, ...props }: FlatTabsProps<Items>): react_jsx_runtime.JSX.Element;
132
+ declare namespace FlatTabs {
133
+ var displayName: string;
134
+ }
135
+
136
+ export { FlatSegment, type FlatSegmentItem, type FlatSegmentProps, FlatSelect, type FlatSelectOption, type FlatSelectProps, type FlatTabItem, FlatTabs, type FlatTabsProps };
@@ -1,26 +1,32 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default, { ComponentProps } from 'react';
3
- import { l as Segment, q as SegmentRootProps, a as Select } from '../FlatTooltip-B9-sfCOv.js';
4
- export { C as ConditionalTooltip, y as ConditionalTooltipProps, A as FlatTooltip, F as FlatTooltipProps, z as TooltipConfig } from '../FlatTooltip-B9-sfCOv.js';
2
+ import { t as SegmentItemProps, v as SegmentRootProps, f as Select, e as TabsTriggerProps, d as TabsRootProps } from '../FlatTooltip-D30-nvFN.js';
3
+ export { C as ConditionalTooltip, F as ConditionalTooltipProps, J as FlatTooltip, G as FlatTooltipProps, H as TooltipConfig } from '../FlatTooltip-D30-nvFN.js';
4
+ import { ComponentProps } from 'react';
5
5
  import '@radix-ui/react-tabs';
6
6
  import '@radix-ui/react-select';
7
7
  import 'class-variance-authority/types';
8
8
  import '@exem-ui/core/utils';
9
9
  import '@radix-ui/react-tooltip';
10
10
 
11
- type FlatSegmentItem = Pick<React__default.ComponentPropsWithoutRef<typeof Segment.Item>, 'value' | 'children' | 'disabled' | 'leftIcon' | 'className'>;
12
- interface FlatSegmentProps extends Omit<SegmentRootProps, 'children' | 'asChild'> {
11
+ type FlatSegmentItem<V extends string = string> = Pick<SegmentItemProps, 'children' | 'disabled' | 'leftIcon' | 'className'> & {
12
+ value: V;
13
+ };
14
+ type FlatSegmentProps<Items extends readonly FlatSegmentItem[] = readonly FlatSegmentItem[]> = Omit<SegmentRootProps, 'children' | 'asChild' | 'value' | 'defaultValue' | 'onValueChange'> & {
13
15
  /** 세그먼트 아이템 배열 */
14
- items: FlatSegmentItem[];
16
+ items: Items;
17
+ value?: Items[number]['value'];
18
+ defaultValue?: Items[number]['value'];
19
+ onValueChange?: (value: Items[number]['value']) => void;
15
20
  /**
16
21
  * 전체 비활성화 여부 (개별 아이템의 disabled와 OR 결합)
17
22
  * @default false
18
23
  */
19
24
  disabled?: boolean;
20
- }
25
+ };
21
26
  /**
22
27
  * Segment 컴포넌트의 간소화된 Flat API입니다.
23
28
  * items 배열만 전달하면 Compound Component 없이 간편하게 사용할 수 있습니다.
29
+ * items 의 value 로부터 타입이 추론되어, value/onValueChange 의 오타가 컴파일 단계에서 잡힙니다.
24
30
  *
25
31
  * @example
26
32
  * ```tsx
@@ -36,10 +42,10 @@ interface FlatSegmentProps extends Omit<SegmentRootProps, 'children' | 'asChild'
36
42
  *
37
43
  * @see {@link FlatSegmentProps} props 상세
38
44
  */
39
- declare const FlatSegment: {
40
- ({ items, disabled, className, ...props }: FlatSegmentProps): react_jsx_runtime.JSX.Element;
41
- displayName: string;
42
- };
45
+ declare function FlatSegment<const Items extends readonly FlatSegmentItem[]>({ items, disabled, className, ...props }: FlatSegmentProps<Items>): react_jsx_runtime.JSX.Element;
46
+ declare namespace FlatSegment {
47
+ var displayName: string;
48
+ }
43
49
 
44
50
  type FlatSelectOption = {
45
51
  value: string;
@@ -93,4 +99,38 @@ declare namespace FlatSelect {
93
99
  var displayName: string;
94
100
  }
95
101
 
96
- export { FlatSegment, type FlatSegmentItem, type FlatSegmentProps, FlatSelect, type FlatSelectOption, type FlatSelectProps };
102
+ type FlatTabItem<V extends string = string> = Pick<TabsTriggerProps, 'children' | 'disabled' | 'leftIcon' | 'rightIcon' | 'badge' | 'className'> & {
103
+ value: V;
104
+ };
105
+ type FlatTabsProps<Items extends readonly FlatTabItem[] = readonly FlatTabItem[]> = Omit<TabsRootProps, 'children' | 'asChild' | 'value' | 'defaultValue' | 'onValueChange'> & {
106
+ /** 탭 아이템 배열 */
107
+ items: Items;
108
+ value?: Items[number]['value'];
109
+ defaultValue?: Items[number]['value'];
110
+ onValueChange?: (value: Items[number]['value']) => void;
111
+ };
112
+ /**
113
+ * Tabs 컴포넌트의 간소화된 Flat API입니다.
114
+ * items 배열만 전달하면 Compound Component 없이 탭 목록을 구성합니다.
115
+ * items 의 value 로부터 타입이 추론되어, value/onValueChange 의 오타가 컴파일 단계에서 잡힙니다.
116
+ *
117
+ * @example
118
+ * ```tsx
119
+ * <FlatTabs
120
+ * defaultValue="tab1"
121
+ * type="primary"
122
+ * items={[
123
+ * { value: 'tab1', children: '첫 번째' },
124
+ * { value: 'tab2', children: '두 번째' },
125
+ * ]}
126
+ * />
127
+ * ```
128
+ *
129
+ * @see {@link FlatTabsProps} props 상세
130
+ */
131
+ declare function FlatTabs<const Items extends readonly FlatTabItem[]>({ items, className, ...props }: FlatTabsProps<Items>): react_jsx_runtime.JSX.Element;
132
+ declare namespace FlatTabs {
133
+ var displayName: string;
134
+ }
135
+
136
+ export { FlatSegment, type FlatSegmentItem, type FlatSegmentProps, FlatSelect, type FlatSelectOption, type FlatSelectProps, type FlatTabItem, FlatTabs, type FlatTabsProps };
@@ -1,25 +1,29 @@
1
1
  'use strict';
2
2
 
3
- var chunk3OTGQNHL_js = require('../chunk-3OTGQNHL.js');
3
+ var chunkKCOTDUDN_js = require('../chunk-KCOTDUDN.js');
4
4
  require('../chunk-TAZFRRWT.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ConditionalTooltip", {
9
9
  enumerable: true,
10
- get: function () { return chunk3OTGQNHL_js.ConditionalTooltip; }
10
+ get: function () { return chunkKCOTDUDN_js.ConditionalTooltip; }
11
11
  });
12
12
  Object.defineProperty(exports, "FlatSegment", {
13
13
  enumerable: true,
14
- get: function () { return chunk3OTGQNHL_js.FlatSegment; }
14
+ get: function () { return chunkKCOTDUDN_js.FlatSegment; }
15
15
  });
16
16
  Object.defineProperty(exports, "FlatSelect", {
17
17
  enumerable: true,
18
- get: function () { return chunk3OTGQNHL_js.FlatSelect; }
18
+ get: function () { return chunkKCOTDUDN_js.FlatSelect; }
19
+ });
20
+ Object.defineProperty(exports, "FlatTabs", {
21
+ enumerable: true,
22
+ get: function () { return chunkKCOTDUDN_js.FlatTabs; }
19
23
  });
20
24
  Object.defineProperty(exports, "FlatTooltip", {
21
25
  enumerable: true,
22
- get: function () { return chunk3OTGQNHL_js.FlatTooltip; }
26
+ get: function () { return chunkKCOTDUDN_js.FlatTooltip; }
23
27
  });
24
28
  //# sourceMappingURL=index.js.map
25
29
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { ConditionalTooltip, FlatSegment, FlatSelect, FlatTooltip } from '../chunk-JXUDLY4B.mjs';
1
+ export { ConditionalTooltip, FlatSegment, FlatSelect, FlatTabs, FlatTooltip } from '../chunk-CJHMZRUO.mjs';
2
2
  import '../chunk-HV6LIYRO.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map
package/dist/index.d.mts CHANGED
@@ -2,10 +2,9 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import { VariantProps } from '@exem-ui/core/utils';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ComponentProps } from 'react';
5
- import * as TabsPrimitive from '@radix-ui/react-tabs';
5
+ import { C as ConditionalTooltip, V as Variant, S as Size$1, I as Icon } from './FlatTooltip-D30-nvFN.mjs';
6
+ export { q as Segment, r as SegmentComponent, s as SegmentContentProps, t as SegmentItemProps, u as SegmentListProps, v as SegmentRootProps, f as Select, g as SelectBoxProps, h as SelectComponent, i as SelectDescriptionProps, j as SelectEmptyProps, k as SelectGroupProps, l as SelectItemProps, m as SelectLabelProps, n as SelectListProps, o as SelectRootProps, p as SelectTriggerProps, T as Tabs, a as TabsComponent, b as TabsContentProps, c as TabsListProps, d as TabsRootProps, e as TabsTriggerProps, w as Tooltip, x as TooltipComponent, y as TooltipContentProps, z as TooltipDescriptionProps, A as TooltipProviderProps, B as TooltipRootProps, D as TooltipTitleProps, E as TooltipTriggerProps } from './FlatTooltip-D30-nvFN.mjs';
6
7
  import { I as IconBaseProps } from './types-xnO0gkCW.mjs';
7
- import { C as ConditionalTooltip, V as Variant, S as Size$1, I as Icon } from './FlatTooltip-B9-sfCOv.mjs';
8
- export { l as Segment, m as SegmentComponent, n as SegmentContentProps, o as SegmentItemProps, p as SegmentListProps, q as SegmentRootProps, a as Select, b as SelectBoxProps, c as SelectComponent, d as SelectDescriptionProps, e as SelectEmptyProps, f as SelectGroupProps, g as SelectItemProps, h as SelectLabelProps, i as SelectListProps, j as SelectRootProps, k as SelectTriggerProps, T as Tooltip, r as TooltipComponent, s as TooltipContentProps, t as TooltipDescriptionProps, u as TooltipProviderProps, v as TooltipRootProps, w as TooltipTitleProps, x as TooltipTriggerProps } from './FlatTooltip-B9-sfCOv.mjs';
9
8
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
10
9
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
11
10
  import * as SwitchPrimitives from '@radix-ui/react-switch';
@@ -15,6 +14,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
15
14
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
16
15
  import * as DialogPrimitive from '@radix-ui/react-dialog';
17
16
  import { Toaster as Toaster$1, ExternalToast, toast as toast$1 } from 'sonner';
17
+ import '@radix-ui/react-tabs';
18
18
  import '@radix-ui/react-select';
19
19
  import '@radix-ui/react-tooltip';
20
20
 
@@ -212,54 +212,6 @@ type BreadcrumbComponent = React__default.ForwardRefExoticComponent<React__defau
212
212
  */
213
213
  declare const Breadcrumb: BreadcrumbComponent;
214
214
 
215
- type TabsType = 'primary' | 'secondary';
216
- type TabsRootProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
217
- /**
218
- * 탭 스타일 유형
219
- * @default 'primary'
220
- */
221
- type?: TabsType;
222
- };
223
- type TabsListProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;
224
- type TabsTriggerProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & {
225
- /** 텍스트 왼쪽에 표시할 아이콘 요소 */
226
- leftIcon?: React__default.ReactElement<{
227
- className?: string;
228
- }>;
229
- /** 텍스트 오른쪽에 표시할 아이콘 요소 */
230
- rightIcon?: React__default.ReactElement<{
231
- className?: string;
232
- }>;
233
- /** 탭 라벨 옆에 표시할 배지 텍스트 */
234
- badge?: string | number;
235
- };
236
- type TabsContentProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;
237
- type TabsComponent = React__default.ForwardRefExoticComponent<TabsRootProps & React__default.RefAttributes<React__default.ElementRef<typeof TabsPrimitive.Root>>> & {
238
- List: React__default.ForwardRefExoticComponent<TabsListProps>;
239
- Trigger: React__default.ForwardRefExoticComponent<TabsTriggerProps>;
240
- Content: React__default.ForwardRefExoticComponent<TabsContentProps>;
241
- };
242
- /**
243
- * 탭 형태의 콘텐츠 전환 컴포넌트입니다.
244
- * Compound Component 패턴으로 `Tabs.List`, `Tabs.Trigger`, `Tabs.Content`와 함께 사용합니다.
245
- *
246
- * @example
247
- * ```tsx
248
- * <Tabs defaultValue="tab1" type="primary">
249
- * <Tabs.List>
250
- * <Tabs.Trigger value="tab1">첫 번째</Tabs.Trigger>
251
- * <Tabs.Trigger value="tab2">두 번째</Tabs.Trigger>
252
- * </Tabs.List>
253
- * <Tabs.Content value="tab1">첫 번째 내용</Tabs.Content>
254
- * <Tabs.Content value="tab2">두 번째 내용</Tabs.Content>
255
- * </Tabs>
256
- * ```
257
- *
258
- * @see {@link TabsRootProps} 루트 props 상세
259
- * @see {@link TabsTriggerProps} 트리거 props 상세
260
- */
261
- declare const Tabs: TabsComponent;
262
-
263
215
  type ButtonColorVariantCombination = {
264
216
  color?: 'primary';
265
217
  variant?: 'contained' | 'outlined' | 'invisible';
@@ -979,4 +931,4 @@ declare const buttonize: (fn: (e: React__default.MouseEvent<HTMLElement> | React
979
931
  onKeyDown: (event: React__default.KeyboardEvent<HTMLDivElement>) => void;
980
932
  };
981
933
 
982
- export { Avatar, type AvatarComponent, type AvatarProps, Badge, type BadgeComponent, type BadgeProps, Breadcrumb, type BreadcrumbComponent, type BreadcrumbEllipsisProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbListProps, type BreadcrumbPageProps, type BreadcrumbPathProps, type BreadcrumbRootProps, type BreadcrumbSeparatorProps, Button, type ButtonComponent, ButtonGroup, type ButtonGroupComponent, type ButtonGroupItem, type ButtonGroupProps, type ButtonProps, Checkbox, type CheckboxComponent, type CheckboxProps, DatePicker, type DatePickerProps, DoubleTag, type DoubleTagProps, Dropdown, type DropdownComponent, type DropdownContentProps, type DropdownGroupProps, type DropdownItemProps, type DropdownLabelProps, type DropdownRootProps, type DropdownSeparatorProps, type DropdownTriggerProps, type ExtendedExternalToast, IconButton, type IconButtonComponent, type IconButtonProps, Loading, type LoadingComponent, type LoadingProps, MessageBox, type MessageBoxActionProps, type MessageBoxActionsProps, type MessageBoxCancelProps, type MessageBoxComponent, type MessageBoxContentProps, type MessageBoxDescriptionProps, type MessageBoxRootProps, type MessageBoxTitleProps, type MessageBoxTriggerProps, type MessageBoxVariant, Modal, type ModalActionProps, type ModalActionsProps, type ModalBodyProps, type ModalCloseProps, type ModalComponent, type ModalContentProps, type ModalDescriptionProps, type ModalFooterDescriptionProps, type ModalFooterProps, type ModalHeaderProps, type ModalOverlayProps, type ModalPortalProps, type ModalRootProps, type ModalTitleProps, type ModalTriggerProps, Progress, type ProgressComponent, type ProgressProps, Radio, type RadioComponent, type RadioItemProps, type RadioRootProps, ScrollArea, type ScrollAreaProps, ScrollBar, type Options as SonnerToastOptions, Star, type StarComponent, type StarProps, Switch, type SwitchComponent, type SwitchProps, Tabs, type TabsComponent, type TabsContentProps, type TabsListProps, type TabsRootProps, type TabsTriggerProps, Tag, type TagColor, type TagComponent, type TagProps, TextArea, type TextAreaComponent, type TextAreaDescriptionProps, type TextAreaFieldProps, type TextAreaLabelProps, type TextAreaRootProps, TextField, type TextFieldComponent, type TextFieldDescriptionProps, type TextFieldInputProps, type TextFieldLabelProps, type TextFieldRootProps, type ToastAction, type ToastInput, type ToastOptions, ToastProvider, type ToastProviderProps, Toaster, type ToasterActionProps, type ToasterComponent, type ToasterContainerProps, type ToasterDescriptionProps, type ToasterIconProps, type ToasterRootProps, type ToasterTitleProps, buttonize, toast, useToast };
934
+ export { Avatar, type AvatarComponent, type AvatarProps, Badge, type BadgeComponent, type BadgeProps, Breadcrumb, type BreadcrumbComponent, type BreadcrumbEllipsisProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbListProps, type BreadcrumbPageProps, type BreadcrumbPathProps, type BreadcrumbRootProps, type BreadcrumbSeparatorProps, Button, type ButtonComponent, ButtonGroup, type ButtonGroupComponent, type ButtonGroupItem, type ButtonGroupProps, type ButtonProps, Checkbox, type CheckboxComponent, type CheckboxProps, DatePicker, type DatePickerProps, DoubleTag, type DoubleTagProps, Dropdown, type DropdownComponent, type DropdownContentProps, type DropdownGroupProps, type DropdownItemProps, type DropdownLabelProps, type DropdownRootProps, type DropdownSeparatorProps, type DropdownTriggerProps, type ExtendedExternalToast, IconButton, type IconButtonComponent, type IconButtonProps, Loading, type LoadingComponent, type LoadingProps, MessageBox, type MessageBoxActionProps, type MessageBoxActionsProps, type MessageBoxCancelProps, type MessageBoxComponent, type MessageBoxContentProps, type MessageBoxDescriptionProps, type MessageBoxRootProps, type MessageBoxTitleProps, type MessageBoxTriggerProps, type MessageBoxVariant, Modal, type ModalActionProps, type ModalActionsProps, type ModalBodyProps, type ModalCloseProps, type ModalComponent, type ModalContentProps, type ModalDescriptionProps, type ModalFooterDescriptionProps, type ModalFooterProps, type ModalHeaderProps, type ModalOverlayProps, type ModalPortalProps, type ModalRootProps, type ModalTitleProps, type ModalTriggerProps, Progress, type ProgressComponent, type ProgressProps, Radio, type RadioComponent, type RadioItemProps, type RadioRootProps, ScrollArea, type ScrollAreaProps, ScrollBar, type Options as SonnerToastOptions, Star, type StarComponent, type StarProps, Switch, type SwitchComponent, type SwitchProps, Tag, type TagColor, type TagComponent, type TagProps, TextArea, type TextAreaComponent, type TextAreaDescriptionProps, type TextAreaFieldProps, type TextAreaLabelProps, type TextAreaRootProps, TextField, type TextFieldComponent, type TextFieldDescriptionProps, type TextFieldInputProps, type TextFieldLabelProps, type TextFieldRootProps, type ToastAction, type ToastInput, type ToastOptions, ToastProvider, type ToastProviderProps, Toaster, type ToasterActionProps, type ToasterComponent, type ToasterContainerProps, type ToasterDescriptionProps, type ToasterIconProps, type ToasterRootProps, type ToasterTitleProps, buttonize, toast, useToast };
package/dist/index.d.ts CHANGED
@@ -2,10 +2,9 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import { VariantProps } from '@exem-ui/core/utils';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ComponentProps } from 'react';
5
- import * as TabsPrimitive from '@radix-ui/react-tabs';
5
+ import { C as ConditionalTooltip, V as Variant, S as Size$1, I as Icon } from './FlatTooltip-D30-nvFN.js';
6
+ export { q as Segment, r as SegmentComponent, s as SegmentContentProps, t as SegmentItemProps, u as SegmentListProps, v as SegmentRootProps, f as Select, g as SelectBoxProps, h as SelectComponent, i as SelectDescriptionProps, j as SelectEmptyProps, k as SelectGroupProps, l as SelectItemProps, m as SelectLabelProps, n as SelectListProps, o as SelectRootProps, p as SelectTriggerProps, T as Tabs, a as TabsComponent, b as TabsContentProps, c as TabsListProps, d as TabsRootProps, e as TabsTriggerProps, w as Tooltip, x as TooltipComponent, y as TooltipContentProps, z as TooltipDescriptionProps, A as TooltipProviderProps, B as TooltipRootProps, D as TooltipTitleProps, E as TooltipTriggerProps } from './FlatTooltip-D30-nvFN.js';
6
7
  import { I as IconBaseProps } from './types-xnO0gkCW.js';
7
- import { C as ConditionalTooltip, V as Variant, S as Size$1, I as Icon } from './FlatTooltip-B9-sfCOv.js';
8
- export { l as Segment, m as SegmentComponent, n as SegmentContentProps, o as SegmentItemProps, p as SegmentListProps, q as SegmentRootProps, a as Select, b as SelectBoxProps, c as SelectComponent, d as SelectDescriptionProps, e as SelectEmptyProps, f as SelectGroupProps, g as SelectItemProps, h as SelectLabelProps, i as SelectListProps, j as SelectRootProps, k as SelectTriggerProps, T as Tooltip, r as TooltipComponent, s as TooltipContentProps, t as TooltipDescriptionProps, u as TooltipProviderProps, v as TooltipRootProps, w as TooltipTitleProps, x as TooltipTriggerProps } from './FlatTooltip-B9-sfCOv.js';
9
8
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
10
9
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
11
10
  import * as SwitchPrimitives from '@radix-ui/react-switch';
@@ -15,6 +14,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
15
14
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
16
15
  import * as DialogPrimitive from '@radix-ui/react-dialog';
17
16
  import { Toaster as Toaster$1, ExternalToast, toast as toast$1 } from 'sonner';
17
+ import '@radix-ui/react-tabs';
18
18
  import '@radix-ui/react-select';
19
19
  import '@radix-ui/react-tooltip';
20
20
 
@@ -212,54 +212,6 @@ type BreadcrumbComponent = React__default.ForwardRefExoticComponent<React__defau
212
212
  */
213
213
  declare const Breadcrumb: BreadcrumbComponent;
214
214
 
215
- type TabsType = 'primary' | 'secondary';
216
- type TabsRootProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
217
- /**
218
- * 탭 스타일 유형
219
- * @default 'primary'
220
- */
221
- type?: TabsType;
222
- };
223
- type TabsListProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;
224
- type TabsTriggerProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & {
225
- /** 텍스트 왼쪽에 표시할 아이콘 요소 */
226
- leftIcon?: React__default.ReactElement<{
227
- className?: string;
228
- }>;
229
- /** 텍스트 오른쪽에 표시할 아이콘 요소 */
230
- rightIcon?: React__default.ReactElement<{
231
- className?: string;
232
- }>;
233
- /** 탭 라벨 옆에 표시할 배지 텍스트 */
234
- badge?: string | number;
235
- };
236
- type TabsContentProps = React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;
237
- type TabsComponent = React__default.ForwardRefExoticComponent<TabsRootProps & React__default.RefAttributes<React__default.ElementRef<typeof TabsPrimitive.Root>>> & {
238
- List: React__default.ForwardRefExoticComponent<TabsListProps>;
239
- Trigger: React__default.ForwardRefExoticComponent<TabsTriggerProps>;
240
- Content: React__default.ForwardRefExoticComponent<TabsContentProps>;
241
- };
242
- /**
243
- * 탭 형태의 콘텐츠 전환 컴포넌트입니다.
244
- * Compound Component 패턴으로 `Tabs.List`, `Tabs.Trigger`, `Tabs.Content`와 함께 사용합니다.
245
- *
246
- * @example
247
- * ```tsx
248
- * <Tabs defaultValue="tab1" type="primary">
249
- * <Tabs.List>
250
- * <Tabs.Trigger value="tab1">첫 번째</Tabs.Trigger>
251
- * <Tabs.Trigger value="tab2">두 번째</Tabs.Trigger>
252
- * </Tabs.List>
253
- * <Tabs.Content value="tab1">첫 번째 내용</Tabs.Content>
254
- * <Tabs.Content value="tab2">두 번째 내용</Tabs.Content>
255
- * </Tabs>
256
- * ```
257
- *
258
- * @see {@link TabsRootProps} 루트 props 상세
259
- * @see {@link TabsTriggerProps} 트리거 props 상세
260
- */
261
- declare const Tabs: TabsComponent;
262
-
263
215
  type ButtonColorVariantCombination = {
264
216
  color?: 'primary';
265
217
  variant?: 'contained' | 'outlined' | 'invisible';
@@ -979,4 +931,4 @@ declare const buttonize: (fn: (e: React__default.MouseEvent<HTMLElement> | React
979
931
  onKeyDown: (event: React__default.KeyboardEvent<HTMLDivElement>) => void;
980
932
  };
981
933
 
982
- export { Avatar, type AvatarComponent, type AvatarProps, Badge, type BadgeComponent, type BadgeProps, Breadcrumb, type BreadcrumbComponent, type BreadcrumbEllipsisProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbListProps, type BreadcrumbPageProps, type BreadcrumbPathProps, type BreadcrumbRootProps, type BreadcrumbSeparatorProps, Button, type ButtonComponent, ButtonGroup, type ButtonGroupComponent, type ButtonGroupItem, type ButtonGroupProps, type ButtonProps, Checkbox, type CheckboxComponent, type CheckboxProps, DatePicker, type DatePickerProps, DoubleTag, type DoubleTagProps, Dropdown, type DropdownComponent, type DropdownContentProps, type DropdownGroupProps, type DropdownItemProps, type DropdownLabelProps, type DropdownRootProps, type DropdownSeparatorProps, type DropdownTriggerProps, type ExtendedExternalToast, IconButton, type IconButtonComponent, type IconButtonProps, Loading, type LoadingComponent, type LoadingProps, MessageBox, type MessageBoxActionProps, type MessageBoxActionsProps, type MessageBoxCancelProps, type MessageBoxComponent, type MessageBoxContentProps, type MessageBoxDescriptionProps, type MessageBoxRootProps, type MessageBoxTitleProps, type MessageBoxTriggerProps, type MessageBoxVariant, Modal, type ModalActionProps, type ModalActionsProps, type ModalBodyProps, type ModalCloseProps, type ModalComponent, type ModalContentProps, type ModalDescriptionProps, type ModalFooterDescriptionProps, type ModalFooterProps, type ModalHeaderProps, type ModalOverlayProps, type ModalPortalProps, type ModalRootProps, type ModalTitleProps, type ModalTriggerProps, Progress, type ProgressComponent, type ProgressProps, Radio, type RadioComponent, type RadioItemProps, type RadioRootProps, ScrollArea, type ScrollAreaProps, ScrollBar, type Options as SonnerToastOptions, Star, type StarComponent, type StarProps, Switch, type SwitchComponent, type SwitchProps, Tabs, type TabsComponent, type TabsContentProps, type TabsListProps, type TabsRootProps, type TabsTriggerProps, Tag, type TagColor, type TagComponent, type TagProps, TextArea, type TextAreaComponent, type TextAreaDescriptionProps, type TextAreaFieldProps, type TextAreaLabelProps, type TextAreaRootProps, TextField, type TextFieldComponent, type TextFieldDescriptionProps, type TextFieldInputProps, type TextFieldLabelProps, type TextFieldRootProps, type ToastAction, type ToastInput, type ToastOptions, ToastProvider, type ToastProviderProps, Toaster, type ToasterActionProps, type ToasterComponent, type ToasterContainerProps, type ToasterDescriptionProps, type ToasterIconProps, type ToasterRootProps, type ToasterTitleProps, buttonize, toast, useToast };
934
+ export { Avatar, type AvatarComponent, type AvatarProps, Badge, type BadgeComponent, type BadgeProps, Breadcrumb, type BreadcrumbComponent, type BreadcrumbEllipsisProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbListProps, type BreadcrumbPageProps, type BreadcrumbPathProps, type BreadcrumbRootProps, type BreadcrumbSeparatorProps, Button, type ButtonComponent, ButtonGroup, type ButtonGroupComponent, type ButtonGroupItem, type ButtonGroupProps, type ButtonProps, Checkbox, type CheckboxComponent, type CheckboxProps, DatePicker, type DatePickerProps, DoubleTag, type DoubleTagProps, Dropdown, type DropdownComponent, type DropdownContentProps, type DropdownGroupProps, type DropdownItemProps, type DropdownLabelProps, type DropdownRootProps, type DropdownSeparatorProps, type DropdownTriggerProps, type ExtendedExternalToast, IconButton, type IconButtonComponent, type IconButtonProps, Loading, type LoadingComponent, type LoadingProps, MessageBox, type MessageBoxActionProps, type MessageBoxActionsProps, type MessageBoxCancelProps, type MessageBoxComponent, type MessageBoxContentProps, type MessageBoxDescriptionProps, type MessageBoxRootProps, type MessageBoxTitleProps, type MessageBoxTriggerProps, type MessageBoxVariant, Modal, type ModalActionProps, type ModalActionsProps, type ModalBodyProps, type ModalCloseProps, type ModalComponent, type ModalContentProps, type ModalDescriptionProps, type ModalFooterDescriptionProps, type ModalFooterProps, type ModalHeaderProps, type ModalOverlayProps, type ModalPortalProps, type ModalRootProps, type ModalTitleProps, type ModalTriggerProps, Progress, type ProgressComponent, type ProgressProps, Radio, type RadioComponent, type RadioItemProps, type RadioRootProps, ScrollArea, type ScrollAreaProps, ScrollBar, type Options as SonnerToastOptions, Star, type StarComponent, type StarProps, Switch, type SwitchComponent, type SwitchProps, Tag, type TagColor, type TagComponent, type TagProps, TextArea, type TextAreaComponent, type TextAreaDescriptionProps, type TextAreaFieldProps, type TextAreaLabelProps, type TextAreaRootProps, TextField, type TextFieldComponent, type TextFieldDescriptionProps, type TextFieldInputProps, type TextFieldLabelProps, type TextFieldRootProps, type ToastAction, type ToastInput, type ToastOptions, ToastProvider, type ToastProviderProps, Toaster, type ToasterActionProps, type ToasterComponent, type ToasterContainerProps, type ToasterDescriptionProps, type ToasterIconProps, type ToasterRootProps, type ToasterTitleProps, buttonize, toast, useToast };