@imfusion/web-ui 0.11.1-dev.47.g23180a23 → 0.11.1-dev.48.g0fcb0d30

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
@@ -36,6 +36,11 @@
36
36
  - `@imfusion/web-ui/icons` adds four viewport layout icons in the Layout category: `LayoutAuto`, `LayoutRows`,
37
37
  `LayoutFocusPlusStack`, and `LayoutFocusPlusRows`. [Iconography](src/icons/iconography.stories.tsx#Iconography)
38
38
  — Stephan Wenninger <wenninger@imfusion.com>
39
+ - `LayoutMode` is new, from `@imfusion/web-ui/integrations/layout-mode`. It switches the ImFusion Web SDK viewer between
40
+ Auto, Rows, Focus + stack, and Focus + rows through `useLayoutMode`. `variant="compact"` is a row of icon toggles and
41
+ `variant="labeled"` a vertical list with each mode's name beside its icon; every name can be replaced through its label
42
+ prop. [LayoutMode](src/integrations/layout-mode/layout-mode.mdx)
43
+ ([WEBSDK-292](https://imfusion.atlassian.net/browse/WEBSDK-292)) — Stephan Wenninger <wenninger@imfusion.com>
39
44
  - `Typo.UnorderedList` takes `markerVariant` to colour its dash apart from the text, such as the brand dash on main text.
40
45
  [Typo](src/components/typo/typo.stories.tsx#MarkerVariant) — Nikolaus Brunner <brunner@imfusion.com>
41
46
  - Focus ring tokens: `--imf-ui-focus-ring-width`, `--imf-ui-focus-ring-color`, and two offsets for a ring outside the
@@ -1,7 +1,7 @@
1
- import { s as e } from "./utils-RZJAXfcf.js";
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Xo as t, _M as n, ja as r } from "./icons-vc1WZCxX.js";
3
3
  import { t as i } from "./meta-V_KyLeGn.js";
4
- import { a, i as o, n as s, o as c, s as l } from "./scroll-area-CUo1NBaW.js";
4
+ import { a, i as o, n as s, o as c, s as l } from "./scroll-area-CXQ_SxPX.js";
5
5
  import { cx as u } from "class-variance-authority";
6
6
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
7
7
  import { useCallback as m, useEffect as h, useRef as g, useState as _ } from "react";