@imfusion/web-ui 0.11.1-dev.87.g55c5e1df → 0.11.1-dev.88.gafff02ef

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/CHANGELOG.md CHANGED
@@ -14,7 +14,7 @@
14
14
  [RichLink](src/components/rich-link/rich-link.mdx) — Nikolaus Brunner <brunner@imfusion.com>
15
15
  - `Code.Inline` takes `concealable` to hide its content behind an eye button, hidden by default. `concealed` and
16
16
  `onConcealedChange` control it, `defaultConcealed` sets its start, and `concealedLength` sets the placeholder width before a
17
- value arrives. `copyConcealed` keeps copy working while hidden, `toggleLabel` names the eye button, and `size` (`sm`, `md`,
17
+ value arrives; showing or hiding a known value keeps the chip's width and height. `copyConcealed` keeps copy working while hidden, `toggleLabel` names the eye button, and `size` (`sm`, `md`,
18
18
  `lg`) sets the chip height.
19
19
  [Code](src/components/code/code.mdx) — Nikolaus Brunner <brunner@imfusion.com>
20
20
  - `Avatar` takes `size="xs"`, 16px with smaller initials, to sit in the slot of a 16px icon or swatch in a list row.
@@ -56,7 +56,7 @@ var k = /* @__PURE__ */ e({
56
56
  lg: D.sizeLg
57
57
  } } });
58
58
  function j({ copyable: e = !1, concealable: o = !1, concealed: s, onConcealedChange: c, defaultConcealed: l = !0, concealedLength: u = 8, copyConcealed: d = !1, size: f = "sm", toggleLabel: v = "Show", children: y, render: b, ...k }) {
59
- let [j, M] = S(l), N = o && (s ?? j), { copied: P, copy: F } = E(), I = x(null), L = P ? i : r, R = O(y), z = _.toArray(y).length === 0, B = o && (N || z), V = { "--conceal-length": R.length || u }, H = o && (z || N && !d);
59
+ let [j, M] = S(l), N = o && (s ?? j), { copied: P, copy: F } = E(), I = x(null), L = P ? i : r, R = O(y), z = _.toArray(y).length === 0, B = o && (N || z), V = R.length || u, H = o && (z || N && !d);
60
60
  function U(e) {
61
61
  s === void 0 && M(e), c?.(e);
62
62
  }
@@ -84,7 +84,7 @@ function j({ copyable: e = !1, concealable: o = !1, concealed: s, onConcealedCha
84
84
  role: "img",
85
85
  "aria-label": "Hidden",
86
86
  className: p(D.placeholder, !N && D.pending),
87
- style: V
87
+ children: "0".repeat(V)
88
88
  }) : /* @__PURE__ */ h("span", {
89
89
  ref: I,
90
90
  children: y
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { t as v } from "./meta-V_KyLeGn.js";
4
4
  import { a as le, i as ue, n as de, r as fe, t as pe } from "./toggle-group-CVQzM3lQ.js";
5
5
  import { a as y, i as me, n as he, o as ge, r as _e, t as ve } from "./utils-J6vbjIt1.js";
6
6
  import { a as ye, i as be, n as xe, o as Se, r as Ce, t as we } from "./row-CaeE5pqs.js";
7
- import { a as Te, o as Ee, r as De, t as Oe } from "./code-BtxeEf9P.js";
7
+ import { a as Te, o as Ee, r as De, t as Oe } from "./code-CROdrsNj.js";
8
8
  import { A as ke, D as Ae, M as je, N as Me, O as Ne, c as Pe, j as Fe, k as Ie, l as Le, m as Re, p as ze, s as Be, u as Ve } from "./tabs-BNz_OiWn.js";
9
9
  import { n as He, t as Ue } from "./toggle-group-ghJtINie.js";
10
10
  import { a as We, c as Ge, i as Ke, n as qe, o as Je, r as Ye, s as Xe, t as Ze } from "./scroll-area-CXQ_SxPX.js";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../rolldown-runtime-Dy4uBu1J.js";
2
2
  import { t } from "../meta-V_KyLeGn.js";
3
- import { i as n, n as r, r as i } from "../code-BtxeEf9P.js";
3
+ import { i as n, n as r, r as i } from "../code-CROdrsNj.js";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  import { cloneElement as o, useMemo as s } from "react";
6
6
  import { createHighlighter as c, defineLanguage as l, renderNodesToHtml as u, renderTokens as d } from "@tanstack/highlight/core";