@exem-ui/react 0.3.4-next.20261014050302 → 0.3.4-next.20261014064943

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.
@@ -5,9 +5,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
6
6
  import { I as IconBaseProps } from './types-xnO0gkCW.js';
7
7
  import * as SelectPrimitive from '@radix-ui/react-select';
8
- import * as class_variance_authority_types from 'class-variance-authority/types';
8
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
9
9
  import { VariantProps } from '@exem-ui/core/utils';
10
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
10
+ import * as class_variance_authority_types from 'class-variance-authority/types';
11
11
 
12
12
  type TabsType = 'primary' | 'secondary';
13
13
  type TabsRootProps<T extends string = string> = Omit<React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'value' | 'defaultValue' | 'onValueChange'> & {
@@ -280,25 +280,87 @@ type SelectComponent = React$1.ForwardRefExoticComponent<SelectRootProps & React
280
280
  };
281
281
  declare const Select: SelectComponent;
282
282
 
283
- type TooltipRootProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>;
284
- type TooltipProviderProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>;
285
- type TooltipTriggerProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;
286
- type TooltipContentProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & VariantProps<typeof tooltipContentVariants> & {
287
- portalContainer?: HTMLElement | null;
283
+ /**
284
+ * Tooltip 스타일 변형.
285
+ *
286
+ * Base UI Tooltip은 radix의 `data-state` 대신 `data-starting-style` / `data-ending-style`로
287
+ * 진입·퇴장을 노출한다. 위치(z-index 포함)는 Positioner가, 모양은 Popup이 맡는다.
288
+ */
289
+ declare const tooltipVariants: {
290
+ positioner: string;
291
+ content: (props?: ({
292
+ size?: "small" | "medium" | "large" | "xlarge" | "tiny" | null | undefined;
293
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
294
+ title: (props?: class_variance_authority_types.ClassProp | undefined) => string;
295
+ description: (props?: class_variance_authority_types.ClassProp | undefined) => string;
296
+ };
297
+
298
+ type TooltipRootProps = Tooltip$1.Root.Props;
299
+ type TooltipProviderProps = Tooltip$1.Provider.Props;
300
+ type TooltipTriggerProps = Tooltip$1.Trigger.Props;
301
+ type TooltipContentProps = Tooltip$1.Popup.Props & VariantProps<typeof tooltipVariants.content> & {
302
+ /** 트리거와 툴팁 사이 간격 */
303
+ sideOffset?: Tooltip$1.Positioner.Props['sideOffset'];
304
+ side?: Tooltip$1.Positioner.Props['side'];
305
+ align?: Tooltip$1.Positioner.Props['align'];
306
+ alignOffset?: Tooltip$1.Positioner.Props['alignOffset'];
307
+ /** 툴팁을 렌더링할 포털 컨테이너 */
308
+ portalContainer?: Tooltip$1.Portal.Props['container'];
288
309
  };
289
- type TooltipTitleProps = React__default.HTMLAttributes<HTMLDivElement>;
290
- type TooltipDescriptionProps = React__default.HTMLAttributes<HTMLDivElement>;
291
- type TooltipComponent = typeof TooltipPrimitive.Root & {
292
- Provider: typeof TooltipPrimitive.Provider;
293
- Trigger: typeof TooltipPrimitive.Trigger;
294
- Content: React__default.ForwardRefExoticComponent<TooltipContentProps & React__default.RefAttributes<React__default.ElementRef<typeof TooltipPrimitive.Content>>>;
295
- Title: React__default.ForwardRefExoticComponent<TooltipTitleProps & React__default.RefAttributes<HTMLDivElement>>;
296
- Description: React__default.ForwardRefExoticComponent<TooltipDescriptionProps & React__default.RefAttributes<HTMLDivElement>>;
310
+ type TooltipTitleProps = React__default.ComponentProps<'div'>;
311
+ type TooltipDescriptionProps = React__default.ComponentProps<'div'>;
312
+ /**
313
+ * 인터페이스 요소 위에 나타나 보조 정보를 제공하는 컴포넌트입니다.
314
+ * Base UI Tooltip 기반이며 Compound Component 패턴으로 하위 컴포넌트와 함께 사용합니다.
315
+ *
316
+ * @example
317
+ * ```tsx
318
+ * <Tooltip.Provider>
319
+ * <Tooltip>
320
+ * <Tooltip.Trigger render={<Button>호버하세요</Button>} />
321
+ * <Tooltip.Content size="small">
322
+ * <Tooltip.Title>제목</Tooltip.Title>
323
+ * <Tooltip.Description>설명</Tooltip.Description>
324
+ * </Tooltip.Content>
325
+ * </Tooltip>
326
+ * </Tooltip.Provider>
327
+ * ```
328
+ *
329
+ * @see {@link TooltipContentProps} Content props 상세
330
+ * @see https://base-ui.com/react/components/tooltip
331
+ */
332
+ declare function TooltipRoot(props: TooltipRootProps): react_jsx_runtime.JSX.Element;
333
+ declare namespace TooltipRoot {
334
+ var displayName: string;
335
+ }
336
+ declare function TooltipProvider(props: TooltipProviderProps): react_jsx_runtime.JSX.Element;
337
+ declare namespace TooltipProvider {
338
+ var displayName: string;
339
+ }
340
+ declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
341
+ declare namespace TooltipTrigger {
342
+ var displayName: string;
343
+ }
344
+ declare function TooltipContent({ className, children, size, sideOffset, side, align, alignOffset, portalContainer, id: idProp, ...props }: TooltipContentProps): react_jsx_runtime.JSX.Element;
345
+ declare namespace TooltipContent {
346
+ var displayName: string;
347
+ }
348
+ declare function TooltipTitle({ className, ...props }: TooltipTitleProps): react_jsx_runtime.JSX.Element;
349
+ declare namespace TooltipTitle {
350
+ var displayName: string;
351
+ }
352
+ declare function TooltipDescription({ className, ...props }: TooltipDescriptionProps): react_jsx_runtime.JSX.Element;
353
+ declare namespace TooltipDescription {
354
+ var displayName: string;
355
+ }
356
+ declare const Tooltip: typeof TooltipRoot & {
357
+ Provider: typeof TooltipProvider;
358
+ Trigger: typeof TooltipTrigger;
359
+ Content: typeof TooltipContent;
360
+ Title: typeof TooltipTitle;
361
+ Description: typeof TooltipDescription;
297
362
  };
298
- declare const tooltipContentVariants: (props?: ({
299
- size?: "small" | "medium" | "large" | "xlarge" | "tiny" | null | undefined;
300
- } & class_variance_authority_types.ClassProp) | undefined) => string;
301
- declare const Tooltip: TooltipComponent;
363
+ type TooltipComponent = typeof Tooltip;
302
364
 
303
365
  interface FlatTooltipProps {
304
366
  /** 툴팁을 적용할 자식 요소 */
@@ -317,6 +379,10 @@ interface FlatTooltipProps {
317
379
  alignOffset?: ComponentProps<typeof Tooltip.Content>['alignOffset'];
318
380
  /** 툴팁 설명 텍스트 */
319
381
  description: React.ReactNode;
382
+ /** 호버 후 툴팁이 나타나기까지의 지연 시간 (ms). 생략하면 `Tooltip.Provider`의 `delay`를 따른다 */
383
+ delay?: ComponentProps<typeof Tooltip.Trigger>['delay'];
384
+ /** 호버가 끝난 뒤 툴팁이 닫히기까지의 지연 시간 (ms) */
385
+ closeDelay?: ComponentProps<typeof Tooltip.Trigger>['closeDelay'];
320
386
  }
321
387
  /**
322
388
  * Tooltip 컴포넌트의 간소화된 Flat API입니다.
@@ -336,7 +402,7 @@ interface FlatTooltipProps {
336
402
  * @see {@link FlatTooltipProps} props 상세
337
403
  */
338
404
  declare const FlatTooltip: {
339
- ({ children, title, size, description, ...props }: FlatTooltipProps): react_jsx_runtime.JSX.Element;
405
+ ({ children, title, size, description, delay, closeDelay, ...props }: FlatTooltipProps): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
340
406
  displayName: string;
341
407
  };
342
408
  /** FlatTooltip 설정 객체 타입 (children 제외) */
@@ -5,9 +5,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
6
6
  import { I as IconBaseProps } from './types-xnO0gkCW.mjs';
7
7
  import * as SelectPrimitive from '@radix-ui/react-select';
8
- import * as class_variance_authority_types from 'class-variance-authority/types';
8
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
9
9
  import { VariantProps } from '@exem-ui/core/utils';
10
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
10
+ import * as class_variance_authority_types from 'class-variance-authority/types';
11
11
 
12
12
  type TabsType = 'primary' | 'secondary';
13
13
  type TabsRootProps<T extends string = string> = Omit<React__default.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'value' | 'defaultValue' | 'onValueChange'> & {
@@ -280,25 +280,87 @@ type SelectComponent = React$1.ForwardRefExoticComponent<SelectRootProps & React
280
280
  };
281
281
  declare const Select: SelectComponent;
282
282
 
283
- type TooltipRootProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>;
284
- type TooltipProviderProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>;
285
- type TooltipTriggerProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;
286
- type TooltipContentProps = React__default.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & VariantProps<typeof tooltipContentVariants> & {
287
- portalContainer?: HTMLElement | null;
283
+ /**
284
+ * Tooltip 스타일 변형.
285
+ *
286
+ * Base UI Tooltip은 radix의 `data-state` 대신 `data-starting-style` / `data-ending-style`로
287
+ * 진입·퇴장을 노출한다. 위치(z-index 포함)는 Positioner가, 모양은 Popup이 맡는다.
288
+ */
289
+ declare const tooltipVariants: {
290
+ positioner: string;
291
+ content: (props?: ({
292
+ size?: "small" | "medium" | "large" | "xlarge" | "tiny" | null | undefined;
293
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
294
+ title: (props?: class_variance_authority_types.ClassProp | undefined) => string;
295
+ description: (props?: class_variance_authority_types.ClassProp | undefined) => string;
296
+ };
297
+
298
+ type TooltipRootProps = Tooltip$1.Root.Props;
299
+ type TooltipProviderProps = Tooltip$1.Provider.Props;
300
+ type TooltipTriggerProps = Tooltip$1.Trigger.Props;
301
+ type TooltipContentProps = Tooltip$1.Popup.Props & VariantProps<typeof tooltipVariants.content> & {
302
+ /** 트리거와 툴팁 사이 간격 */
303
+ sideOffset?: Tooltip$1.Positioner.Props['sideOffset'];
304
+ side?: Tooltip$1.Positioner.Props['side'];
305
+ align?: Tooltip$1.Positioner.Props['align'];
306
+ alignOffset?: Tooltip$1.Positioner.Props['alignOffset'];
307
+ /** 툴팁을 렌더링할 포털 컨테이너 */
308
+ portalContainer?: Tooltip$1.Portal.Props['container'];
288
309
  };
289
- type TooltipTitleProps = React__default.HTMLAttributes<HTMLDivElement>;
290
- type TooltipDescriptionProps = React__default.HTMLAttributes<HTMLDivElement>;
291
- type TooltipComponent = typeof TooltipPrimitive.Root & {
292
- Provider: typeof TooltipPrimitive.Provider;
293
- Trigger: typeof TooltipPrimitive.Trigger;
294
- Content: React__default.ForwardRefExoticComponent<TooltipContentProps & React__default.RefAttributes<React__default.ElementRef<typeof TooltipPrimitive.Content>>>;
295
- Title: React__default.ForwardRefExoticComponent<TooltipTitleProps & React__default.RefAttributes<HTMLDivElement>>;
296
- Description: React__default.ForwardRefExoticComponent<TooltipDescriptionProps & React__default.RefAttributes<HTMLDivElement>>;
310
+ type TooltipTitleProps = React__default.ComponentProps<'div'>;
311
+ type TooltipDescriptionProps = React__default.ComponentProps<'div'>;
312
+ /**
313
+ * 인터페이스 요소 위에 나타나 보조 정보를 제공하는 컴포넌트입니다.
314
+ * Base UI Tooltip 기반이며 Compound Component 패턴으로 하위 컴포넌트와 함께 사용합니다.
315
+ *
316
+ * @example
317
+ * ```tsx
318
+ * <Tooltip.Provider>
319
+ * <Tooltip>
320
+ * <Tooltip.Trigger render={<Button>호버하세요</Button>} />
321
+ * <Tooltip.Content size="small">
322
+ * <Tooltip.Title>제목</Tooltip.Title>
323
+ * <Tooltip.Description>설명</Tooltip.Description>
324
+ * </Tooltip.Content>
325
+ * </Tooltip>
326
+ * </Tooltip.Provider>
327
+ * ```
328
+ *
329
+ * @see {@link TooltipContentProps} Content props 상세
330
+ * @see https://base-ui.com/react/components/tooltip
331
+ */
332
+ declare function TooltipRoot(props: TooltipRootProps): react_jsx_runtime.JSX.Element;
333
+ declare namespace TooltipRoot {
334
+ var displayName: string;
335
+ }
336
+ declare function TooltipProvider(props: TooltipProviderProps): react_jsx_runtime.JSX.Element;
337
+ declare namespace TooltipProvider {
338
+ var displayName: string;
339
+ }
340
+ declare function TooltipTrigger(props: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
341
+ declare namespace TooltipTrigger {
342
+ var displayName: string;
343
+ }
344
+ declare function TooltipContent({ className, children, size, sideOffset, side, align, alignOffset, portalContainer, id: idProp, ...props }: TooltipContentProps): react_jsx_runtime.JSX.Element;
345
+ declare namespace TooltipContent {
346
+ var displayName: string;
347
+ }
348
+ declare function TooltipTitle({ className, ...props }: TooltipTitleProps): react_jsx_runtime.JSX.Element;
349
+ declare namespace TooltipTitle {
350
+ var displayName: string;
351
+ }
352
+ declare function TooltipDescription({ className, ...props }: TooltipDescriptionProps): react_jsx_runtime.JSX.Element;
353
+ declare namespace TooltipDescription {
354
+ var displayName: string;
355
+ }
356
+ declare const Tooltip: typeof TooltipRoot & {
357
+ Provider: typeof TooltipProvider;
358
+ Trigger: typeof TooltipTrigger;
359
+ Content: typeof TooltipContent;
360
+ Title: typeof TooltipTitle;
361
+ Description: typeof TooltipDescription;
297
362
  };
298
- declare const tooltipContentVariants: (props?: ({
299
- size?: "small" | "medium" | "large" | "xlarge" | "tiny" | null | undefined;
300
- } & class_variance_authority_types.ClassProp) | undefined) => string;
301
- declare const Tooltip: TooltipComponent;
363
+ type TooltipComponent = typeof Tooltip;
302
364
 
303
365
  interface FlatTooltipProps {
304
366
  /** 툴팁을 적용할 자식 요소 */
@@ -317,6 +379,10 @@ interface FlatTooltipProps {
317
379
  alignOffset?: ComponentProps<typeof Tooltip.Content>['alignOffset'];
318
380
  /** 툴팁 설명 텍스트 */
319
381
  description: React.ReactNode;
382
+ /** 호버 후 툴팁이 나타나기까지의 지연 시간 (ms). 생략하면 `Tooltip.Provider`의 `delay`를 따른다 */
383
+ delay?: ComponentProps<typeof Tooltip.Trigger>['delay'];
384
+ /** 호버가 끝난 뒤 툴팁이 닫히기까지의 지연 시간 (ms) */
385
+ closeDelay?: ComponentProps<typeof Tooltip.Trigger>['closeDelay'];
320
386
  }
321
387
  /**
322
388
  * Tooltip 컴포넌트의 간소화된 Flat API입니다.
@@ -336,7 +402,7 @@ interface FlatTooltipProps {
336
402
  * @see {@link FlatTooltipProps} props 상세
337
403
  */
338
404
  declare const FlatTooltip: {
339
- ({ children, title, size, description, ...props }: FlatTooltipProps): react_jsx_runtime.JSX.Element;
405
+ ({ children, title, size, description, delay, closeDelay, ...props }: FlatTooltipProps): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
340
406
  displayName: string;
341
407
  };
342
408
  /** FlatTooltip 설정 객체 타입 (children 제외) */
@@ -9,7 +9,7 @@ var React = require('react');
9
9
  var ScrollAreaPrimitive = require('@radix-ui/react-scroll-area');
10
10
  var TabsPrimitive2 = require('@radix-ui/react-tabs');
11
11
  var SelectPrimitive = require('@radix-ui/react-select');
12
- var TooltipPrimitive = require('@radix-ui/react-tooltip');
12
+ var tooltip = require('@base-ui/react/tooltip');
13
13
 
14
14
  function _interopNamespace(e) {
15
15
  if (e && e.__esModule) return e;
@@ -34,7 +34,6 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
34
34
  var ScrollAreaPrimitive__namespace = /*#__PURE__*/_interopNamespace(ScrollAreaPrimitive);
35
35
  var TabsPrimitive2__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive2);
36
36
  var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive);
37
- var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
38
37
 
39
38
  var colorPaletteColorClasses = {
40
39
  mono: { background: "bg-mono-dark", text: "text-mono-dark" },
@@ -1393,83 +1392,159 @@ function FlatTabs({
1393
1392
  return /* @__PURE__ */ jsxRuntime.jsx(Tabs, { ...rootProps, children: /* @__PURE__ */ jsxRuntime.jsx(Tabs.List, { className, children: items.map(({ value, children, ...itemProps }) => /* @__PURE__ */ jsxRuntime.jsx(Tabs.Trigger, { value, ...itemProps, children }, value)) }) });
1394
1393
  }
1395
1394
  FlatTabs.displayName = "FlatTabs";
1396
- var tooltipContentVariants = utils.cva(
1397
- [
1398
- // Base layout
1399
- "z-50 flex flex-col items-start overflow-hidden",
1400
- "rounded-medium",
1401
- "text-text-static-light",
1402
- "bg-component-tooltip border border-border-primary",
1403
- "shadow-medium",
1404
- "animate-in fade-in-0 zoom-in-95",
1405
- "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
1406
- "data-[side=bottom]:slide-in-from-top-2",
1407
- "data-[side=left]:slide-in-from-right-2",
1408
- "data-[side=right]:slide-in-from-left-2",
1409
- "data-[side=top]:slide-in-from-bottom-2"
1410
- ],
1411
- {
1412
- variants: {
1413
- size: {
1414
- tiny: "px-2 py-1 text-body-3",
1415
- small: "w-[160px] gap-[8px] px-[12px] py-[10px]",
1416
- medium: "w-[240px] gap-[8px] px-[12px] py-[10px]",
1417
- large: "w-[320px] gap-[8px] px-[12px] py-[10px]",
1418
- xlarge: "w-[400px] gap-[8px] px-[12px] py-[10px]"
1419
- }
1420
- },
1421
- defaultVariants: { size: "small" }
1422
- }
1423
- );
1424
- var tooltipTitleVariants = utils.cva([
1425
- "text-body-1 font-semibold text-text-static-light",
1426
- "group-data-[size=tiny]/tooltip-content:text-body-3"
1427
- ]);
1428
- var tooltipTextVariants = utils.cva([
1429
- "text-body-2 font-regular text-text-static-light",
1430
- "group-data-[size=tiny]/tooltip-content:text-body-3"
1431
- ]);
1432
- var Tooltip = TooltipPrimitive__namespace.Root;
1433
- Tooltip.Provider = TooltipPrimitive__namespace.Provider;
1434
- Tooltip.Trigger = TooltipPrimitive__namespace.Trigger;
1435
- Tooltip.Content = React.forwardRef(({ className, sideOffset = 4, size, children, portalContainer, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
1436
- TooltipPrimitive__namespace.Content,
1437
- {
1438
- ref,
1439
- sideOffset,
1440
- "data-size": size,
1441
- className: utils.cn("group/tooltip-content", tooltipContentVariants({ size }), className),
1442
- ...props,
1443
- children
1395
+ var tooltipVariants = {
1396
+ positioner: "z-50",
1397
+ content: utils.cva(
1398
+ [
1399
+ "flex flex-col items-start overflow-hidden",
1400
+ "rounded-medium",
1401
+ "text-text-static-light",
1402
+ // Figma의 Tooltip은 테마와 무관하게 다크 모드 값으로 고정된다. bg-component-tooltip은 두 테마가
1403
+ // 같지만 border-primary는 라이트에서 밝아지므로, 다크 값인 gray-08을 직접 쓴다.
1404
+ "bg-component-tooltip border border-gray-08",
1405
+ "shadow-medium",
1406
+ "origin-[var(--transform-origin)] transition-[transform,scale,opacity] duration-150",
1407
+ "data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
1408
+ "data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
1409
+ "data-[instant]:transition-none"
1410
+ ],
1411
+ {
1412
+ variants: {
1413
+ size: {
1414
+ tiny: "px-2 py-1 text-body-3",
1415
+ small: "w-[160px] gap-1 px-[12px] py-[10px]",
1416
+ medium: "w-[240px] gap-1 px-[12px] py-[10px]",
1417
+ large: "w-[320px] gap-1 px-[12px] py-[10px]",
1418
+ xlarge: "w-[400px] gap-1 px-[12px] py-[10px]"
1419
+ }
1420
+ },
1421
+ defaultVariants: { size: "small" }
1422
+ }
1423
+ ),
1424
+ title: utils.cva([
1425
+ "text-body-2 font-medium text-text-static-light",
1426
+ "group-data-[size=tiny]/tooltip-content:text-body-3"
1427
+ ]),
1428
+ description: utils.cva([
1429
+ "text-body-2 font-regular text-text-static-light",
1430
+ "group-data-[size=tiny]/tooltip-content:text-body-3"
1431
+ ])
1432
+ };
1433
+ var TooltipA11yContext = React.createContext({ setPopupId: () => {
1434
+ } });
1435
+ function TooltipPopupMounted({ id }) {
1436
+ const { setPopupId } = React.useContext(TooltipA11yContext);
1437
+ React.useEffect(() => {
1438
+ setPopupId(id);
1439
+ return () => setPopupId(void 0);
1440
+ }, [id, setPopupId]);
1441
+ return null;
1442
+ }
1443
+ function TooltipRoot(props) {
1444
+ const [popupId, setPopupId] = React.useState();
1445
+ const a11y = React.useMemo(() => ({ popupId, setPopupId }), [popupId]);
1446
+ return /* @__PURE__ */ jsxRuntime.jsx(TooltipA11yContext.Provider, { value: a11y, children: /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Root, { ...props }) });
1447
+ }
1448
+ function TooltipProvider(props) {
1449
+ return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Provider, { ...props });
1450
+ }
1451
+ function TooltipTrigger(props) {
1452
+ const { popupId } = React.useContext(TooltipA11yContext);
1453
+ return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", "aria-describedby": popupId, ...props });
1454
+ }
1455
+ function TooltipContent({
1456
+ className,
1457
+ children,
1458
+ size,
1459
+ sideOffset = 4,
1460
+ side,
1461
+ align,
1462
+ alignOffset,
1463
+ portalContainer,
1464
+ id: idProp,
1465
+ ...props
1466
+ }) {
1467
+ const fallbackId = React.useId();
1468
+ const popupId = idProp ?? fallbackId;
1469
+ return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
1470
+ tooltip.Tooltip.Positioner,
1471
+ {
1472
+ className: tooltipVariants.positioner,
1473
+ sideOffset,
1474
+ side,
1475
+ align,
1476
+ alignOffset,
1477
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1478
+ tooltip.Tooltip.Popup,
1479
+ {
1480
+ "data-slot": "tooltip-content",
1481
+ "data-size": size,
1482
+ id: popupId,
1483
+ role: "tooltip",
1484
+ className: utils.cn("group/tooltip-content", tooltipVariants.content({ size }), className),
1485
+ ...props,
1486
+ children: [
1487
+ /* @__PURE__ */ jsxRuntime.jsx(TooltipPopupMounted, { id: popupId }),
1488
+ children
1489
+ ]
1490
+ }
1491
+ )
1492
+ }
1493
+ ) });
1494
+ }
1495
+ function TooltipTitle({ className, ...props }) {
1496
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "tooltip-title", className: utils.cn(tooltipVariants.title(), className), ...props });
1497
+ }
1498
+ function TooltipDescription({ className, ...props }) {
1499
+ return /* @__PURE__ */ jsxRuntime.jsx(
1500
+ "div",
1501
+ {
1502
+ "data-slot": "tooltip-description",
1503
+ className: utils.cn(tooltipVariants.description(), className),
1504
+ ...props
1505
+ }
1506
+ );
1507
+ }
1508
+ TooltipRoot.displayName = "Tooltip";
1509
+ TooltipProvider.displayName = "Tooltip.Provider";
1510
+ TooltipTrigger.displayName = "Tooltip.Trigger";
1511
+ TooltipContent.displayName = "Tooltip.Content";
1512
+ TooltipTitle.displayName = "Tooltip.Title";
1513
+ TooltipDescription.displayName = "Tooltip.Description";
1514
+ var Tooltip = Object.assign(TooltipRoot, {
1515
+ Provider: TooltipProvider,
1516
+ Trigger: TooltipTrigger,
1517
+ Content: TooltipContent,
1518
+ Title: TooltipTitle,
1519
+ Description: TooltipDescription
1520
+ });
1521
+ var FlatTooltip = ({
1522
+ children,
1523
+ title,
1524
+ size,
1525
+ description,
1526
+ delay,
1527
+ closeDelay,
1528
+ ...props
1529
+ }) => {
1530
+ if (!React.isValidElement(children)) {
1531
+ return children;
1444
1532
  }
1445
- ) }));
1446
- Tooltip.Title = React.forwardRef(
1447
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: utils.cn(tooltipTitleVariants(), className), ...props, children })
1448
- );
1449
- Tooltip.Description = React.forwardRef(
1450
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: utils.cn(tooltipTextVariants(), className), ...props, children })
1451
- );
1452
- Tooltip.displayName = "Tooltip";
1453
- Tooltip.Content.displayName = "Tooltip.Content";
1454
- Tooltip.Title.displayName = "Tooltip.Title";
1455
- Tooltip.Description.displayName = "Tooltip.Description";
1456
- Tooltip.Trigger.displayName = "Tooltip.Trigger";
1457
- Tooltip.Provider.displayName = "Tooltip.Provider";
1458
- var FlatTooltip = ({ children, title, size, description, ...props }) => {
1459
- return /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Provider, { delayDuration: 0, skipDelayDuration: 0, children: /* @__PURE__ */ jsxRuntime.jsxs(Tooltip, { children: [
1460
- /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Trigger, { asChild: true, children }),
1533
+ return /* @__PURE__ */ jsxRuntime.jsxs(Tooltip, { children: [
1534
+ /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Trigger, { render: children, delay, closeDelay }),
1461
1535
  /* @__PURE__ */ jsxRuntime.jsxs(Tooltip.Content, { size, ...props, children: [
1462
1536
  title && /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Title, { children: title }),
1463
1537
  description && /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Description, { children: description })
1464
1538
  ] })
1465
- ] }) });
1539
+ ] });
1466
1540
  };
1467
1541
  function ConditionalTooltip({ children, tooltip }) {
1468
1542
  if (typeof tooltip === "string") {
1469
1543
  return /* @__PURE__ */ jsxRuntime.jsx(FlatTooltip, { size: "tiny", description: tooltip, children });
1470
1544
  }
1471
1545
  if (tooltip && typeof tooltip === "object" && "description" in tooltip && tooltip.use !== false) {
1472
- return /* @__PURE__ */ jsxRuntime.jsx(FlatTooltip, { size: tooltip.size || "tiny", ...tooltip, children });
1546
+ const { use: _use, ...config } = tooltip;
1547
+ return /* @__PURE__ */ jsxRuntime.jsx(FlatTooltip, { ...config, size: config.size || "tiny", children });
1473
1548
  }
1474
1549
  return children;
1475
1550
  }
@@ -4,11 +4,11 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
5
5
  import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
6
6
  import * as React from 'react';
7
- import { createContext, forwardRef, cloneElement, useId, useContext, createElement, useRef, useState } from 'react';
7
+ import { createContext, forwardRef, cloneElement, useId, useContext, useState, useMemo, useEffect, createElement, useRef, isValidElement } from 'react';
8
8
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
9
9
  import * as TabsPrimitive2 from '@radix-ui/react-tabs';
10
10
  import * as SelectPrimitive from '@radix-ui/react-select';
11
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
11
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
12
12
 
13
13
  var colorPaletteColorClasses = {
14
14
  mono: { background: "bg-mono-dark", text: "text-mono-dark" },
@@ -1367,83 +1367,159 @@ function FlatTabs({
1367
1367
  return /* @__PURE__ */ jsx(Tabs, { ...rootProps, children: /* @__PURE__ */ jsx(Tabs.List, { className, children: items.map(({ value, children, ...itemProps }) => /* @__PURE__ */ jsx(Tabs.Trigger, { value, ...itemProps, children }, value)) }) });
1368
1368
  }
1369
1369
  FlatTabs.displayName = "FlatTabs";
1370
- var tooltipContentVariants = cva(
1371
- [
1372
- // Base layout
1373
- "z-50 flex flex-col items-start overflow-hidden",
1374
- "rounded-medium",
1375
- "text-text-static-light",
1376
- "bg-component-tooltip border border-border-primary",
1377
- "shadow-medium",
1378
- "animate-in fade-in-0 zoom-in-95",
1379
- "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
1380
- "data-[side=bottom]:slide-in-from-top-2",
1381
- "data-[side=left]:slide-in-from-right-2",
1382
- "data-[side=right]:slide-in-from-left-2",
1383
- "data-[side=top]:slide-in-from-bottom-2"
1384
- ],
1385
- {
1386
- variants: {
1387
- size: {
1388
- tiny: "px-2 py-1 text-body-3",
1389
- small: "w-[160px] gap-[8px] px-[12px] py-[10px]",
1390
- medium: "w-[240px] gap-[8px] px-[12px] py-[10px]",
1391
- large: "w-[320px] gap-[8px] px-[12px] py-[10px]",
1392
- xlarge: "w-[400px] gap-[8px] px-[12px] py-[10px]"
1393
- }
1394
- },
1395
- defaultVariants: { size: "small" }
1396
- }
1397
- );
1398
- var tooltipTitleVariants = cva([
1399
- "text-body-1 font-semibold text-text-static-light",
1400
- "group-data-[size=tiny]/tooltip-content:text-body-3"
1401
- ]);
1402
- var tooltipTextVariants = cva([
1403
- "text-body-2 font-regular text-text-static-light",
1404
- "group-data-[size=tiny]/tooltip-content:text-body-3"
1405
- ]);
1406
- var Tooltip = TooltipPrimitive.Root;
1407
- Tooltip.Provider = TooltipPrimitive.Provider;
1408
- Tooltip.Trigger = TooltipPrimitive.Trigger;
1409
- Tooltip.Content = forwardRef(({ className, sideOffset = 4, size, children, portalContainer, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
1410
- TooltipPrimitive.Content,
1411
- {
1412
- ref,
1413
- sideOffset,
1414
- "data-size": size,
1415
- className: cn("group/tooltip-content", tooltipContentVariants({ size }), className),
1416
- ...props,
1417
- children
1370
+ var tooltipVariants = {
1371
+ positioner: "z-50",
1372
+ content: cva(
1373
+ [
1374
+ "flex flex-col items-start overflow-hidden",
1375
+ "rounded-medium",
1376
+ "text-text-static-light",
1377
+ // Figma의 Tooltip은 테마와 무관하게 다크 모드 값으로 고정된다. bg-component-tooltip은 두 테마가
1378
+ // 같지만 border-primary는 라이트에서 밝아지므로, 다크 값인 gray-08을 직접 쓴다.
1379
+ "bg-component-tooltip border border-gray-08",
1380
+ "shadow-medium",
1381
+ "origin-[var(--transform-origin)] transition-[transform,scale,opacity] duration-150",
1382
+ "data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
1383
+ "data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
1384
+ "data-[instant]:transition-none"
1385
+ ],
1386
+ {
1387
+ variants: {
1388
+ size: {
1389
+ tiny: "px-2 py-1 text-body-3",
1390
+ small: "w-[160px] gap-1 px-[12px] py-[10px]",
1391
+ medium: "w-[240px] gap-1 px-[12px] py-[10px]",
1392
+ large: "w-[320px] gap-1 px-[12px] py-[10px]",
1393
+ xlarge: "w-[400px] gap-1 px-[12px] py-[10px]"
1394
+ }
1395
+ },
1396
+ defaultVariants: { size: "small" }
1397
+ }
1398
+ ),
1399
+ title: cva([
1400
+ "text-body-2 font-medium text-text-static-light",
1401
+ "group-data-[size=tiny]/tooltip-content:text-body-3"
1402
+ ]),
1403
+ description: cva([
1404
+ "text-body-2 font-regular text-text-static-light",
1405
+ "group-data-[size=tiny]/tooltip-content:text-body-3"
1406
+ ])
1407
+ };
1408
+ var TooltipA11yContext = createContext({ setPopupId: () => {
1409
+ } });
1410
+ function TooltipPopupMounted({ id }) {
1411
+ const { setPopupId } = useContext(TooltipA11yContext);
1412
+ useEffect(() => {
1413
+ setPopupId(id);
1414
+ return () => setPopupId(void 0);
1415
+ }, [id, setPopupId]);
1416
+ return null;
1417
+ }
1418
+ function TooltipRoot(props) {
1419
+ const [popupId, setPopupId] = useState();
1420
+ const a11y = useMemo(() => ({ popupId, setPopupId }), [popupId]);
1421
+ return /* @__PURE__ */ jsx(TooltipA11yContext.Provider, { value: a11y, children: /* @__PURE__ */ jsx(Tooltip$1.Root, { ...props }) });
1422
+ }
1423
+ function TooltipProvider(props) {
1424
+ return /* @__PURE__ */ jsx(Tooltip$1.Provider, { ...props });
1425
+ }
1426
+ function TooltipTrigger(props) {
1427
+ const { popupId } = useContext(TooltipA11yContext);
1428
+ return /* @__PURE__ */ jsx(Tooltip$1.Trigger, { "data-slot": "tooltip-trigger", "aria-describedby": popupId, ...props });
1429
+ }
1430
+ function TooltipContent({
1431
+ className,
1432
+ children,
1433
+ size,
1434
+ sideOffset = 4,
1435
+ side,
1436
+ align,
1437
+ alignOffset,
1438
+ portalContainer,
1439
+ id: idProp,
1440
+ ...props
1441
+ }) {
1442
+ const fallbackId = useId();
1443
+ const popupId = idProp ?? fallbackId;
1444
+ return /* @__PURE__ */ jsx(Tooltip$1.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
1445
+ Tooltip$1.Positioner,
1446
+ {
1447
+ className: tooltipVariants.positioner,
1448
+ sideOffset,
1449
+ side,
1450
+ align,
1451
+ alignOffset,
1452
+ children: /* @__PURE__ */ jsxs(
1453
+ Tooltip$1.Popup,
1454
+ {
1455
+ "data-slot": "tooltip-content",
1456
+ "data-size": size,
1457
+ id: popupId,
1458
+ role: "tooltip",
1459
+ className: cn("group/tooltip-content", tooltipVariants.content({ size }), className),
1460
+ ...props,
1461
+ children: [
1462
+ /* @__PURE__ */ jsx(TooltipPopupMounted, { id: popupId }),
1463
+ children
1464
+ ]
1465
+ }
1466
+ )
1467
+ }
1468
+ ) });
1469
+ }
1470
+ function TooltipTitle({ className, ...props }) {
1471
+ return /* @__PURE__ */ jsx("div", { "data-slot": "tooltip-title", className: cn(tooltipVariants.title(), className), ...props });
1472
+ }
1473
+ function TooltipDescription({ className, ...props }) {
1474
+ return /* @__PURE__ */ jsx(
1475
+ "div",
1476
+ {
1477
+ "data-slot": "tooltip-description",
1478
+ className: cn(tooltipVariants.description(), className),
1479
+ ...props
1480
+ }
1481
+ );
1482
+ }
1483
+ TooltipRoot.displayName = "Tooltip";
1484
+ TooltipProvider.displayName = "Tooltip.Provider";
1485
+ TooltipTrigger.displayName = "Tooltip.Trigger";
1486
+ TooltipContent.displayName = "Tooltip.Content";
1487
+ TooltipTitle.displayName = "Tooltip.Title";
1488
+ TooltipDescription.displayName = "Tooltip.Description";
1489
+ var Tooltip = Object.assign(TooltipRoot, {
1490
+ Provider: TooltipProvider,
1491
+ Trigger: TooltipTrigger,
1492
+ Content: TooltipContent,
1493
+ Title: TooltipTitle,
1494
+ Description: TooltipDescription
1495
+ });
1496
+ var FlatTooltip = ({
1497
+ children,
1498
+ title,
1499
+ size,
1500
+ description,
1501
+ delay,
1502
+ closeDelay,
1503
+ ...props
1504
+ }) => {
1505
+ if (!isValidElement(children)) {
1506
+ return children;
1418
1507
  }
1419
- ) }));
1420
- Tooltip.Title = forwardRef(
1421
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn(tooltipTitleVariants(), className), ...props, children })
1422
- );
1423
- Tooltip.Description = forwardRef(
1424
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn(tooltipTextVariants(), className), ...props, children })
1425
- );
1426
- Tooltip.displayName = "Tooltip";
1427
- Tooltip.Content.displayName = "Tooltip.Content";
1428
- Tooltip.Title.displayName = "Tooltip.Title";
1429
- Tooltip.Description.displayName = "Tooltip.Description";
1430
- Tooltip.Trigger.displayName = "Tooltip.Trigger";
1431
- Tooltip.Provider.displayName = "Tooltip.Provider";
1432
- var FlatTooltip = ({ children, title, size, description, ...props }) => {
1433
- return /* @__PURE__ */ jsx(Tooltip.Provider, { delayDuration: 0, skipDelayDuration: 0, children: /* @__PURE__ */ jsxs(Tooltip, { children: [
1434
- /* @__PURE__ */ jsx(Tooltip.Trigger, { asChild: true, children }),
1508
+ return /* @__PURE__ */ jsxs(Tooltip, { children: [
1509
+ /* @__PURE__ */ jsx(Tooltip.Trigger, { render: children, delay, closeDelay }),
1435
1510
  /* @__PURE__ */ jsxs(Tooltip.Content, { size, ...props, children: [
1436
1511
  title && /* @__PURE__ */ jsx(Tooltip.Title, { children: title }),
1437
1512
  description && /* @__PURE__ */ jsx(Tooltip.Description, { children: description })
1438
1513
  ] })
1439
- ] }) });
1514
+ ] });
1440
1515
  };
1441
1516
  function ConditionalTooltip({ children, tooltip }) {
1442
1517
  if (typeof tooltip === "string") {
1443
1518
  return /* @__PURE__ */ jsx(FlatTooltip, { size: "tiny", description: tooltip, children });
1444
1519
  }
1445
1520
  if (tooltip && typeof tooltip === "object" && "description" in tooltip && tooltip.use !== false) {
1446
- return /* @__PURE__ */ jsx(FlatTooltip, { size: tooltip.size || "tiny", ...tooltip, children });
1521
+ const { use: _use, ...config } = tooltip;
1522
+ return /* @__PURE__ */ jsx(FlatTooltip, { ...config, size: config.size || "tiny", children });
1447
1523
  }
1448
1524
  return children;
1449
1525
  }
@@ -1,14 +1,14 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as ColorPaletteColor, G as ColorPaletteProps, I as Icon, S as Size, V as Variant, u as SegmentItemProps, w as SegmentRootProps, g as Select, f as TabsTriggerProps, e as TabsRootProps } from '../FlatTooltip-Dur9oGCh.mjs';
3
- export { Q as ConditionalTooltip, a as ConditionalTooltipProps, R as FlatTooltip, O as FlatTooltipProps, P as TooltipConfig } from '../FlatTooltip-Dur9oGCh.mjs';
2
+ import { C as ColorPaletteColor, G as ColorPaletteProps, I as Icon, S as Size, V as Variant, u as SegmentItemProps, w as SegmentRootProps, g as Select, f as TabsTriggerProps, e as TabsRootProps } from '../FlatTooltip-eHUMKbuv.mjs';
3
+ export { Q as ConditionalTooltip, a as ConditionalTooltipProps, R as FlatTooltip, O as FlatTooltipProps, P as TooltipConfig } from '../FlatTooltip-eHUMKbuv.mjs';
4
4
  import { ReactNode, ComponentProps } from 'react';
5
5
  import '@radix-ui/react-tabs';
6
6
  import '@radix-ui/react-radio-group';
7
7
  import '../types-xnO0gkCW.mjs';
8
8
  import '@radix-ui/react-select';
9
- import 'class-variance-authority/types';
9
+ import '@base-ui/react/tooltip';
10
10
  import '@exem-ui/core/utils';
11
- import '@radix-ui/react-tooltip';
11
+ import 'class-variance-authority/types';
12
12
 
13
13
  type FlatColorPaletteProps<P extends readonly ColorPaletteColor[] = readonly ColorPaletteColor[]> = Omit<ColorPaletteProps, 'value' | 'defaultValue' | 'onValueChange' | 'children'> & {
14
14
  /** 표시할 색상 팔레트. 소비자가 직접 구성하며 `ColorPaletteColors` 상수로 작성하면 오타가 잡힙니다. */
@@ -1,14 +1,14 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as ColorPaletteColor, G as ColorPaletteProps, I as Icon, S as Size, V as Variant, u as SegmentItemProps, w as SegmentRootProps, g as Select, f as TabsTriggerProps, e as TabsRootProps } from '../FlatTooltip-CksJEO8x.js';
3
- export { Q as ConditionalTooltip, a as ConditionalTooltipProps, R as FlatTooltip, O as FlatTooltipProps, P as TooltipConfig } from '../FlatTooltip-CksJEO8x.js';
2
+ import { C as ColorPaletteColor, G as ColorPaletteProps, I as Icon, S as Size, V as Variant, u as SegmentItemProps, w as SegmentRootProps, g as Select, f as TabsTriggerProps, e as TabsRootProps } from '../FlatTooltip-CrfIdqNq.js';
3
+ export { Q as ConditionalTooltip, a as ConditionalTooltipProps, R as FlatTooltip, O as FlatTooltipProps, P as TooltipConfig } from '../FlatTooltip-CrfIdqNq.js';
4
4
  import { ReactNode, ComponentProps } from 'react';
5
5
  import '@radix-ui/react-tabs';
6
6
  import '@radix-ui/react-radio-group';
7
7
  import '../types-xnO0gkCW.js';
8
8
  import '@radix-ui/react-select';
9
- import 'class-variance-authority/types';
9
+ import '@base-ui/react/tooltip';
10
10
  import '@exem-ui/core/utils';
11
- import '@radix-ui/react-tooltip';
11
+ import 'class-variance-authority/types';
12
12
 
13
13
  type FlatColorPaletteProps<P extends readonly ColorPaletteColor[] = readonly ColorPaletteColor[]> = Omit<ColorPaletteProps, 'value' | 'defaultValue' | 'onValueChange' | 'children'> & {
14
14
  /** 표시할 색상 팔레트. 소비자가 직접 구성하며 `ColorPaletteColors` 상수로 작성하면 오타가 잡힙니다. */
@@ -1,35 +1,35 @@
1
1
  'use strict';
2
2
 
3
- var chunk3LVJLFY6_js = require('../chunk-3LVJLFY6.js');
3
+ var chunk2JF444FU_js = require('../chunk-2JF444FU.js');
4
4
  require('../chunk-6NFYQZSK.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ConditionalTooltip", {
9
9
  enumerable: true,
10
- get: function () { return chunk3LVJLFY6_js.ConditionalTooltip; }
10
+ get: function () { return chunk2JF444FU_js.ConditionalTooltip; }
11
11
  });
12
12
  Object.defineProperty(exports, "FlatColorPalette", {
13
13
  enumerable: true,
14
- get: function () { return chunk3LVJLFY6_js.FlatColorPalette; }
14
+ get: function () { return chunk2JF444FU_js.FlatColorPalette; }
15
15
  });
16
16
  Object.defineProperty(exports, "FlatCombobox", {
17
17
  enumerable: true,
18
- get: function () { return chunk3LVJLFY6_js.FlatCombobox; }
18
+ get: function () { return chunk2JF444FU_js.FlatCombobox; }
19
19
  });
20
20
  Object.defineProperty(exports, "FlatSegment", {
21
21
  enumerable: true,
22
- get: function () { return chunk3LVJLFY6_js.FlatSegment; }
22
+ get: function () { return chunk2JF444FU_js.FlatSegment; }
23
23
  });
24
24
  Object.defineProperty(exports, "FlatSelect", {
25
25
  enumerable: true,
26
- get: function () { return chunk3LVJLFY6_js.FlatSelect; }
26
+ get: function () { return chunk2JF444FU_js.FlatSelect; }
27
27
  });
28
28
  Object.defineProperty(exports, "FlatTabs", {
29
29
  enumerable: true,
30
- get: function () { return chunk3LVJLFY6_js.FlatTabs; }
30
+ get: function () { return chunk2JF444FU_js.FlatTabs; }
31
31
  });
32
32
  Object.defineProperty(exports, "FlatTooltip", {
33
33
  enumerable: true,
34
- get: function () { return chunk3LVJLFY6_js.FlatTooltip; }
34
+ get: function () { return chunk2JF444FU_js.FlatTooltip; }
35
35
  });
@@ -1,2 +1,2 @@
1
- export { ConditionalTooltip, FlatColorPalette, FlatCombobox, FlatSegment, FlatSelect, FlatTabs, FlatTooltip } from '../chunk-BRB66UJW.mjs';
1
+ export { ConditionalTooltip, FlatColorPalette, FlatCombobox, FlatSegment, FlatSelect, FlatTabs, FlatTooltip } from '../chunk-QO7JYX6Q.mjs';
2
2
  import '../chunk-DKADAZLG.mjs';
package/dist/index.d.mts CHANGED
@@ -2,8 +2,8 @@ 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 { C as ColorPaletteColor, a as ConditionalTooltipProps, S as Size$1, I as Icon, V as Variant } from './FlatTooltip-Dur9oGCh.mjs';
6
- export { J as ColorPalette, K as ColorPaletteColors, G as ColorPaletteProps, H as ColorPaletteSwatchProps, L as DEFAULT_COLOR, r as Segment, s as SegmentComponent, t as SegmentContentProps, u as SegmentItemProps, v as SegmentListProps, w as SegmentRootProps, g as Select, h as SelectBoxProps, i as SelectComponent, j as SelectDescriptionProps, k as SelectEmptyProps, l as SelectGroupProps, m as SelectItemProps, n as SelectLabelProps, o as SelectListProps, p as SelectRootProps, q as SelectTriggerProps, T as Tabs, b as TabsComponent, c as TabsContentProps, d as TabsListProps, e as TabsRootProps, f as TabsTriggerProps, x as Tooltip, y as TooltipComponent, z as TooltipContentProps, A as TooltipDescriptionProps, B as TooltipProviderProps, D as TooltipRootProps, E as TooltipTitleProps, F as TooltipTriggerProps, M as getColorPaletteColor, N as isInPalette } from './FlatTooltip-Dur9oGCh.mjs';
5
+ import { C as ColorPaletteColor, a as ConditionalTooltipProps, S as Size$1, I as Icon, V as Variant } from './FlatTooltip-eHUMKbuv.mjs';
6
+ export { J as ColorPalette, K as ColorPaletteColors, G as ColorPaletteProps, H as ColorPaletteSwatchProps, L as DEFAULT_COLOR, r as Segment, s as SegmentComponent, t as SegmentContentProps, u as SegmentItemProps, v as SegmentListProps, w as SegmentRootProps, g as Select, h as SelectBoxProps, i as SelectComponent, j as SelectDescriptionProps, k as SelectEmptyProps, l as SelectGroupProps, m as SelectItemProps, n as SelectLabelProps, o as SelectListProps, p as SelectRootProps, q as SelectTriggerProps, T as Tabs, b as TabsComponent, c as TabsContentProps, d as TabsListProps, e as TabsRootProps, f as TabsTriggerProps, x as Tooltip, y as TooltipComponent, z as TooltipContentProps, A as TooltipDescriptionProps, B as TooltipProviderProps, D as TooltipRootProps, E as TooltipTitleProps, F as TooltipTriggerProps, M as getColorPaletteColor, N as isInPalette } from './FlatTooltip-eHUMKbuv.mjs';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { Button as Button$1 } from '@base-ui/react/button';
9
9
  import { I as IconBaseProps } from './types-xnO0gkCW.mjs';
@@ -19,7 +19,7 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
19
19
  import { Toaster as Toaster$1, ExternalToast, toast as toast$1 } from 'sonner';
20
20
  import '@radix-ui/react-tabs';
21
21
  import '@radix-ui/react-select';
22
- import '@radix-ui/react-tooltip';
22
+ import '@base-ui/react/tooltip';
23
23
 
24
24
  interface AvatarProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
25
25
  /** 사용자 이름. 이미지가 없을 때 이니셜 폴백에 사용됩니다. */
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ 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 { C as ColorPaletteColor, a as ConditionalTooltipProps, S as Size$1, I as Icon, V as Variant } from './FlatTooltip-CksJEO8x.js';
6
- export { J as ColorPalette, K as ColorPaletteColors, G as ColorPaletteProps, H as ColorPaletteSwatchProps, L as DEFAULT_COLOR, r as Segment, s as SegmentComponent, t as SegmentContentProps, u as SegmentItemProps, v as SegmentListProps, w as SegmentRootProps, g as Select, h as SelectBoxProps, i as SelectComponent, j as SelectDescriptionProps, k as SelectEmptyProps, l as SelectGroupProps, m as SelectItemProps, n as SelectLabelProps, o as SelectListProps, p as SelectRootProps, q as SelectTriggerProps, T as Tabs, b as TabsComponent, c as TabsContentProps, d as TabsListProps, e as TabsRootProps, f as TabsTriggerProps, x as Tooltip, y as TooltipComponent, z as TooltipContentProps, A as TooltipDescriptionProps, B as TooltipProviderProps, D as TooltipRootProps, E as TooltipTitleProps, F as TooltipTriggerProps, M as getColorPaletteColor, N as isInPalette } from './FlatTooltip-CksJEO8x.js';
5
+ import { C as ColorPaletteColor, a as ConditionalTooltipProps, S as Size$1, I as Icon, V as Variant } from './FlatTooltip-CrfIdqNq.js';
6
+ export { J as ColorPalette, K as ColorPaletteColors, G as ColorPaletteProps, H as ColorPaletteSwatchProps, L as DEFAULT_COLOR, r as Segment, s as SegmentComponent, t as SegmentContentProps, u as SegmentItemProps, v as SegmentListProps, w as SegmentRootProps, g as Select, h as SelectBoxProps, i as SelectComponent, j as SelectDescriptionProps, k as SelectEmptyProps, l as SelectGroupProps, m as SelectItemProps, n as SelectLabelProps, o as SelectListProps, p as SelectRootProps, q as SelectTriggerProps, T as Tabs, b as TabsComponent, c as TabsContentProps, d as TabsListProps, e as TabsRootProps, f as TabsTriggerProps, x as Tooltip, y as TooltipComponent, z as TooltipContentProps, A as TooltipDescriptionProps, B as TooltipProviderProps, D as TooltipRootProps, E as TooltipTitleProps, F as TooltipTriggerProps, M as getColorPaletteColor, N as isInPalette } from './FlatTooltip-CrfIdqNq.js';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { Button as Button$1 } from '@base-ui/react/button';
9
9
  import { I as IconBaseProps } from './types-xnO0gkCW.js';
@@ -19,7 +19,7 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
19
19
  import { Toaster as Toaster$1, ExternalToast, toast as toast$1 } from 'sonner';
20
20
  import '@radix-ui/react-tabs';
21
21
  import '@radix-ui/react-select';
22
- import '@radix-ui/react-tooltip';
22
+ import '@base-ui/react/tooltip';
23
23
 
24
24
  interface AvatarProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
25
25
  /** 사용자 이름. 이미지가 없을 때 이니셜 폴백에 사용됩니다. */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk3LVJLFY6_js = require('./chunk-3LVJLFY6.js');
3
+ var chunk2JF444FU_js = require('./chunk-2JF444FU.js');
4
4
  var chunk6NFYQZSK_js = require('./chunk-6NFYQZSK.js');
5
5
  var utils = require('@exem-ui/core/utils');
6
6
  var React = require('react');
@@ -560,7 +560,7 @@ function IconButton({
560
560
  ...props
561
561
  }) {
562
562
  const tooltipLabel = typeof tooltip === "string" ? tooltip : void 0;
563
- return /* @__PURE__ */ jsxRuntime.jsx(chunk3LVJLFY6_js.ConditionalTooltip, { tooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
563
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2JF444FU_js.ConditionalTooltip, { tooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
564
564
  Button,
565
565
  {
566
566
  "aria-label": ariaLabel ?? (ariaLabelledBy === void 0 ? tooltipLabel : void 0),
@@ -624,7 +624,7 @@ function ButtonGroup({
624
624
  item.id
625
625
  );
626
626
  }
627
- return /* @__PURE__ */ jsxRuntime.jsx(chunk3LVJLFY6_js.ConditionalTooltip, { tooltip: item.tooltip, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { ...buttonBaseProps, leftIcon: item.icon, children: item.label }) }, item.id);
627
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2JF444FU_js.ConditionalTooltip, { tooltip: item.tooltip, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { ...buttonBaseProps, leftIcon: item.icon, children: item.label }) }, item.id);
628
628
  })
629
629
  }
630
630
  );
@@ -1024,12 +1024,12 @@ function DatePicker({ type = "single", showOutsideDays = true, ...rest }) {
1024
1024
  }
1025
1025
  var dropdownVariants = {
1026
1026
  content: utils.cn(
1027
- chunk3LVJLFY6_js.overlayListVariants.content,
1027
+ chunk2JF444FU_js.overlayListVariants.content,
1028
1028
  "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
1029
1029
  ),
1030
- viewport: chunk3LVJLFY6_js.overlayListVariants.viewport,
1031
- item: (props) => utils.cn(chunk3LVJLFY6_js.overlayListVariants.item(props), "focus:bg-elevation-elevation-2"),
1032
- slotSize: chunk3LVJLFY6_js.overlayListVariants.slotSize,
1030
+ viewport: chunk2JF444FU_js.overlayListVariants.viewport,
1031
+ item: (props) => utils.cn(chunk2JF444FU_js.overlayListVariants.item(props), "focus:bg-elevation-elevation-2"),
1032
+ slotSize: chunk2JF444FU_js.overlayListVariants.slotSize,
1033
1033
  separator: utils.cn("my-0.5 h-px bg-border-primary"),
1034
1034
  label: utils.cva("px-2 font-medium text-text-secondary", {
1035
1035
  defaultVariants: { size: "medium" },
@@ -1080,9 +1080,9 @@ Dropdown.Item = React.forwardRef(({ className, children, leftSlot, rightSlot, si
1080
1080
  className: utils.cn(dropdownVariants.item({ size }), className),
1081
1081
  ...props,
1082
1082
  children: [
1083
- leftSlot && /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk3LVJLFY6_js.overlayListVariants.slotSize({ size }), children: leftSlot }),
1084
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: utils.cn(chunk3LVJLFY6_js.overlayListVariants.itemText({ size }), "min-w-0 flex-1 truncate"), children }),
1085
- rightSlot && /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk3LVJLFY6_js.overlayListVariants.slotSize({ size }), children: rightSlot })
1083
+ leftSlot && /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk2JF444FU_js.overlayListVariants.slotSize({ size }), children: leftSlot }),
1084
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: utils.cn(chunk2JF444FU_js.overlayListVariants.itemText({ size }), "min-w-0 flex-1 truncate"), children }),
1085
+ rightSlot && /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk2JF444FU_js.overlayListVariants.slotSize({ size }), children: rightSlot })
1086
1086
  ]
1087
1087
  }
1088
1088
  );
@@ -1127,8 +1127,8 @@ var useTextAreaContext = () => {
1127
1127
  return context;
1128
1128
  };
1129
1129
  var textAreaVariants = {
1130
- container: chunk3LVJLFY6_js.commonInputVariants.container,
1131
- label: chunk3LVJLFY6_js.commonInputVariants.label,
1130
+ container: chunk2JF444FU_js.commonInputVariants.container,
1131
+ label: chunk2JF444FU_js.commonInputVariants.label,
1132
1132
  field: utils.cva(
1133
1133
  "scrollbar-overlay block w-full resize-none rounded-medium border transition-colors focus:outline-none",
1134
1134
  {
@@ -1182,7 +1182,7 @@ var textAreaVariants = {
1182
1182
  },
1183
1183
  defaultVariants: { size: "medium" }
1184
1184
  }),
1185
- description: chunk3LVJLFY6_js.commonInputVariants.description,
1185
+ description: chunk2JF444FU_js.commonInputVariants.description,
1186
1186
  counter: utils.cva("text-nowrap font-regular", {
1187
1187
  variants: {
1188
1188
  disabled: {
@@ -1323,7 +1323,7 @@ var TextField = React.forwardRef(
1323
1323
  }, ref) => {
1324
1324
  const uniqueId = React.useId();
1325
1325
  const id = providedId || `text-field-${uniqueId}`;
1326
- return /* @__PURE__ */ jsxRuntime.jsx(TextFieldContext.Provider, { value: { variant, size, error, disabled, id, value, onChange }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: utils.cn(chunk3LVJLFY6_js.textFieldVariants.container(), className), children: children || /* @__PURE__ */ jsxRuntime.jsx(TextField.Input, { ...inputProps }) }) });
1326
+ return /* @__PURE__ */ jsxRuntime.jsx(TextFieldContext.Provider, { value: { variant, size, error, disabled, id, value, onChange }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: utils.cn(chunk2JF444FU_js.textFieldVariants.container(), className), children: children || /* @__PURE__ */ jsxRuntime.jsx(TextField.Input, { ...inputProps }) }) });
1327
1327
  }
1328
1328
  );
1329
1329
  TextField.Label = React.forwardRef(
@@ -1334,7 +1334,7 @@ TextField.Label = React.forwardRef(
1334
1334
  {
1335
1335
  ref,
1336
1336
  htmlFor: id,
1337
- className: utils.cn(chunk3LVJLFY6_js.textFieldVariants.label({ size, disabled, required }), className),
1337
+ className: utils.cn(chunk2JF444FU_js.textFieldVariants.label({ size, disabled, required }), className),
1338
1338
  children
1339
1339
  }
1340
1340
  );
@@ -1353,11 +1353,11 @@ TextField.Input = React.forwardRef(
1353
1353
  } = useTextFieldContext();
1354
1354
  const state = disabled ? "disabled" : error ? "error" : "default";
1355
1355
  const isControlled = contextValue !== void 0;
1356
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: utils.cn(chunk3LVJLFY6_js.textFieldVariants.wrapper({ variant, size, state }), className), children: [
1356
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: utils.cn(chunk2JF444FU_js.textFieldVariants.wrapper({ variant, size, state }), className), children: [
1357
1357
  leftIcon && /* @__PURE__ */ jsxRuntime.jsx(
1358
1358
  "span",
1359
1359
  {
1360
- className: utils.cn("flex items-center justify-center", chunk3LVJLFY6_js.textFieldVariants.icon({ size })),
1360
+ className: utils.cn("flex items-center justify-center", chunk2JF444FU_js.textFieldVariants.icon({ size })),
1361
1361
  children: leftIcon
1362
1362
  }
1363
1363
  ),
@@ -1368,7 +1368,7 @@ TextField.Input = React.forwardRef(
1368
1368
  ref,
1369
1369
  id,
1370
1370
  disabled,
1371
- className: utils.cn(chunk3LVJLFY6_js.textFieldVariants.input({ size, state })),
1371
+ className: utils.cn(chunk2JF444FU_js.textFieldVariants.input({ size, state })),
1372
1372
  onChange: (e) => {
1373
1373
  contextOnChange?.(e);
1374
1374
  },
@@ -1376,12 +1376,12 @@ TextField.Input = React.forwardRef(
1376
1376
  ...isControlled ? { value: contextValue } : {}
1377
1377
  }
1378
1378
  ),
1379
- subText && /* @__PURE__ */ jsxRuntime.jsx("span", { className: utils.cn(chunk3LVJLFY6_js.textFieldVariants.subText({ size, disabled })), children: subText })
1379
+ subText && /* @__PURE__ */ jsxRuntime.jsx("span", { className: utils.cn(chunk2JF444FU_js.textFieldVariants.subText({ size, disabled })), children: subText })
1380
1380
  ] }),
1381
1381
  rightIcon && /* @__PURE__ */ jsxRuntime.jsx(
1382
1382
  "span",
1383
1383
  {
1384
- className: utils.cn("flex items-center justify-center", chunk3LVJLFY6_js.textFieldVariants.icon({ size })),
1384
+ className: utils.cn("flex items-center justify-center", chunk2JF444FU_js.textFieldVariants.icon({ size })),
1385
1385
  children: rightIcon
1386
1386
  }
1387
1387
  )
@@ -1395,7 +1395,7 @@ TextField.Description = React.forwardRef(
1395
1395
  "p",
1396
1396
  {
1397
1397
  ref,
1398
- className: utils.cn(chunk3LVJLFY6_js.textFieldVariants.description({ size, error, disabled }), className),
1398
+ className: utils.cn(chunk2JF444FU_js.textFieldVariants.description({ size, error, disabled }), className),
1399
1399
  children
1400
1400
  }
1401
1401
  );
@@ -1514,7 +1514,7 @@ function ModalBody({
1514
1514
  scroll && "h-full [&_[data-slot=scroll-area-viewport]>div]:h-full"
1515
1515
  ),
1516
1516
  ...props,
1517
- children: scroll ? /* @__PURE__ */ jsxRuntime.jsx(chunk3LVJLFY6_js.ScrollArea, { className: "h-full flex flex-col", disableHorizontalScroll: !horizontalScroll, children: content }) : content
1517
+ children: scroll ? /* @__PURE__ */ jsxRuntime.jsx(chunk2JF444FU_js.ScrollArea, { className: "h-full flex flex-col", disableHorizontalScroll: !horizontalScroll, children: content }) : content
1518
1518
  }
1519
1519
  );
1520
1520
  }
@@ -1900,7 +1900,7 @@ Sheet.Body = React.forwardRef(
1900
1900
  ),
1901
1901
  ...props,
1902
1902
  children: /* @__PURE__ */ jsxRuntime.jsx(
1903
- chunk3LVJLFY6_js.ScrollArea,
1903
+ chunk2JF444FU_js.ScrollArea,
1904
1904
  {
1905
1905
  className: "h-full flex flex-col",
1906
1906
  disableHorizontalScroll,
@@ -2554,95 +2554,95 @@ var buttonize = (fn) => {
2554
2554
 
2555
2555
  Object.defineProperty(exports, "ColorPalette", {
2556
2556
  enumerable: true,
2557
- get: function () { return chunk3LVJLFY6_js.ColorPalette; }
2557
+ get: function () { return chunk2JF444FU_js.ColorPalette; }
2558
2558
  });
2559
2559
  Object.defineProperty(exports, "ColorPaletteColors", {
2560
2560
  enumerable: true,
2561
- get: function () { return chunk3LVJLFY6_js.ColorPaletteColors; }
2561
+ get: function () { return chunk2JF444FU_js.ColorPaletteColors; }
2562
2562
  });
2563
2563
  Object.defineProperty(exports, "Combobox", {
2564
2564
  enumerable: true,
2565
- get: function () { return chunk3LVJLFY6_js.Combobox; }
2565
+ get: function () { return chunk2JF444FU_js.Combobox; }
2566
2566
  });
2567
2567
  Object.defineProperty(exports, "ComboboxContent", {
2568
2568
  enumerable: true,
2569
- get: function () { return chunk3LVJLFY6_js.ComboboxContent; }
2569
+ get: function () { return chunk2JF444FU_js.ComboboxContent; }
2570
2570
  });
2571
2571
  Object.defineProperty(exports, "ComboboxDescription", {
2572
2572
  enumerable: true,
2573
- get: function () { return chunk3LVJLFY6_js.ComboboxDescription; }
2573
+ get: function () { return chunk2JF444FU_js.ComboboxDescription; }
2574
2574
  });
2575
2575
  Object.defineProperty(exports, "ComboboxEmpty", {
2576
2576
  enumerable: true,
2577
- get: function () { return chunk3LVJLFY6_js.ComboboxEmpty; }
2577
+ get: function () { return chunk2JF444FU_js.ComboboxEmpty; }
2578
2578
  });
2579
2579
  Object.defineProperty(exports, "ComboboxInput", {
2580
2580
  enumerable: true,
2581
- get: function () { return chunk3LVJLFY6_js.ComboboxInput; }
2581
+ get: function () { return chunk2JF444FU_js.ComboboxInput; }
2582
2582
  });
2583
2583
  Object.defineProperty(exports, "ComboboxItem", {
2584
2584
  enumerable: true,
2585
- get: function () { return chunk3LVJLFY6_js.ComboboxItem; }
2585
+ get: function () { return chunk2JF444FU_js.ComboboxItem; }
2586
2586
  });
2587
2587
  Object.defineProperty(exports, "ComboboxLabel", {
2588
2588
  enumerable: true,
2589
- get: function () { return chunk3LVJLFY6_js.ComboboxLabel; }
2589
+ get: function () { return chunk2JF444FU_js.ComboboxLabel; }
2590
2590
  });
2591
2591
  Object.defineProperty(exports, "ComboboxList", {
2592
2592
  enumerable: true,
2593
- get: function () { return chunk3LVJLFY6_js.ComboboxList; }
2593
+ get: function () { return chunk2JF444FU_js.ComboboxList; }
2594
2594
  });
2595
2595
  Object.defineProperty(exports, "ComboboxSearch", {
2596
2596
  enumerable: true,
2597
- get: function () { return chunk3LVJLFY6_js.ComboboxSearch; }
2597
+ get: function () { return chunk2JF444FU_js.ComboboxSearch; }
2598
2598
  });
2599
2599
  Object.defineProperty(exports, "ComboboxTrigger", {
2600
2600
  enumerable: true,
2601
- get: function () { return chunk3LVJLFY6_js.ComboboxTrigger; }
2601
+ get: function () { return chunk2JF444FU_js.ComboboxTrigger; }
2602
2602
  });
2603
2603
  Object.defineProperty(exports, "ComboboxValue", {
2604
2604
  enumerable: true,
2605
- get: function () { return chunk3LVJLFY6_js.ComboboxValue; }
2605
+ get: function () { return chunk2JF444FU_js.ComboboxValue; }
2606
2606
  });
2607
2607
  Object.defineProperty(exports, "DEFAULT_COLOR", {
2608
2608
  enumerable: true,
2609
- get: function () { return chunk3LVJLFY6_js.DEFAULT_COLOR; }
2609
+ get: function () { return chunk2JF444FU_js.DEFAULT_COLOR; }
2610
2610
  });
2611
2611
  Object.defineProperty(exports, "ScrollArea", {
2612
2612
  enumerable: true,
2613
- get: function () { return chunk3LVJLFY6_js.ScrollArea; }
2613
+ get: function () { return chunk2JF444FU_js.ScrollArea; }
2614
2614
  });
2615
2615
  Object.defineProperty(exports, "ScrollBar", {
2616
2616
  enumerable: true,
2617
- get: function () { return chunk3LVJLFY6_js.ScrollBar; }
2617
+ get: function () { return chunk2JF444FU_js.ScrollBar; }
2618
2618
  });
2619
2619
  Object.defineProperty(exports, "Segment", {
2620
2620
  enumerable: true,
2621
- get: function () { return chunk3LVJLFY6_js.Segment; }
2621
+ get: function () { return chunk2JF444FU_js.Segment; }
2622
2622
  });
2623
2623
  Object.defineProperty(exports, "Select", {
2624
2624
  enumerable: true,
2625
- get: function () { return chunk3LVJLFY6_js.Select; }
2625
+ get: function () { return chunk2JF444FU_js.Select; }
2626
2626
  });
2627
2627
  Object.defineProperty(exports, "Tabs", {
2628
2628
  enumerable: true,
2629
- get: function () { return chunk3LVJLFY6_js.Tabs; }
2629
+ get: function () { return chunk2JF444FU_js.Tabs; }
2630
2630
  });
2631
2631
  Object.defineProperty(exports, "Tooltip", {
2632
2632
  enumerable: true,
2633
- get: function () { return chunk3LVJLFY6_js.Tooltip; }
2633
+ get: function () { return chunk2JF444FU_js.Tooltip; }
2634
2634
  });
2635
2635
  Object.defineProperty(exports, "colorPaletteColorClasses", {
2636
2636
  enumerable: true,
2637
- get: function () { return chunk3LVJLFY6_js.colorPaletteColorClasses; }
2637
+ get: function () { return chunk2JF444FU_js.colorPaletteColorClasses; }
2638
2638
  });
2639
2639
  Object.defineProperty(exports, "getColorPaletteColor", {
2640
2640
  enumerable: true,
2641
- get: function () { return chunk3LVJLFY6_js.getColorPaletteColor; }
2641
+ get: function () { return chunk2JF444FU_js.getColorPaletteColor; }
2642
2642
  });
2643
2643
  Object.defineProperty(exports, "isInPalette", {
2644
2644
  enumerable: true,
2645
- get: function () { return chunk3LVJLFY6_js.isInPalette; }
2645
+ get: function () { return chunk2JF444FU_js.isInPalette; }
2646
2646
  });
2647
2647
  exports.Avatar = Avatar;
2648
2648
  exports.Badge = Badge;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { overlayListVariants, commonInputVariants, textFieldVariants, ScrollArea, ConditionalTooltip } from './chunk-BRB66UJW.mjs';
2
- export { ColorPalette, ColorPaletteColors, Combobox, ComboboxContent, ComboboxDescription, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSearch, ComboboxTrigger, ComboboxValue, DEFAULT_COLOR, ScrollArea, ScrollBar, Segment, Select, Tabs, Tooltip, colorPaletteColorClasses, getColorPaletteColor, isInPalette } from './chunk-BRB66UJW.mjs';
1
+ import { overlayListVariants, commonInputVariants, textFieldVariants, ScrollArea, ConditionalTooltip } from './chunk-QO7JYX6Q.mjs';
2
+ export { ColorPalette, ColorPaletteColors, Combobox, ComboboxContent, ComboboxDescription, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSearch, ComboboxTrigger, ComboboxValue, DEFAULT_COLOR, ScrollArea, ScrollBar, Segment, Select, Tabs, Tooltip, colorPaletteColorClasses, getColorPaletteColor, isInPalette } from './chunk-QO7JYX6Q.mjs';
3
3
  import { X, MoreHorizontal, iconSizes, Minus, Check, Person, Loading, Warning, Info, Error as Error$1, ChevronLeft, ChevronRight } from './chunk-DKADAZLG.mjs';
4
4
  import { cva, cn } from '@exem-ui/core/utils';
5
5
  import * as React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exem-ui/react",
3
- "version": "0.3.4-next.20261014050302",
3
+ "version": "0.3.4-next.20261014064943",
4
4
  "description": "Exem Design System - React Components",
5
5
  "author": "Exem Design Team",
6
6
  "license": "Apache-2.0",
@@ -87,7 +87,6 @@
87
87
  "@radix-ui/react-slot": "^1.2.3",
88
88
  "@radix-ui/react-switch": "^1.2.3",
89
89
  "@radix-ui/react-tabs": "^1.1.13",
90
- "@radix-ui/react-tooltip": "^1.2.8",
91
90
  "@tanstack/react-table": "^8.21.3",
92
91
  "@tanstack/react-virtual": "^3.13.16",
93
92
  "class-variance-authority": "^0.7.1",
@@ -100,7 +99,7 @@
100
99
  "tailwind-merge": "^3.3.1",
101
100
  "tailwind-scrollbar-hide": "^4.0.0",
102
101
  "tiny-invariant": "^1.3.3",
103
- "@exem-ui/core": "0.3.3-next.20261014050302"
102
+ "@exem-ui/core": "0.3.3-next.20261014064943"
104
103
  },
105
104
  "devDependencies": {
106
105
  "@eslint/js": "^9.15.0",
@@ -136,7 +135,7 @@
136
135
  "tsup": "^8.5.0",
137
136
  "typescript": "^5.8.2",
138
137
  "typescript-eslint": "^8.16.0",
139
- "@exem-ui/tailwindcss3": "0.3.2-next.20261014050302"
138
+ "@exem-ui/tailwindcss3": "0.3.2-next.20261014064943"
140
139
  },
141
140
  "scripts": {
142
141
  "generate": "node scripts/generate-icons.js",