@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.
@@ -3542,7 +3542,7 @@ function DataExplorerDetailField({
3542
3542
  "data-invalid": hasError || void 0,
3543
3543
  "data-required": required || void 0,
3544
3544
  className: cn(
3545
- "space-y-1",
3545
+ "min-w-0 space-y-1",
3546
3546
  disabled && "opacity-60",
3547
3547
  resolvedClassNames.root,
3548
3548
  field?.className,
@@ -3553,7 +3553,7 @@ function DataExplorerDetailField({
3553
3553
  "div",
3554
3554
  {
3555
3555
  className: cn(
3556
- "flex items-center gap-1.5 text-[13px] font-medium text-muted-foreground",
3556
+ "flex min-w-0 items-center gap-1.5 text-[13px] font-medium text-muted-foreground",
3557
3557
  resolvedClassNames.label
3558
3558
  ),
3559
3559
  children: [
@@ -3567,7 +3567,7 @@ function DataExplorerDetailField({
3567
3567
  children: icon
3568
3568
  }
3569
3569
  ) : null,
3570
- /* @__PURE__ */ jsx("span", { ...labelDataAttributes, children: label }),
3570
+ /* @__PURE__ */ jsx("span", { ...labelDataAttributes, className: "min-w-0 truncate", children: label }),
3571
3571
  required ? /* @__PURE__ */ jsx(
3572
3572
  "span",
3573
3573
  {
@@ -3584,7 +3584,7 @@ function DataExplorerDetailField({
3584
3584
  {
3585
3585
  ...valueDataAttributes,
3586
3586
  className: cn(
3587
- "text-[15px] leading-6 text-foreground",
3587
+ "min-w-0 max-w-full text-[15px] leading-6 text-foreground [overflow-wrap:anywhere]",
3588
3588
  resolvedClassNames.value,
3589
3589
  valueClassName
3590
3590
  ),
@@ -3597,7 +3597,7 @@ function DataExplorerDetailField({
3597
3597
  ...helperDataAttributes,
3598
3598
  "data-slot": "helper",
3599
3599
  className: cn(
3600
- "text-xs leading-5 text-muted-foreground",
3600
+ "min-w-0 max-w-full text-xs leading-5 text-muted-foreground [overflow-wrap:anywhere]",
3601
3601
  resolvedClassNames.helper
3602
3602
  ),
3603
3603
  children: helperText
@@ -3610,7 +3610,7 @@ function DataExplorerDetailField({
3610
3610
  role: "alert",
3611
3611
  "data-slot": "error",
3612
3612
  className: cn(
3613
- "text-xs leading-5 text-destructive-text",
3613
+ "min-w-0 max-w-full text-xs leading-5 text-destructive-text [overflow-wrap:anywhere]",
3614
3614
  resolvedClassNames.error
3615
3615
  ),
3616
3616
  children: error
@@ -5181,7 +5181,7 @@ function DataExplorerDisplayCard({
5181
5181
  "div",
5182
5182
  {
5183
5183
  className: cn(
5184
- "mt-1 text-sm text-muted-foreground",
5184
+ "mt-1 min-w-0 text-sm text-muted-foreground [overflow-wrap:anywhere]",
5185
5185
  classNames?.description
5186
5186
  ),
5187
5187
  children: description
@@ -5198,12 +5198,12 @@ function DataExplorerDisplayCard({
5198
5198
  }
5199
5199
  ) : null
5200
5200
  ] }) }),
5201
- meta || actions ? /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
5201
+ meta || actions ? /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
5202
5202
  meta ? /* @__PURE__ */ jsx(
5203
5203
  "div",
5204
5204
  {
5205
5205
  className: cn(
5206
- "text-sm text-muted-foreground",
5206
+ "min-w-0 max-w-[12rem] truncate text-sm text-muted-foreground",
5207
5207
  classNames?.meta
5208
5208
  ),
5209
5209
  children: meta
@@ -5213,7 +5213,7 @@ function DataExplorerDisplayCard({
5213
5213
  "div",
5214
5214
  {
5215
5215
  className: cn(
5216
- "flex items-center gap-2",
5216
+ "flex shrink-0 items-center gap-2",
5217
5217
  classNames?.actions
5218
5218
  ),
5219
5219
  children: actions
@@ -6851,7 +6851,7 @@ function DataExplorerUploadSurface({
6851
6851
  setIsDragging(false);
6852
6852
  emitFiles(event.dataTransfer.files);
6853
6853
  };
6854
- const renderText = (value, fallbackClassName, slot) => value ? /* @__PURE__ */ jsx("span", { "data-slot": slot, className: cn(fallbackClassName), children: value }) : null;
6854
+ const renderText = (value, fallbackClassName, slot) => value ? /* @__PURE__ */ jsx("span", { "data-slot": slot, className: cn("max-w-full [overflow-wrap:anywhere]", fallbackClassName), children: value }) : null;
6855
6855
  return /* @__PURE__ */ jsxs(
6856
6856
  "div",
6857
6857
  {