@umriss-ui/core 0.43.0 → 0.44.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/de.d.ts CHANGED
@@ -242,8 +242,14 @@ declare interface Wording {
242
242
  exportLabel: string;
243
243
  /** The export button of a table in server mode, which holds and writes one page. */
244
244
  exportPageLabel: string;
245
+ /** The status while the application prepares an export of every match. */
246
+ exporting: string;
247
+ /** The alert beside the export button when preparing the export failed without a message. */
248
+ exportFailed: string;
245
249
  /** The export's file name, where the application names none. */
246
250
  exportFileName: string;
251
+ /** The name of the sheet an XLSX export holds. */
252
+ exportSheetName: string;
247
253
  /** Placeholder and accessible name of the search field. */
248
254
  tableSearchPlaceholder: string;
249
255
  tableSearchLabel: string;
@@ -323,6 +329,8 @@ declare interface Wording {
323
329
  pathRow: string;
324
330
  /** The footer of a tree: it sums the top level, since a parent holds its children. */
325
331
  footerTopLevel: string;
332
+ /** The footer of a server-mode table: its sums come from the server and cover every match, not the page. Read out only. */
333
+ footerOfMatches: string;
326
334
  /** The box that selects every row of a group. */
327
335
  selectGroup: (name: string) => string;
328
336
  /** A group of the week key: "Week 42, 2026". */
@@ -331,6 +339,12 @@ declare interface Wording {
331
339
  entries: (count: number, formatted: string) => string;
332
340
  /** "3 selected" in the pagination bar and the table toolbar. */
333
341
  selectedCount: (count: number, formatted: string) => string;
342
+ /** The first sentence of the offer in a server-mode table, once the page is ticked: "All 50 on this page are selected." */
343
+ selectedOnPage: (count: number, formatted: string) => string;
344
+ /** The button after it, for the rows the server holds: "Select all 12,400 that match". */
345
+ selectAllMatching: (count: number, formatted: string) => string;
346
+ /** The line once they are selected: "All 12,400 that match are selected." */
347
+ allMatchingSelected: (count: number, formatted: string) => string;
334
348
  /** Said to a screen reader after Ctrl+C copied rows: "3 rows copied". */
335
349
  copiedRows: (count: number, formatted: string) => string;
336
350
  /** Said after Ctrl+C copied the active cell of a grid. */
@@ -362,6 +376,8 @@ declare interface Wording {
362
376
  rangeInvalid: string;
363
377
  /** Clears search and conditions - in the table toolbar and in the empty body. */
364
378
  resetAll: string;
379
+ /** The button under a server-mode table's error that sends the request once more. */
380
+ tryAgain: string;
365
381
  /** "43 of 1.204" - the numbers come from the formats. */
366
382
  filteredOfTotal: (matches: string, total: string) => string;
367
383
  /** The four outcomes of an assessment, as a word beside the value. Colour
package/dist/index.d.ts CHANGED
@@ -489,7 +489,7 @@ export declare interface ConfirmDialogProps extends Omit<DialogHTMLAttributes<HT
489
489
  * popover does the placing, the dismissal and the portal. The focus goes to
490
490
  * the first entry and, on closing, back to where it was when the menu opened.
491
491
  */
492
- export declare function ContextMenu({ open, onOpenChange, position, ariaLabel, "aria-label": name, children }: ContextMenuProps): JSX.Element;
492
+ export declare function ContextMenu({ open, onOpenChange, position, "aria-label": name, children }: ContextMenuProps): JSX.Element;
493
493
 
494
494
  declare interface ContextMenuBase {
495
495
  /** Accessible name of the menu: what it acts on. A context menu has no
@@ -509,21 +509,16 @@ declare interface ContextMenuBase {
509
509
  x: number;
510
510
  y: number;
511
511
  };
512
- /** The old spelling of `aria-label`; both work for one further minor.
513
- @deprecated since 0.43 - use `aria-label`. */
514
- ariaLabel?: string;
515
512
  /** The entries – `MenuItem` and `MenuSeparator`, as in `Menu`. */
516
513
  children: ReactNode;
517
514
  }
518
515
 
519
516
  /** The props of `ContextMenu`. The menu is named by what it acts on - it has
520
- no trigger whose label could name it: `aria-label` is required (`ariaLabel`
521
- stands for one further minor). */
522
- export declare type ContextMenuProps = ContextMenuBase & ({
517
+ no trigger whose label could name it: `aria-label` is required. */
518
+ export declare type ContextMenuProps = ContextMenuBase & {
519
+ /** Accessible name of the menu: what it acts on. */
523
520
  "aria-label": string;
524
- } | {
525
- ariaLabel: string;
526
- });
521
+ };
527
522
 
528
523
  /** What `useContextMenuTrigger` returns: spread it on the target. */
529
524
  export declare interface ContextMenuTriggerProps extends LongPressHandlers {
@@ -1537,7 +1532,7 @@ export declare function PlusGlyph({ ref, size, ...rest }: GlyphProps): JSX.Eleme
1537
1532
  * elements in the panel inherit the field id of the trigger, and a click on
1538
1533
  * their label closes the panel.
1539
1534
  */
1540
- export declare function Popover({ open, onOpenChange, anchorRef, focusRef, insideRefs, align, offset, width, minWidth, restoreFocus, hideOnScroll, role, ariaLabel, "aria-label": name, id, className, children, }: PopoverProps): ReactPortal | null;
1535
+ export declare function Popover({ open, onOpenChange, anchorRef, focusRef, insideRefs, align, offset, width, minWidth, restoreFocus, hideOnScroll, role, "aria-label": name, id, className, children, }: PopoverProps): ReactPortal | null;
1541
1536
 
1542
1537
  /** The props of `Popover`. */
1543
1538
  export declare interface PopoverProps {
@@ -1575,9 +1570,6 @@ export declare interface PopoverProps {
1575
1570
  /** Accessible name of the surface. Needed as soon as it carries a `role`:
1576
1571
  a named role without a name is a riddle for a screen reader. */
1577
1572
  "aria-label"?: string;
1578
- /** The old spelling of `aria-label`; both work for one further minor.
1579
- @deprecated since 0.43 - use `aria-label`. */
1580
- ariaLabel?: string;
1581
1573
  /** Fixed id of the surface – for `aria-controls` on the trigger. */
1582
1574
  id?: string;
1583
1575
  /** Additional class on the surface. */
@@ -2461,7 +2453,7 @@ export declare interface TreeSnapshot<S extends Key = string> {
2461
2453
  /** The tree as a control: draws the nodes of a `Tree` from `useTree` as a
2462
2454
  `tree` with keyboard navigation, typeahead and, with `checkable`, ticks.
2463
2455
  What a node says is yours - `children` renders it. */
2464
- export declare function TreeView<K, S extends Key = string>({ ref, tree, ariaLabel, "aria-label": name, checkable, children, className, onKeyDown, onFocus, onBlur, onScroll, ...rest }: TreeViewProps<K, S>): JSX.Element;
2456
+ export declare function TreeView<K, S extends Key = string>({ ref, tree, "aria-label": name, checkable, children, className, onKeyDown, onFocus, onBlur, onScroll, ...rest }: TreeViewProps<K, S>): JSX.Element;
2465
2457
 
2466
2458
  declare interface TreeViewBase<K, S extends Key = string> extends Omit<HTMLAttributes<HTMLDivElement>, "children">, RefProp<HTMLDivElement> {
2467
2459
  /** The tree from `useTree`. It is the whole state: flattening, active node,
@@ -2472,18 +2464,14 @@ declare interface TreeViewBase<K, S extends Key = string> extends Omit<HTMLAttri
2472
2464
  checkable?: boolean;
2473
2465
  /** What the node says. */
2474
2466
  children: (entry: FlatteningEntry<K, S>) => ReactNode;
2475
- /** The old spelling of `aria-label`; both work for one further minor.
2476
- @deprecated since 0.43 - use `aria-label`. */
2477
- ariaLabel?: string;
2478
2467
  }
2479
2468
 
2480
2469
  /** The props of `TreeView`. The tree is a structure of its own and needs a
2481
- name: `aria-label` is required (`ariaLabel` stands for one further minor). */
2482
- export declare type TreeViewProps<K, S extends Key = string> = TreeViewBase<K, S> & ({
2470
+ name: `aria-label` is required. */
2471
+ export declare type TreeViewProps<K, S extends Key = string> = TreeViewBase<K, S> & {
2472
+ /** Accessible name of the tree. */
2483
2473
  "aria-label": string;
2484
- } | {
2485
- ariaLabel: string;
2486
- });
2474
+ };
2487
2475
 
2488
2476
  /** The settings of `UmrissProvider` as the components read them, every value
2489
2477
  filled in. */
@@ -2910,8 +2898,14 @@ export declare interface Wording {
2910
2898
  exportLabel: string;
2911
2899
  /** The export button of a table in server mode, which holds and writes one page. */
2912
2900
  exportPageLabel: string;
2901
+ /** The status while the application prepares an export of every match. */
2902
+ exporting: string;
2903
+ /** The alert beside the export button when preparing the export failed without a message. */
2904
+ exportFailed: string;
2913
2905
  /** The export's file name, where the application names none. */
2914
2906
  exportFileName: string;
2907
+ /** The name of the sheet an XLSX export holds. */
2908
+ exportSheetName: string;
2915
2909
  /** Placeholder and accessible name of the search field. */
2916
2910
  tableSearchPlaceholder: string;
2917
2911
  tableSearchLabel: string;
@@ -2991,6 +2985,8 @@ export declare interface Wording {
2991
2985
  pathRow: string;
2992
2986
  /** The footer of a tree: it sums the top level, since a parent holds its children. */
2993
2987
  footerTopLevel: string;
2988
+ /** The footer of a server-mode table: its sums come from the server and cover every match, not the page. Read out only. */
2989
+ footerOfMatches: string;
2994
2990
  /** The box that selects every row of a group. */
2995
2991
  selectGroup: (name: string) => string;
2996
2992
  /** A group of the week key: "Week 42, 2026". */
@@ -2999,6 +2995,12 @@ export declare interface Wording {
2999
2995
  entries: (count: number, formatted: string) => string;
3000
2996
  /** "3 selected" in the pagination bar and the table toolbar. */
3001
2997
  selectedCount: (count: number, formatted: string) => string;
2998
+ /** The first sentence of the offer in a server-mode table, once the page is ticked: "All 50 on this page are selected." */
2999
+ selectedOnPage: (count: number, formatted: string) => string;
3000
+ /** The button after it, for the rows the server holds: "Select all 12,400 that match". */
3001
+ selectAllMatching: (count: number, formatted: string) => string;
3002
+ /** The line once they are selected: "All 12,400 that match are selected." */
3003
+ allMatchingSelected: (count: number, formatted: string) => string;
3002
3004
  /** Said to a screen reader after Ctrl+C copied rows: "3 rows copied". */
3003
3005
  copiedRows: (count: number, formatted: string) => string;
3004
3006
  /** Said after Ctrl+C copied the active cell of a grid. */
@@ -3030,6 +3032,8 @@ export declare interface Wording {
3030
3032
  rangeInvalid: string;
3031
3033
  /** Clears search and conditions - in the table toolbar and in the empty body. */
3032
3034
  resetAll: string;
3035
+ /** The button under a server-mode table's error that sends the request once more. */
3036
+ tryAgain: string;
3033
3037
  /** "43 of 1.204" - the numbers come from the formats. */
3034
3038
  filteredOfTotal: (matches: string, total: string) => string;
3035
3039
  /** The four outcomes of an assessment, as a word beside the value. Colour
@@ -120,7 +120,10 @@ const u = d("de-DE"), h = {
120
120
  unpinHint: "Fixierung lösen",
121
121
  exportLabel: "Exportieren",
122
122
  exportPageLabel: "Seite exportieren",
123
+ exporting: "Export wird vorbereitet",
124
+ exportFailed: "Der Export ist fehlgeschlagen",
123
125
  exportFileName: "tabelle.csv",
126
+ exportSheetName: "Tabelle",
124
127
  tableSearchPlaceholder: "Suchen …",
125
128
  tableSearchLabel: "Tabelle durchsuchen",
126
129
  filterColumn: (e) => `${e} filtern`,
@@ -168,10 +171,14 @@ const u = d("de-DE"), h = {
168
171
  levelColumn: "Ebene",
169
172
  pathRow: "auf dem Weg zu einem Treffer",
170
173
  footerTopLevel: "Nur oberste Ebene",
174
+ footerOfMatches: "Alle Treffer",
171
175
  selectGroup: (e) => `${e} auswählen`,
172
176
  calendarWeek: (e, n) => `KW ${e}/${n}`,
173
177
  entries: (e, n) => e === 1 ? "1 Eintrag" : `${n} Einträge`,
174
178
  selectedCount: (e, n) => `${n} ausgewählt`,
179
+ selectedOnPage: (e, n) => e === 1 ? "Die 1 Zeile dieser Seite ist ausgewählt." : `Alle ${n} Zeilen dieser Seite sind ausgewählt.`,
180
+ selectAllMatching: (e, n) => `Alle ${n} Treffer auswählen`,
181
+ allMatchingSelected: (e, n) => `Alle ${n} Treffer sind ausgewählt.`,
175
182
  copiedRows: (e, n) => e === 1 ? "1 Zeile kopiert" : `${n} Zeilen kopiert`,
176
183
  copiedCell: "Zelle kopiert",
177
184
  copyFailed: "Kopieren nicht möglich",
@@ -190,6 +197,7 @@ const u = d("de-DE"), h = {
190
197
  rangeTo: (e) => `bis ${e}`,
191
198
  rangeInvalid: "„Von“ liegt hinter „Bis“.",
192
199
  resetAll: "Zurücksetzen",
200
+ tryAgain: "Erneut versuchen",
193
201
  filteredOfTotal: (e, n) => `${e} von ${n}`,
194
202
  verdictOk: "In Ordnung",
195
203
  verdictWarning: "Warngrenze überschritten",