@imfusion/web-ui 0.11.1-dev.62.gfcd31b6e → 0.11.1-dev.65.g9b6bba80

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.
@@ -173,6 +173,12 @@ Picker bound to the ImFusion viewer's layout mode: Auto, Rows, Focus + stack, or
173
173
  Renders a logo from a URL or inline React element with consistent sizing. Also called a wordmark or brand mark.
174
174
  - props: node_modules/@imfusion/web-ui/src/docgen/doc.gen.json -> .logo (jq: jq '.logo' node_modules/@imfusion/web-ui/src/docgen/doc.gen.json)
175
175
 
176
+ ## Menu
177
+ - category: Display, status: experimental
178
+ Action menu opened from a trigger: items with icon, description and badge, checkbox and radio items, groups, submenus. Also dropdown or actions menu. Not for navigation (NavigationMenu) or picking a value (Select).
179
+ - props: node_modules/@imfusion/web-ui/src/docgen/doc.gen.json -> .menu (jq: jq '.menu' node_modules/@imfusion/web-ui/src/docgen/doc.gen.json)
180
+ - further reading (usage/anatomy, not props): https://base-ui.com/react/components/menu.md
181
+
176
182
  ## Meter
177
183
  - category: Display, status: experimental
178
184
  Read-only bar for a measured amount within a known range, such as seats in use or storage used. Also called a gauge or usage bar. Use Slider when the user sets the value.
@@ -270,7 +276,7 @@ Row of links to routes with a bar under the current one, such as the sections of
270
276
 
271
277
  ## Table
272
278
  - category: Display, status: stable
273
- Presentational table parts for static tabular data. Pair them with a headless table library for sorting, pagination, or selection.
279
+ Presentational table parts for static tabular data. Pair them with a headless table library for sorting or pagination.
274
280
  - props: node_modules/@imfusion/web-ui/src/docgen/doc.gen.json -> .table (jq: jq '.table' node_modules/@imfusion/web-ui/src/docgen/doc.gen.json)
275
281
 
276
282
  ## Tabs
@@ -99,4 +99,6 @@ import { ImageDisplayOptions } from "@imfusion/web-ui/integrations/image-display
99
99
  ## Data grids
100
100
 
101
101
  `Table` supplies styled table parts, not sorting or pagination. Pair them with a headless table library installed by the
102
- consumer. TanStack Table is the recommended choice. Use `Table.SortableHeaderCell` for sortable columns.
102
+ consumer. TanStack Table is the recommended choice. Use `Table.SortableHeaderCell` for sortable columns. For selection, put
103
+ `Table.SelectCell` in each row and `Table.SelectAllCell` in the header; the app owns the selected state and the counter.
104
+ `Table.Row` takes `disabled` to lock a row, and `Table.EmptyRow` fills an empty body.