@ai-matrx/records-ui 0.116.21 → 0.116.23

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.cjs CHANGED
@@ -9358,7 +9358,8 @@ function ColorWell({
9358
9358
  {
9359
9359
  id,
9360
9360
  "aria-label": label,
9361
- className: "h-7 min-w-0 max-w-32 font-mono text-xs uppercase",
9361
+ className: "h-7 shrink-0 font-mono text-xs uppercase",
9362
+ style: { width: "calc(9ch + 1.25rem)" },
9362
9363
  value: text,
9363
9364
  placeholder,
9364
9365
  disabled,
@@ -10534,6 +10535,7 @@ function tokensFromRows(rows, fields, titleField) {
10534
10535
  light[`text-${name}`] = dark[`text-${name}`] = `${style.size}px`;
10535
10536
  light[`weight-${name}`] = dark[`weight-${name}`] = String(style.weight);
10536
10537
  if (style.lineHeight) light[`leading-${name}`] = dark[`leading-${name}`] = `${style.lineHeight}px`;
10538
+ light[`tracking-${name}`] = dark[`tracking-${name}`] = `${style.letterSpacing ?? 0}em`;
10537
10539
  const first = style.font.split(",")[0].replace(/["']/g, "").trim();
10538
10540
  if (first && !fonts.includes(first)) fonts.push(first);
10539
10541
  }
@@ -63114,7 +63116,7 @@ function ValueCell({
63114
63116
  const side = part === "light" ? pair?.light : pair?.dark ?? void 0;
63115
63117
  const ratio = contrast[part];
63116
63118
  return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: "min-w-0 px-3", children: [
63117
- /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
63119
+ /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1", children: [
63118
63120
  editable ? /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
63119
63121
  ColorWell,
63120
63122
  {