@imfusion/web-ui 0.11.1-dev.45.gf7b49f57 → 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
@@ -74,7 +79,11 @@
74
79
  - `imf-web-ui-conventions` exempts React components from the explicit return type on exported functions.
75
80
  - The `project-structure` topic keeps a route's only view, such as a form, in the route file and moves views to the `-`
76
81
  folder only when the page composes several. `imf-web-ui-audit` reports by views, not line counts.
77
- - The `imf-web-ui-conventions` audit checklist names the assets box "Photographs: WebP", like its topic heading.
82
+ - The `imf-web-ui-conventions` `assets` topic encodes photographs as AVIF and WebP at 800 and 1600px and renders them
83
+ through `<picture>` with `srcSet` and `sizes`. Every `<img>` has `width` and `height`, below-the-fold images load
84
+ lazily, and only the largest paint gets `fetchpriority="high"`.
85
+ - The `imf-web-ui-conventions` `components` topic names the landmarks `AppShell` renders and asks for one `Typo.H1` per
86
+ page, `Button` for actions, and `Link` for destinations.
78
87
  - `web-ui-dev-new-component`, `web-ui-dev-update-component`, and `web-ui-dev-design-component` draft on the shared
79
88
  Web UI Component Drafts canvas: a block per component on its Storybook group's page, one row per fidelity rung.
80
89
  - `web-ui-dev-new-component` and `web-ui-dev-update-component` wait for the user to approve the design on the canvas
@@ -87,7 +96,10 @@
87
96
  - The `imf-web-ui-conventions` `styling` topic shows a container setting a custom property that its child reads with
88
97
  its own default as the fallback.
89
98
  - `web-ui-dev-release` syncs the Claude Design system once npm serves the stable version.
99
+ - `web-ui-dev-record-clip` records every clip in light and dark, and release highlights list both files of each pair.
90
100
  - Documentation — Nikolaus Brunner <brunner@imfusion.com>
101
+ - The Changelog page's screenshot carousel shows one file of each `-light`/`-dark` pair, the one for the page's color
102
+ scheme, and switches with the Storybook toolbar.
91
103
  - `docs/design-system.md` describes the Web UI Component Drafts canvas, and `AGENTS.md` links it. A shipped component
92
104
  keeps its block under an "Implemented" note that names its story.
93
105
  - `docs/conventions.md` shows how a component declares its default as a custom-property fallback that a container
@@ -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";