@imfusion/web-ui 0.11.1-dev.66.g88142bbf → 0.11.1-dev.69.g3e238cc2

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.
@@ -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-BaLXMEMa.js";
3
+ import { i as n, n as r, r as i } from "../code-72NzL5Cp.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";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../meta-V_KyLeGn.js";
2
- import { n as t, t as n } from "../toggle-group-eGr6_hgQ.js";
2
+ import { n as t, t as n } from "../toggle-group-CVQzM3lQ.js";
3
3
  import { n as r, t as i } from "../row-CImu8yXV.js";
4
4
  import { t as a } from "../scroll-area-CXQ_SxPX.js";
5
5
  import { a as o, i as s, n as c, o as l, r as u, s as d, t as f } from "../slider-CpIZMAFl.js";
@@ -1,8 +1,8 @@
1
- import { Qh as e, Xh as t, Zh as n, _M as r, tg as i } from "../icons-vc1WZCxX.js";
1
+ import { $h as e, Qh as t, Zh as n, ng as r, vM as i } from "../icons-CMetKl2x.js";
2
2
  import { t as a } from "../meta-V_KyLeGn.js";
3
- import { n as o, t as s } from "../toggle-group-eGr6_hgQ.js";
3
+ import { n as o, t as s } from "../toggle-group-CVQzM3lQ.js";
4
4
  import { a as c } from "../utils-J6vbjIt1.js";
5
- import "../toggle-group-Bhb3qicp.js";
5
+ import "../toggle-group-ghJtINie.js";
6
6
  import { cva as l } from "class-variance-authority";
7
7
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
8
  import { useLayoutMode as f } from "@imfusion/sdk-react";
@@ -16,11 +16,11 @@ var p = {
16
16
  } } }), h = [
17
17
  {
18
18
  mode: "Auto",
19
- glyph: t
19
+ glyph: n
20
20
  },
21
21
  {
22
22
  mode: "Rows",
23
- glyph: i
23
+ glyph: r
24
24
  },
25
25
  {
26
26
  mode: "FocusPlusStack",
@@ -28,13 +28,13 @@ var p = {
28
28
  },
29
29
  {
30
30
  mode: "FocusPlusRows",
31
- glyph: n
31
+ glyph: t
32
32
  }
33
33
  ];
34
34
  function g(e) {
35
35
  return h.some((t) => t.mode === e);
36
36
  }
37
- function _({ mode: e, onModeChange: t, variant: n = "compact", label: i = "Layout", autoLabel: a = "Auto", rowsLabel: l = "Rows", focusPlusStackLabel: f = "Focus + stack", focusPlusRowsLabel: _ = "Focus + rows", orientation: v = "horizontal", className: y, ...b }) {
37
+ function _({ mode: e, onModeChange: t, variant: n = "compact", label: r = "Layout", autoLabel: a = "Auto", rowsLabel: l = "Rows", focusPlusStackLabel: f = "Focus + stack", focusPlusRowsLabel: _ = "Focus + rows", orientation: v = "horizontal", className: y, ...b }) {
38
38
  let x = {
39
39
  Auto: a,
40
40
  Rows: l,
@@ -45,7 +45,7 @@ function _({ mode: e, onModeChange: t, variant: n = "compact", label: i = "Layou
45
45
  g(e[0]) && t(e[0]);
46
46
  }
47
47
  return /* @__PURE__ */ u(s, {
48
- "aria-label": i,
48
+ "aria-label": r,
49
49
  ...b,
50
50
  orientation: S ? "vertical" : v,
51
51
  className: (e) => m({
@@ -58,7 +58,7 @@ function _({ mode: e, onModeChange: t, variant: n = "compact", label: i = "Layou
58
58
  value: e,
59
59
  "aria-label": S ? void 0 : x[e],
60
60
  className: p.toggle,
61
- children: [/* @__PURE__ */ u(r, {
61
+ children: [/* @__PURE__ */ u(i, {
62
62
  glyph: t,
63
63
  size: 16,
64
64
  "aria-hidden": !0
@@ -1,7 +1,7 @@
1
- import { _M as e, ek as t, fM as n, hl as r, vC as i } from "../icons-vc1WZCxX.js";
1
+ import { hl as e, pM as t, tk as n, vM as r, yC as i } from "../icons-CMetKl2x.js";
2
2
  import { t as a } from "../meta-V_KyLeGn.js";
3
- import { n as o, t as s } from "../toggle-group-eGr6_hgQ.js";
4
- import { n as c } from "../icon-button-roSB497o.js";
3
+ import { n as o, t as s } from "../toggle-group-CVQzM3lQ.js";
4
+ import { n as c } from "../icon-button-Crda0wHe.js";
5
5
  import { n as l, t as u } from "../row-CImu8yXV.js";
6
6
  import { cva as d } from "class-variance-authority";
7
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -48,14 +48,14 @@ function b() {
48
48
  //#endregion
49
49
  //#region src/integrations/view-tools/view-tools-view.tsx
50
50
  var x = d({ root: "imf-ui-view-tools-module-root" }.root), S = {
51
- Pan: r,
52
- Zoom: n,
53
- Windowing: t
51
+ Pan: e,
52
+ Zoom: t,
53
+ Windowing: n
54
54
  };
55
55
  function C(e) {
56
56
  return typeof e == "string" && Object.hasOwn(S, e);
57
57
  }
58
- function w({ viewInteraction: t, onViewInteractionChange: n, onReset: r, orientation: a = "horizontal", "aria-label": d = "View tools", className: m, ...h }) {
58
+ function w({ viewInteraction: e, onViewInteractionChange: t, onReset: n, orientation: a = "horizontal", "aria-label": d = "View tools", className: m, ...h }) {
59
59
  let g = a === "vertical" ? l : u;
60
60
  return /* @__PURE__ */ f("div", {
61
61
  role: "group",
@@ -69,23 +69,23 @@ function w({ viewInteraction: t, onViewInteractionChange: n, onReset: r, orienta
69
69
  align: "center",
70
70
  children: [/* @__PURE__ */ f(s, {
71
71
  orientation: a,
72
- value: t === "Default" ? [] : [t],
72
+ value: e === "Default" ? [] : [e],
73
73
  onValueChange: (e) => {
74
- n(C(e[0]) ? e[0] : "Default");
74
+ t(C(e[0]) ? e[0] : "Default");
75
75
  },
76
- children: Object.entries(S).map(([t, n]) => /* @__PURE__ */ f(o, {
77
- value: t,
78
- "aria-label": t,
79
- children: /* @__PURE__ */ f(e, {
80
- glyph: n,
76
+ children: Object.entries(S).map(([e, t]) => /* @__PURE__ */ f(o, {
77
+ value: e,
78
+ "aria-label": e,
79
+ children: /* @__PURE__ */ f(r, {
80
+ glyph: t,
81
81
  "aria-hidden": !0
82
82
  })
83
- }, t))
83
+ }, e))
84
84
  }), /* @__PURE__ */ f(c, {
85
85
  glyph: i,
86
86
  label: "Reset view",
87
87
  variant: "ghost",
88
- onClick: r
88
+ onClick: n
89
89
  })]
90
90
  })
91
91
  });