@imfusion/web-ui 0.11.1-dev.72.g7dc184e8 → 0.11.1-dev.74.g7422f7b2
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 +13 -1
- package/dist/components/input/input.d.ts +2 -1
- package/dist/index.js +2528 -2781
- package/dist/integrations/frame-selection.js +3 -4
- package/dist/integrations/image-display-options/image-display-options-view.d.ts +8 -2
- package/dist/integrations/image-display-options/image-display-options-view.utils.d.ts +7 -3
- package/dist/integrations/image-display-options/image-display-options.d.ts +5 -1
- package/dist/integrations/image-display-options.js +267 -153
- package/dist/integrations/view-tools.js +1 -2
- package/dist/{icon-button-kVghav2z.js → row-CaeE5pqs.js} +133 -2
- package/dist/separator-BxUMVvFE.js +137 -0
- package/dist/style.css +1 -1
- package/dist/tabs-Bl3YlG5t.js +429 -0
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +8 -1
- package/src/llms/llms.gen.txt +1 -1
- package/dist/row-CImu8yXV.js +0 -136
- package/dist/separator-BV2TR8U0.js +0 -34
- package/dist/slider-CpIZMAFl.js +0 -107
- package/dist/tabs-BqgyMmo6.js +0 -173
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- **Breaking:** `ImageDisplayOptions` hides the 2D Gamma slider unless `withGamma` is set, and its 3D controls have no Invert switch. The integration now needs WebSDK version 1.2.0 or later.
|
|
8
|
+
[ImageDisplayOptions](src/integrations/image-display-options/image-display-options.mdx) — Stephan Wenninger
|
|
9
|
+
<wenninger@imfusion.com>
|
|
10
|
+
|
|
5
11
|
### Added
|
|
6
12
|
|
|
7
13
|
- `Input` takes `shortcut` to show a key such as `/` or `Ctrl K` at its end and set `aria-keyshortcuts`. The key hides before the
|
|
8
14
|
text or placeholder reaches it, and while a search input shows its clear button. With a shortcut, `className` also reaches
|
|
9
|
-
a wrapping element.
|
|
15
|
+
a wrapping element. `shortcut=""` keeps that wrapper with no key shown, so a hint that switches on with state does not
|
|
16
|
+
remount the input. [Input](src/components/input/input.mdx) — Nikolaus Brunner <brunner@imfusion.com>
|
|
10
17
|
- `Table.SelectCell` and `Table.SelectAllCell` put a row checkbox and a counted select-all checkbox in action columns,
|
|
11
18
|
`Table.Row` takes `disabled` to lock a row (its checkbox, `Table.RowLink` and `Table.RowButton` stop responding), and
|
|
12
19
|
`Table.EmptyRow` spans one muted cell across all columns. Selection state and the counter stay the app's.
|
|
@@ -73,6 +80,11 @@
|
|
|
73
80
|
`variant="labeled"` a vertical list with each mode's name beside its icon; every name can be replaced through its label
|
|
74
81
|
prop. [LayoutMode](src/integrations/layout-mode/layout-mode.mdx)
|
|
75
82
|
([WEBSDK-292](https://imfusion.atlassian.net/browse/WEBSDK-292)) — Stephan Wenninger <wenninger@imfusion.com>
|
|
83
|
+
- `ImageDisplayOptions` has an Auto Window button on its 2D controls and a
|
|
84
|
+
preset picker on both tabs that applies one of the SDK's transfer-function presets.
|
|
85
|
+
The preset picker is not present with `variant="horizontal-compact"` and if the SDK does not provide any presets.
|
|
86
|
+
[ImageDisplayOptions](src/integrations/image-display-options/image-display-options.mdx) — Stephan Wenninger
|
|
87
|
+
<wenninger@imfusion.com>
|
|
76
88
|
- `Typo.UnorderedList` takes `markerVariant` to colour its dash apart from the text, such as the brand dash on main text.
|
|
77
89
|
[Typo](src/components/typo/typo.stories.tsx#MarkerVariant) — Nikolaus Brunner <brunner@imfusion.com>
|
|
78
90
|
- Focus ring tokens: `--imf-ui-focus-ring-width`, `--imf-ui-focus-ring-color`, and two offsets for a ring outside the
|
|
@@ -12,7 +12,8 @@ interface Props extends Omit<UpstreamInput, "size">, VariantProps<typeof input>
|
|
|
12
12
|
* Key hint shown at the end of the input, such as `"/"` or `"Ctrl K"`. It hides before the text or placeholder reaches
|
|
13
13
|
* it, and while a search input shows its clear button. It also sets `aria-keyshortcuts` in its notation
|
|
14
14
|
* (`Control+K`), which an explicit `aria-keyshortcuts` prop overrides. Display only: bind the key in the app. With a
|
|
15
|
-
* shortcut, `className` also reaches a wrapping element, as it does for a search input.
|
|
15
|
+
* shortcut, `className` also reaches a wrapping element, as it does for a search input. Pass `""` when no key applies
|
|
16
|
+
* right now but one may later: the input keeps its wrapper, so switching the hint on does not remount it and drop focus.
|
|
16
17
|
*/
|
|
17
18
|
shortcut?: string;
|
|
18
19
|
}
|