@imfusion/web-ui 0.11.1-dev.72.g7dc184e8 → 0.11.1-dev.73.g65836a33
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 +2 -1
- package/dist/components/input/input.d.ts +2 -1
- package/dist/index.js +1005 -1005
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
- `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
8
|
text or placeholder reaches it, and while a search input shows its clear button. With a shortcut, `className` also reaches
|
|
9
|
-
a wrapping element.
|
|
9
|
+
a wrapping element. `shortcut=""` keeps that wrapper with no key shown, so a hint that switches on with state does not
|
|
10
|
+
remount the input. [Input](src/components/input/input.mdx) — Nikolaus Brunner <brunner@imfusion.com>
|
|
10
11
|
- `Table.SelectCell` and `Table.SelectAllCell` put a row checkbox and a counted select-all checkbox in action columns,
|
|
11
12
|
`Table.Row` takes `disabled` to lock a row (its checkbox, `Table.RowLink` and `Table.RowButton` stop responding), and
|
|
12
13
|
`Table.EmptyRow` spans one muted cell across all columns. Selection state and the counter stay the app's.
|
|
@@ -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
|
}
|