@danxbot/ui 20.3.1 → 20.3.3

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.js CHANGED
@@ -14044,7 +14044,7 @@ function at({
14044
14044
  }
14045
14045
  const NF = pt({
14046
14046
  base: [
14047
- "inline-flex items-center gap-1.5 whitespace-nowrap font-semibold",
14047
+ "inline-flex max-w-full items-center gap-1.5 whitespace-nowrap font-semibold",
14048
14048
  "border transition-colors duration-(--dur-fast)"
14049
14049
  ],
14050
14050
  variants: {
@@ -14127,7 +14127,7 @@ function dt({
14127
14127
  )
14128
14128
  ] }),
14129
14129
  o,
14130
- a,
14130
+ /* @__PURE__ */ u("span", { className: "min-w-0 truncate", children: a }),
14131
14131
  i && /* @__PURE__ */ u(
14132
14132
  "button",
14133
14133
  {
@@ -43026,11 +43026,21 @@ function Ri({
43026
43026
  function ef({
43027
43027
  primary: e,
43028
43028
  secondary: t,
43029
- mono: n = !1
43029
+ mono: n = !1,
43030
+ wrapSecondary: r = !1
43030
43031
  }) {
43031
43032
  return /* @__PURE__ */ I("div", { className: "min-w-0", children: [
43032
43033
  /* @__PURE__ */ u("div", { className: B("truncate font-medium text-primary", n && "font-mono text-xs"), children: e }),
43033
- t && /* @__PURE__ */ u("div", { className: "mt-0.5 truncate text-xs text-tertiary", children: t })
43034
+ t && /* @__PURE__ */ u(
43035
+ "div",
43036
+ {
43037
+ className: B(
43038
+ "mt-0.5 text-xs text-tertiary",
43039
+ r ? "whitespace-normal break-words" : "truncate"
43040
+ ),
43041
+ children: t
43042
+ }
43043
+ )
43034
43044
  ] });
43035
43045
  }
43036
43046
  const m0 = pt({