@exem-ui/react 0.3.4-next.20260702065311 → 0.3.4-next.20260713005253

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { ConditionalTooltip, overlayListVariants, commonInputVariants } from './chunk-DHEC52AV.mjs';
2
- export { ColorPalette, ColorPaletteColors, DEFAULT_COLOR, Segment, Select, Tabs, Tooltip, colorPaletteColorClasses, getColorPaletteColor, isInPalette } from './chunk-DHEC52AV.mjs';
1
+ import { ConditionalTooltip, overlayListVariants, commonInputVariants } from './chunk-HCPEPSQY.mjs';
2
+ export { ColorPalette, ColorPaletteColors, DEFAULT_COLOR, Segment, Select, Tabs, Tooltip, colorPaletteColorClasses, getColorPaletteColor, isInPalette } from './chunk-HCPEPSQY.mjs';
3
3
  import { X, MoreHorizontal, iconSizes, Minus, Check, Person, Warning, Info, Error as Error$1, ChevronLeft, ChevronRight } from './chunk-MSA6TY4M.mjs';
4
4
  import { cva, cn } from '@exem-ui/core/utils';
5
5
  import * as React from 'react';
@@ -1175,7 +1175,8 @@ var textAreaVariants = {
1175
1175
  variants: {
1176
1176
  variant: {
1177
1177
  fill: "border-transparent bg-elevation-elevation-2",
1178
- line: "border-border-primary"
1178
+ line: "border-border-primary",
1179
+ lineBackground: "border-border-primary bg-background-primary"
1179
1180
  },
1180
1181
  size: {
1181
1182
  xsmall: "min-h-[60px] px-1.5 py-[3.5px] text-body-3",
@@ -1200,7 +1201,10 @@ var textAreaVariants = {
1200
1201
  },
1201
1202
  { variant: "line", state: "focused", class: "border-border-focused" },
1202
1203
  { variant: "line", state: "error", class: "border-border-critical" },
1203
- { variant: "line", state: "disabled", class: "border-border-primary" }
1204
+ { variant: "line", state: "disabled", class: "border-border-primary" },
1205
+ { variant: "lineBackground", state: "focused", class: "border-border-focused" },
1206
+ { variant: "lineBackground", state: "error", class: "border-border-critical" },
1207
+ { variant: "lineBackground", state: "disabled", class: "border-border-primary" }
1204
1208
  ],
1205
1209
  defaultVariants: { variant: "fill", size: "medium", state: "default" }
1206
1210
  }
@@ -1248,7 +1252,7 @@ var TextArea = React.forwardRef(
1248
1252
  TextAreaContext.Provider,
1249
1253
  {
1250
1254
  value: { variant, size, error, disabled, id, value, maxLength, onChange },
1251
- children: /* @__PURE__ */ jsx("div", { ref, className: cn(textAreaVariants.container, className), children: children || /* @__PURE__ */ jsx(TextArea.Field, { ...restTextAreaProps }) })
1255
+ children: /* @__PURE__ */ jsx("div", { ref, className: cn(textAreaVariants.container(), className), children: children || /* @__PURE__ */ jsx(TextArea.Field, { ...restTextAreaProps }) })
1252
1256
  }
1253
1257
  );
1254
1258
  }
@@ -1353,7 +1357,8 @@ var textFieldVariants = {
1353
1357
  variants: {
1354
1358
  variant: {
1355
1359
  fill: "border-transparent bg-elevation-elevation-2",
1356
- line: "border-border-primary"
1360
+ line: "border-border-primary",
1361
+ lineBackground: "border-border-primary bg-background-primary"
1357
1362
  },
1358
1363
  size: {
1359
1364
  xsmall: "h-6 gap-0 px-1",
@@ -1375,7 +1380,9 @@ var textFieldVariants = {
1375
1380
  class: "bg-elevation-elevation-2 border-transparent"
1376
1381
  },
1377
1382
  { variant: "line", state: "error", class: "border-border-critical" },
1378
- { variant: "line", state: "disabled", class: "border-border-primary" }
1383
+ { variant: "line", state: "disabled", class: "border-border-primary" },
1384
+ { variant: "lineBackground", state: "error", class: "border-border-critical" },
1385
+ { variant: "lineBackground", state: "disabled", class: "border-border-primary" }
1379
1386
  ],
1380
1387
  defaultVariants: { variant: "fill", size: "medium", state: "default" }
1381
1388
  }
@@ -1468,7 +1475,7 @@ var TextField = forwardRef(
1468
1475
  }, ref) => {
1469
1476
  const uniqueId = useId();
1470
1477
  const id = providedId || `text-field-${uniqueId}`;
1471
- return /* @__PURE__ */ jsx(TextFieldContext.Provider, { value: { variant, size, error, disabled, id, value, onChange }, children: /* @__PURE__ */ jsx("div", { ref, className: cn(textFieldVariants.container, className), children: children || /* @__PURE__ */ jsx(TextField.Input, { ...inputProps }) }) });
1478
+ return /* @__PURE__ */ jsx(TextFieldContext.Provider, { value: { variant, size, error, disabled, id, value, onChange }, children: /* @__PURE__ */ jsx("div", { ref, className: cn(textFieldVariants.container(), className), children: children || /* @__PURE__ */ jsx(TextField.Input, { ...inputProps }) }) });
1472
1479
  }
1473
1480
  );
1474
1481
  TextField.Label = forwardRef(
@@ -1681,7 +1688,7 @@ Modal.Content = forwardRef(
1681
1688
  ref,
1682
1689
  className: cn(
1683
1690
  // 공통 스타일
1684
- "fixed z-50 flex flex-col rounded-strong border border-border-primary bg-elevation-elevation-0 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
1691
+ "fixed z-50 flex flex-col rounded-strong border border-border-primary bg-background-primary duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
1685
1692
  // fullsize일 때
1686
1693
  isFullSize ? "inset-0 m-10" : (
1687
1694
  // 일반 모달일 때
@@ -1927,13 +1934,13 @@ var SheetResizableBox = ({ side, options, children }) => {
1927
1934
  onResizeStart: () => setResizing(true),
1928
1935
  onResizeStop: handleResizeStop,
1929
1936
  handleComponent,
1930
- className: "flex min-h-0 flex-col bg-elevation-elevation-0 shadow-strong",
1937
+ className: "flex min-h-0 flex-col bg-background-primary shadow-strong",
1931
1938
  children
1932
1939
  }
1933
1940
  );
1934
1941
  };
1935
1942
  var SHEET_CONTENT_BASE = "fixed z-50 data-[state=open]:duration-300 data-[state=closed]:duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0";
1936
- var SHEET_CONTENT_BOX = "flex flex-col border-border-primary bg-elevation-elevation-0 shadow-strong";
1943
+ var SHEET_CONTENT_BOX = "flex flex-col border-border-primary bg-background-primary shadow-strong";
1937
1944
  var SHEET_SIDE_CLASSES = {
1938
1945
  right: "inset-y-0 right-0 h-full w-[800px] max-w-[calc(100vw-var(--sheet-edge-gap))] border-l data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right",
1939
1946
  left: "inset-y-0 left-0 h-full w-[800px] max-w-[calc(100vw-var(--sheet-edge-gap))] border-r data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left",