@inf-monkeys-tech/monkeys-design 2.0.14 → 2.0.15

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
@@ -23454,7 +23454,7 @@ function DataExplorerDetailField({
23454
23454
  "data-invalid": hasError || void 0,
23455
23455
  "data-required": required || void 0,
23456
23456
  className: cn3(
23457
- "space-y-1",
23457
+ "min-w-0 space-y-1",
23458
23458
  disabled && "opacity-60",
23459
23459
  resolvedClassNames.root,
23460
23460
  field?.className,
@@ -23465,7 +23465,7 @@ function DataExplorerDetailField({
23465
23465
  "div",
23466
23466
  {
23467
23467
  className: cn3(
23468
- "flex items-center gap-1.5 text-[13px] font-medium text-muted-foreground",
23468
+ "flex min-w-0 items-center gap-1.5 text-[13px] font-medium text-muted-foreground",
23469
23469
  resolvedClassNames.label
23470
23470
  ),
23471
23471
  children: [
@@ -23479,7 +23479,7 @@ function DataExplorerDetailField({
23479
23479
  children: icon
23480
23480
  }
23481
23481
  ) : null,
23482
- /* @__PURE__ */ jsx("span", { ...labelDataAttributes, children: label }),
23482
+ /* @__PURE__ */ jsx("span", { ...labelDataAttributes, className: "min-w-0 truncate", children: label }),
23483
23483
  required ? /* @__PURE__ */ jsx(
23484
23484
  "span",
23485
23485
  {
@@ -23496,7 +23496,7 @@ function DataExplorerDetailField({
23496
23496
  {
23497
23497
  ...valueDataAttributes,
23498
23498
  className: cn3(
23499
- "text-[15px] leading-6 text-foreground",
23499
+ "min-w-0 max-w-full text-[15px] leading-6 text-foreground [overflow-wrap:anywhere]",
23500
23500
  resolvedClassNames.value,
23501
23501
  valueClassName
23502
23502
  ),
@@ -23509,7 +23509,7 @@ function DataExplorerDetailField({
23509
23509
  ...helperDataAttributes,
23510
23510
  "data-slot": "helper",
23511
23511
  className: cn3(
23512
- "text-xs leading-5 text-muted-foreground",
23512
+ "min-w-0 max-w-full text-xs leading-5 text-muted-foreground [overflow-wrap:anywhere]",
23513
23513
  resolvedClassNames.helper
23514
23514
  ),
23515
23515
  children: helperText
@@ -23522,7 +23522,7 @@ function DataExplorerDetailField({
23522
23522
  role: "alert",
23523
23523
  "data-slot": "error",
23524
23524
  className: cn3(
23525
- "text-xs leading-5 text-destructive-text",
23525
+ "min-w-0 max-w-full text-xs leading-5 text-destructive-text [overflow-wrap:anywhere]",
23526
23526
  resolvedClassNames.error
23527
23527
  ),
23528
23528
  children: error
@@ -24410,7 +24410,7 @@ function DataExplorerDisplayCard({
24410
24410
  "div",
24411
24411
  {
24412
24412
  className: cn3(
24413
- "mt-1 text-sm text-muted-foreground",
24413
+ "mt-1 min-w-0 text-sm text-muted-foreground [overflow-wrap:anywhere]",
24414
24414
  classNames?.description
24415
24415
  ),
24416
24416
  children: description
@@ -24427,12 +24427,12 @@ function DataExplorerDisplayCard({
24427
24427
  }
24428
24428
  ) : null
24429
24429
  ] }) }),
24430
- meta || actions ? /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
24430
+ meta || actions ? /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
24431
24431
  meta ? /* @__PURE__ */ jsx(
24432
24432
  "div",
24433
24433
  {
24434
24434
  className: cn3(
24435
- "text-sm text-muted-foreground",
24435
+ "min-w-0 max-w-[12rem] truncate text-sm text-muted-foreground",
24436
24436
  classNames?.meta
24437
24437
  ),
24438
24438
  children: meta
@@ -24442,7 +24442,7 @@ function DataExplorerDisplayCard({
24442
24442
  "div",
24443
24443
  {
24444
24444
  className: cn3(
24445
- "flex items-center gap-2",
24445
+ "flex shrink-0 items-center gap-2",
24446
24446
  classNames?.actions
24447
24447
  ),
24448
24448
  children: actions
@@ -26051,7 +26051,7 @@ function DataExplorerUploadSurface({
26051
26051
  setIsDragging(false);
26052
26052
  emitFiles(event.dataTransfer.files);
26053
26053
  };
26054
- const renderText = (value, fallbackClassName, slot) => value ? /* @__PURE__ */ jsx("span", { "data-slot": slot, className: cn3(fallbackClassName), children: value }) : null;
26054
+ const renderText = (value, fallbackClassName, slot) => value ? /* @__PURE__ */ jsx("span", { "data-slot": slot, className: cn3("max-w-full [overflow-wrap:anywhere]", fallbackClassName), children: value }) : null;
26055
26055
  return /* @__PURE__ */ jsxs(
26056
26056
  "div",
26057
26057
  {