@exem-ui/react 0.3.4-next.20261014014656 → 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.
@@ -1,14 +1,14 @@
1
- import { ChevronDown, Search, Check } from './chunk-DKADAZLG.mjs';
1
+ import { iconSizes, ChevronDown, Search, Check } from './chunk-DKADAZLG.mjs';
2
2
  import { cva, cn } from '@exem-ui/core/utils';
3
3
  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, 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" },
@@ -869,6 +869,7 @@ var segmentListVariants = cva(
869
869
  {
870
870
  variants: {
871
871
  size: {
872
+ xsmall: "h-6 gap-0 p-0.5",
872
873
  small: "h-7 gap-0 p-0.5",
873
874
  medium: "h-8 gap-0 p-0.5",
874
875
  large: "h-10 gap-0 p-0.5"
@@ -885,12 +886,14 @@ var segmentItemVariants = cva(
885
886
  "focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring",
886
887
  "disabled:cursor-not-allowed",
887
888
  "data-[state=active]:bg-component-segmentedOption data-[state=active]:text-text-primary data-[state=active]:shadow-weak",
889
+ "[&[data-state=active]>svg]:text-icon-secondary",
888
890
  "data-[state=inactive]:text-text-tertiary data-[state=inactive]:disabled:text-text-disabled",
889
891
  "transition-colors duration-200 ease-in-out"
890
892
  ],
891
893
  {
892
894
  variants: {
893
895
  size: {
896
+ xsmall: "h-5 gap-0.5 text-caption font-medium",
894
897
  small: "h-6 gap-0.5 text-body-3 font-medium",
895
898
  medium: "h-7 gap-1 text-body-2 font-medium",
896
899
  large: "h-9 gap-1.5 text-body-2 font-medium"
@@ -901,18 +904,12 @@ var segmentItemVariants = cva(
901
904
  }
902
905
  }
903
906
  );
904
- var segmentIconVariants = cva("flex items-center justify-center", {
905
- variants: {
906
- size: {
907
- small: "size-4",
908
- medium: "size-4",
909
- large: "size-5"
910
- }
911
- },
912
- defaultVariants: {
913
- size: "medium"
914
- }
915
- });
907
+ var segmentIconSizeMap = {
908
+ xsmall: iconSizes.xs,
909
+ small: iconSizes.sm,
910
+ medium: iconSizes.sm,
911
+ large: iconSizes.md
912
+ };
916
913
  var SegmentContext = createContext(void 0);
917
914
  var useSegmentContext = () => {
918
915
  const context = useContext(SegmentContext);
@@ -947,7 +944,7 @@ Segment.Item = forwardRef(
947
944
  className: cn(segmentItemVariants({ size }), className),
948
945
  ...props,
949
946
  children: [
950
- leftIcon && /* @__PURE__ */ jsx("span", { className: cn(segmentIconVariants({ size })), children: leftIcon }),
947
+ leftIcon && cloneElement(leftIcon, { size: segmentIconSizeMap[size] }),
951
948
  /* @__PURE__ */ jsx("span", { className: "flex items-center", children })
952
949
  ]
953
950
  }
@@ -1370,83 +1367,159 @@ function FlatTabs({
1370
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)) }) });
1371
1368
  }
1372
1369
  FlatTabs.displayName = "FlatTabs";
1373
- var tooltipContentVariants = cva(
1374
- [
1375
- // Base layout
1376
- "z-50 flex flex-col items-start overflow-hidden",
1377
- "rounded-medium",
1378
- "text-text-static-light",
1379
- "bg-component-tooltip border border-border-primary",
1380
- "shadow-medium",
1381
- "animate-in fade-in-0 zoom-in-95",
1382
- "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
1383
- "data-[side=bottom]:slide-in-from-top-2",
1384
- "data-[side=left]:slide-in-from-right-2",
1385
- "data-[side=right]:slide-in-from-left-2",
1386
- "data-[side=top]:slide-in-from-bottom-2"
1387
- ],
1388
- {
1389
- variants: {
1390
- size: {
1391
- tiny: "px-2 py-1 text-body-3",
1392
- small: "w-[160px] gap-[8px] px-[12px] py-[10px]",
1393
- medium: "w-[240px] gap-[8px] px-[12px] py-[10px]",
1394
- large: "w-[320px] gap-[8px] px-[12px] py-[10px]",
1395
- xlarge: "w-[400px] gap-[8px] px-[12px] py-[10px]"
1396
- }
1397
- },
1398
- defaultVariants: { size: "small" }
1399
- }
1400
- );
1401
- var tooltipTitleVariants = cva([
1402
- "text-body-1 font-semibold text-text-static-light",
1403
- "group-data-[size=tiny]/tooltip-content:text-body-3"
1404
- ]);
1405
- var tooltipTextVariants = cva([
1406
- "text-body-2 font-regular text-text-static-light",
1407
- "group-data-[size=tiny]/tooltip-content:text-body-3"
1408
- ]);
1409
- var Tooltip = TooltipPrimitive.Root;
1410
- Tooltip.Provider = TooltipPrimitive.Provider;
1411
- Tooltip.Trigger = TooltipPrimitive.Trigger;
1412
- Tooltip.Content = forwardRef(({ className, sideOffset = 4, size, children, portalContainer, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
1413
- TooltipPrimitive.Content,
1414
- {
1415
- ref,
1416
- sideOffset,
1417
- "data-size": size,
1418
- className: cn("group/tooltip-content", tooltipContentVariants({ size }), className),
1419
- ...props,
1420
- 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;
1421
1507
  }
1422
- ) }));
1423
- Tooltip.Title = forwardRef(
1424
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn(tooltipTitleVariants(), className), ...props, children })
1425
- );
1426
- Tooltip.Description = forwardRef(
1427
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn(tooltipTextVariants(), className), ...props, children })
1428
- );
1429
- Tooltip.displayName = "Tooltip";
1430
- Tooltip.Content.displayName = "Tooltip.Content";
1431
- Tooltip.Title.displayName = "Tooltip.Title";
1432
- Tooltip.Description.displayName = "Tooltip.Description";
1433
- Tooltip.Trigger.displayName = "Tooltip.Trigger";
1434
- Tooltip.Provider.displayName = "Tooltip.Provider";
1435
- var FlatTooltip = ({ children, title, size, description, ...props }) => {
1436
- return /* @__PURE__ */ jsx(Tooltip.Provider, { delayDuration: 0, skipDelayDuration: 0, children: /* @__PURE__ */ jsxs(Tooltip, { children: [
1437
- /* @__PURE__ */ jsx(Tooltip.Trigger, { asChild: true, children }),
1508
+ return /* @__PURE__ */ jsxs(Tooltip, { children: [
1509
+ /* @__PURE__ */ jsx(Tooltip.Trigger, { render: children, delay, closeDelay }),
1438
1510
  /* @__PURE__ */ jsxs(Tooltip.Content, { size, ...props, children: [
1439
1511
  title && /* @__PURE__ */ jsx(Tooltip.Title, { children: title }),
1440
1512
  description && /* @__PURE__ */ jsx(Tooltip.Description, { children: description })
1441
1513
  ] })
1442
- ] }) });
1514
+ ] });
1443
1515
  };
1444
1516
  function ConditionalTooltip({ children, tooltip }) {
1445
1517
  if (typeof tooltip === "string") {
1446
1518
  return /* @__PURE__ */ jsx(FlatTooltip, { size: "tiny", description: tooltip, children });
1447
1519
  }
1448
1520
  if (tooltip && typeof tooltip === "object" && "description" in tooltip && tooltip.use !== false) {
1449
- 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 });
1450
1523
  }
1451
1524
  return children;
1452
1525
  }
@@ -1,13 +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-CQYzMWkr.mjs';
3
- export { Q as ConditionalTooltip, a as ConditionalTooltipProps, R as FlatTooltip, O as FlatTooltipProps, P as TooltipConfig } from '../FlatTooltip-CQYzMWkr.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
+ import '../types-xnO0gkCW.mjs';
7
8
  import '@radix-ui/react-select';
8
- import 'class-variance-authority/types';
9
+ import '@base-ui/react/tooltip';
9
10
  import '@exem-ui/core/utils';
10
- import '@radix-ui/react-tooltip';
11
+ import 'class-variance-authority/types';
11
12
 
12
13
  type FlatColorPaletteProps<P extends readonly ColorPaletteColor[] = readonly ColorPaletteColor[]> = Omit<ColorPaletteProps, 'value' | 'defaultValue' | 'onValueChange' | 'children'> & {
13
14
  /** 표시할 색상 팔레트. 소비자가 직접 구성하며 `ColorPaletteColors` 상수로 작성하면 오타가 잡힙니다. */
@@ -1,13 +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-CQYzMWkr.js';
3
- export { Q as ConditionalTooltip, a as ConditionalTooltipProps, R as FlatTooltip, O as FlatTooltipProps, P as TooltipConfig } from '../FlatTooltip-CQYzMWkr.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
+ import '../types-xnO0gkCW.js';
7
8
  import '@radix-ui/react-select';
8
- import 'class-variance-authority/types';
9
+ import '@base-ui/react/tooltip';
9
10
  import '@exem-ui/core/utils';
10
- import '@radix-ui/react-tooltip';
11
+ import 'class-variance-authority/types';
11
12
 
12
13
  type FlatColorPaletteProps<P extends readonly ColorPaletteColor[] = readonly ColorPaletteColor[]> = Omit<ColorPaletteProps, 'value' | 'defaultValue' | 'onValueChange' | 'children'> & {
13
14
  /** 표시할 색상 팔레트. 소비자가 직접 구성하며 `ColorPaletteColors` 상수로 작성하면 오타가 잡힙니다. */
@@ -1,35 +1,35 @@
1
1
  'use strict';
2
2
 
3
- var chunkMC4SYR5X_js = require('../chunk-MC4SYR5X.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 chunkMC4SYR5X_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 chunkMC4SYR5X_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 chunkMC4SYR5X_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 chunkMC4SYR5X_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 chunkMC4SYR5X_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 chunkMC4SYR5X_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 chunkMC4SYR5X_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-5SYAB4WP.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-CQYzMWkr.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-CQYzMWkr.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-CQYzMWkr.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-CQYzMWkr.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
  /** 사용자 이름. 이미지가 없을 때 이니셜 폴백에 사용됩니다. */