@umriss-ui/core 0.19.0 → 0.20.0

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/dist/index.d.ts CHANGED
@@ -298,6 +298,9 @@ export declare interface ComboboxProps<T extends string = string> extends Omit<H
298
298
  onChange: (value: T | null) => void;
299
299
  /** What stands in the empty field. */
300
300
  placeholder?: string;
301
+ /** `sm` for a table toolbar and dense forms, `md` otherwise - the heights of
302
+ `Input`'s two sizes. */
303
+ size?: "sm" | "md";
301
304
  /** Locks field and panel. */
302
305
  disabled?: boolean;
303
306
  /** Marks the field as invalid. `FormField` sets it itself as soon as it
@@ -1187,6 +1190,9 @@ export declare interface MultiSelectProps<T extends string = string> extends Omi
1187
1190
  searchPlaceholder?: string;
1188
1191
  /** Text when the search finds nothing. */
1189
1192
  emptyText?: string;
1193
+ /** `sm` for a table toolbar and dense forms, `md` otherwise - the heights of
1194
+ `Input`'s two sizes. */
1195
+ size?: "sm" | "md";
1190
1196
  /** Locks field and panel. */
1191
1197
  disabled?: boolean;
1192
1198
  /** Marks the field as invalid. `FormField` sets it itself as soon as it
package/docs/llms-full.md CHANGED
@@ -1,4 +1,4 @@
1
- # @umriss-ui/core 0.19.0
1
+ # @umriss-ui/core 0.20.0
2
2
 
3
3
  > React component library for data-dense dashboards and tools - forms, date pickers, overlays, a tree view and a command palette. Precise, quiet, professional.
4
4
 
@@ -6445,6 +6445,7 @@ It imports `operations.ts` from beside itself; the file stands once, under "File
6445
6445
  | `value` (required) | `T \| null` | — | The chosen value; `null` means none. Always controlled - the field keeps no second state beside the caller's. |
6446
6446
  | `onChange` (required) | `(value: T \| null) => void` | — | Runs on choosing and on clearing (`null`). Not while typing: what is typed is a search term and not yet a value. |
6447
6447
  | `placeholder` | `string` | — | What stands in the empty field. |
6448
+ | `size` | `"sm" \| "md"` | `"md"` | `sm` for a table toolbar and dense forms, `md` otherwise - the heights of `Input`'s two sizes. |
6448
6449
  | `disabled` | `boolean` | `false` | Locks field and panel. |
6449
6450
  | `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` - by hand only necessary without `FormField`. |
6450
6451
  | `emptyText` | `string` | — | Text shown for an empty search result. |
@@ -6629,6 +6630,7 @@ It imports `operations.ts` from beside itself; the file stands once, under "File
6629
6630
  | `placeholder` | `string` | — | What stands in the empty field. |
6630
6631
  | `searchPlaceholder` | `string` | — | What stands in the panel's search field. |
6631
6632
  | `emptyText` | `string` | — | Text when the search finds nothing. |
6633
+ | `size` | `"sm" \| "md"` | `"md"` | `sm` for a table toolbar and dense forms, `md` otherwise - the heights of `Input`'s two sizes. |
6632
6634
  | `disabled` | `boolean` | `false` | Locks field and panel. |
6633
6635
  | `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` – by hand only necessary without `FormField`. |
6634
6636
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/core",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "React component library for data-dense dashboards and tools - forms, date pickers, overlays, a tree view and a command palette. Precise, quiet, professional.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",