@umriss-ui/core 0.48.0 → 0.50.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/CHANGELOG.md +45 -0
- package/README.md +12 -8
- package/dist/core.css +1 -1
- package/dist/core.js +3970 -3865
- package/dist/de.d.ts +26 -0
- package/dist/formats-dd9LbvXt.js +102 -0
- package/dist/index.d.ts +48 -7
- package/dist/touch-scale.css +9 -4
- package/dist/wording/de.js +26 -11
- package/docs/llms-full.md +283 -78
- package/package.json +3 -3
- package/dist/formats-Bo0qM01D.js +0 -97
package/dist/de.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ declare interface Formats {
|
|
|
18
18
|
monthName: (d: Date) => string;
|
|
19
19
|
/** Accessible name of a calendar cell: Tuesday, 17 March 2026 */
|
|
20
20
|
dateLong: (d: Date) => string;
|
|
21
|
+
/** The first day of the calendars' week, ISO-numbered: 1 = Monday ... 7 = Sunday. */
|
|
22
|
+
weekStart: number;
|
|
21
23
|
/** Time of day, optionally with seconds: 09:05 or 09:05:03 */
|
|
22
24
|
time: (d: Date, withSeconds: boolean) => string;
|
|
23
25
|
/** Date and time together: 17/03/2026, 09:05 */
|
|
@@ -243,6 +245,8 @@ declare interface Wording {
|
|
|
243
245
|
columns: string;
|
|
244
246
|
/** Accessible name of the list in the column menu. */
|
|
245
247
|
arrangeColumns: string;
|
|
248
|
+
/** The column menu's button that sets every column to the width of its content. */
|
|
249
|
+
fitAllColumns: string;
|
|
246
250
|
/** The two buttons that move a column in the column menu. */
|
|
247
251
|
columnForward: (column: string) => string;
|
|
248
252
|
columnBackward: (column: string) => string;
|
|
@@ -396,6 +400,23 @@ declare interface Wording {
|
|
|
396
400
|
rangeTo: (to: string) => string;
|
|
397
401
|
/** When "From" lies behind "To". The condition stays the last valid one. */
|
|
398
402
|
rangeInvalid: string;
|
|
403
|
+
/** The text filter: its operators, as the choice and in the condition. */
|
|
404
|
+
textContains: string;
|
|
405
|
+
textNotContains: string;
|
|
406
|
+
textStartsWith: string;
|
|
407
|
+
textEndsWith: string;
|
|
408
|
+
textEquals: string;
|
|
409
|
+
textIsEmpty: string;
|
|
410
|
+
/** What joins the two terms of a text condition: the choice and the word between them. */
|
|
411
|
+
textAnd: string;
|
|
412
|
+
textOr: string;
|
|
413
|
+
/** The labels of the operator and the value fields of a term. */
|
|
414
|
+
filterOperator: string;
|
|
415
|
+
filterValue: string;
|
|
416
|
+
/** The name of the choice between AND and OR. */
|
|
417
|
+
filterJoin: string;
|
|
418
|
+
/** A term with a value in the toolbar: `starts with “foo”`. */
|
|
419
|
+
textTerm: (operator: string, value: string) => string;
|
|
399
420
|
/** Clears search and conditions - in the table toolbar and in the empty body. */
|
|
400
421
|
resetAll: string;
|
|
401
422
|
/** The button under a server-mode table's error that sends the request once more. */
|
|
@@ -469,6 +490,8 @@ declare interface Wording {
|
|
|
469
490
|
removeFile: (name: string) => string;
|
|
470
491
|
/** A dropped file the input's `accept` does not take. */
|
|
471
492
|
fileNotAccepted: (name: string) => string;
|
|
493
|
+
/** A NumberInput refusing a character it cannot read. */
|
|
494
|
+
numberRefused: string;
|
|
472
495
|
show: string;
|
|
473
496
|
hide: string;
|
|
474
497
|
moreActions: string;
|
|
@@ -512,6 +535,9 @@ declare interface Wording {
|
|
|
512
535
|
/** What a screen reader calls the plot that takes the keys
|
|
513
536
|
(`aria-roledescription`, schedule-a11y S1). */
|
|
514
537
|
scheduleRoleDescription: string;
|
|
538
|
+
/** The plot's own name, beside the figure that carries the caller's
|
|
539
|
+
`aria-label`, so the caller's name is not heard twice. */
|
|
540
|
+
schedulePlotName: (label: string) => string;
|
|
515
541
|
/** The plot's description (S6): the lanes, the subtasks in view, the
|
|
516
542
|
visible span with both ends formatted, and the findings of the plan by
|
|
517
543
|
kind. */
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
function R(t, e, i) {
|
|
2
|
+
if (i === "percent") return t.percent(e);
|
|
3
|
+
if (i === "count") return t.count(e);
|
|
4
|
+
if (i === void 0) return t.number(e);
|
|
5
|
+
const { decimals: o, ...m } = i;
|
|
6
|
+
return Object.keys(m).length === 0 ? t.number(e, o) : t.numberWith(
|
|
7
|
+
e,
|
|
8
|
+
o === void 0 ? m : { minimumFractionDigits: o, maximumFractionDigits: o, ...m }
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
const w = 10, v = [
|
|
12
|
+
["day", 86400],
|
|
13
|
+
["hour", 3600],
|
|
14
|
+
["minute", 60]
|
|
15
|
+
];
|
|
16
|
+
function E(t, e) {
|
|
17
|
+
const i = `${t}|${e ?? ""}`;
|
|
18
|
+
let o = T.get(i);
|
|
19
|
+
if (!o) {
|
|
20
|
+
o = M(t, e), T.set(i, o);
|
|
21
|
+
for (const m of L) A.add(o[m]);
|
|
22
|
+
}
|
|
23
|
+
return o;
|
|
24
|
+
}
|
|
25
|
+
const T = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new WeakSet(), L = ["date", "dateShort", "month", "dateLong", "time", "dateTime", "offset", "timeZoneName"];
|
|
26
|
+
function l(t) {
|
|
27
|
+
const e = new Intl.Locale(t);
|
|
28
|
+
return e.getWeekInfo?.().firstDay ?? e.weekInfo?.firstDay ?? 1;
|
|
29
|
+
}
|
|
30
|
+
function M(t, e) {
|
|
31
|
+
const i = new Intl.DateTimeFormat(t, { timeZone: e, day: "2-digit", month: "2-digit", year: "numeric" }), o = new Intl.DateTimeFormat(t, { timeZone: e, day: "2-digit", month: "2-digit" }), m = new Intl.DateTimeFormat(t, { timeZone: e, month: "long", year: "numeric" }), I = new Intl.DateTimeFormat(t, { month: "long" }), D = new Intl.DateTimeFormat(t, {
|
|
32
|
+
timeZone: e,
|
|
33
|
+
weekday: "long",
|
|
34
|
+
day: "numeric",
|
|
35
|
+
month: "long",
|
|
36
|
+
year: "numeric"
|
|
37
|
+
}), c = { timeZone: e, hour: "2-digit", minute: "2-digit", hour12: !1, hourCycle: "h23" }, f = {
|
|
38
|
+
without: new Intl.DateTimeFormat(t, c),
|
|
39
|
+
with: new Intl.DateTimeFormat(t, { ...c, second: "2-digit" })
|
|
40
|
+
}, d = {
|
|
41
|
+
without: new Intl.DateTimeFormat(t, { day: "2-digit", month: "2-digit", year: "numeric", ...c }),
|
|
42
|
+
with: new Intl.DateTimeFormat(t, {
|
|
43
|
+
day: "2-digit",
|
|
44
|
+
month: "2-digit",
|
|
45
|
+
year: "numeric",
|
|
46
|
+
...c,
|
|
47
|
+
second: "2-digit"
|
|
48
|
+
})
|
|
49
|
+
}, y = new Intl.DateTimeFormat(t, { timeZone: e, timeZoneName: "shortOffset" }), N = new Intl.DateTimeFormat(t, { timeZone: e, timeZoneName: "shortGeneric" }), F = /* @__PURE__ */ new Map(), u = { signDisplay: "negative" }, g = /* @__PURE__ */ new Map(), b = new Intl.NumberFormat(t, { ...u, notation: "scientific", maximumSignificantDigits: 10 }), p = new Intl.NumberFormat(t, u), S = new Intl.NumberFormat(t, { ...u, style: "percent", maximumFractionDigits: 0 }), k = new Intl.Collator(t), h = new Intl.RelativeTimeFormat(t, { numeric: "auto" });
|
|
50
|
+
return {
|
|
51
|
+
locale: t,
|
|
52
|
+
timeZone: e,
|
|
53
|
+
weekStart: l(t),
|
|
54
|
+
timeZoneName: (n) => N.formatToParts(n).find((r) => r.type === "timeZoneName")?.value ?? "",
|
|
55
|
+
date: (n) => i.format(n),
|
|
56
|
+
dateShort: (n) => o.format(n),
|
|
57
|
+
month: (n) => m.format(n),
|
|
58
|
+
monthName: (n) => I.format(n),
|
|
59
|
+
dateLong: (n) => D.format(n),
|
|
60
|
+
time: (n, r) => (r ? f.with : f.without).format(n),
|
|
61
|
+
dateTime: (n, r) => (r ? d.with : d.without).format(n),
|
|
62
|
+
offset: (n) => y.formatToParts(n).find((r) => r.type === "timeZoneName")?.value ?? "",
|
|
63
|
+
number: (n, r) => {
|
|
64
|
+
if (r === void 0 && n !== 0 && Math.abs(n) < 0.5 * 10 ** -w) return b.format(n);
|
|
65
|
+
let a = F.get(r);
|
|
66
|
+
return a || (a = new Intl.NumberFormat(t, {
|
|
67
|
+
...u,
|
|
68
|
+
minimumFractionDigits: r,
|
|
69
|
+
maximumFractionDigits: r ?? w
|
|
70
|
+
}), F.set(r, a)), a.format(n);
|
|
71
|
+
},
|
|
72
|
+
numberWith: (n, r) => {
|
|
73
|
+
const a = JSON.stringify(r);
|
|
74
|
+
let s = g.get(a);
|
|
75
|
+
return s || (s = new Intl.NumberFormat(t, { ...u, ...r }), g.set(a, s)), s.format(n);
|
|
76
|
+
},
|
|
77
|
+
count: (n) => p.format(n),
|
|
78
|
+
percent: (n) => S.format(n),
|
|
79
|
+
compareText: (n, r) => k.compare(n, r),
|
|
80
|
+
relative: (n) => {
|
|
81
|
+
const r = Math.max(0, Math.round(n / 1e3));
|
|
82
|
+
for (const [a, s] of v)
|
|
83
|
+
if (r >= s) return h.format(-Math.floor(r / s), a);
|
|
84
|
+
return h.format(-r, "second");
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
const x = /* @__PURE__ */ E("en-GB");
|
|
89
|
+
function O(t) {
|
|
90
|
+
const e = [...t.number(1234.5, 1).replace(/[\d-]/g, "")], i = e[e.length - 1] ?? ".";
|
|
91
|
+
return { group: e.length > 1 ? e[0] : "", decimal: i };
|
|
92
|
+
}
|
|
93
|
+
const P = /* @__PURE__ */ O(x);
|
|
94
|
+
export {
|
|
95
|
+
x as D,
|
|
96
|
+
L as I,
|
|
97
|
+
P as a,
|
|
98
|
+
A as b,
|
|
99
|
+
E as f,
|
|
100
|
+
O as s,
|
|
101
|
+
R as w
|
|
102
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ export declare function ClockGlyph({ ref, size, ...rest }: GlyphProps): JSX.Elem
|
|
|
325
325
|
The label of the chosen `value` is kept from the last `options` that held
|
|
326
326
|
it, so a search that replaces the options does not empty the field - an
|
|
327
327
|
initial `value` must stand among the first `options`. */
|
|
328
|
-
export declare function Combobox<T extends string = string>({ ref, options, value, onChange, placeholder, size: ownSize, chars, disabled, invalid, emptyText, clearable, onSearch, filter, loading, className, style, id, onKeyDown, onClick, onBlur, ...rest }: ComboboxProps<T>): JSX.Element;
|
|
328
|
+
export declare function Combobox<T extends string = string>({ ref, options: optionsGiven, value, onChange, placeholder, size: ownSize, chars, disabled, invalid, emptyText, clearable, onSearch, filter, loading, className, style, id, onKeyDown, onClick, onBlur, ...rest }: ComboboxProps<T>): JSX.Element;
|
|
329
329
|
|
|
330
330
|
/** One possibility of a `Combobox`: the value it stands for and the label it
|
|
331
331
|
is found by. */
|
|
@@ -587,7 +587,7 @@ export declare function CrossGlyph({ ref, size, ...rest }: GlyphProps): JSX.Elem
|
|
|
587
587
|
|
|
588
588
|
/** A date selection with a calendar panel; weeks begin on Monday. The panel's
|
|
589
589
|
foot takes a typed date, read in the order the formats in use write one. */
|
|
590
|
-
export declare function DatePicker({ ref, value, onChange, placeholder, disabled, invalid, size: ownSize, chars, clearable, min, max, className, ...rest }: DatePickerProps): JSX.Element;
|
|
590
|
+
export declare function DatePicker({ ref, value: valueGiven, onChange, placeholder, disabled, invalid, size: ownSize, chars, clearable, min, max, className, ...rest }: DatePickerProps): JSX.Element;
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
593
|
* The value contract: every way - the grid, "Today", clearing - hands out
|
|
@@ -651,7 +651,7 @@ export declare interface DateRange {
|
|
|
651
651
|
* - Two chained months: paging on the outside, no day appears twice.
|
|
652
652
|
* - The same day clicked twice = a one-day time span.
|
|
653
653
|
*/
|
|
654
|
-
export declare function DateRangePicker({ ref, value, onChange, placeholder, disabled, invalid, size: ownSize, chars, clearable, presets, min, max, className, ...rest }: DateRangePickerProps): JSX.Element;
|
|
654
|
+
export declare function DateRangePicker({ ref, value: valueGiven, onChange, placeholder, disabled, invalid, size: ownSize, chars, clearable, presets, min, max, className, ...rest }: DateRangePickerProps): JSX.Element;
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
657
|
* The value contract: both ends on midnight in the formats' zone (resolution "day"), and `from`
|
|
@@ -702,7 +702,7 @@ export declare interface DateRangePickerProps extends Omit<HTMLAttributes<HTMLBu
|
|
|
702
702
|
an exact instant and is reported only on "Apply", "Now" or "Clear"; the
|
|
703
703
|
missing and doubled hours of a daylight-saving change are asked about, not
|
|
704
704
|
guessed. */
|
|
705
|
-
export declare function DateTimePicker({ ref, value, onChange, withSeconds, placeholder, disabled, size: ownSize, chars, invalid, clearable, min, max, className, ...rest }: DateTimePickerProps): JSX.Element;
|
|
705
|
+
export declare function DateTimePicker({ ref, value: valueGiven, onChange, withSeconds, placeholder, disabled, size: ownSize, chars, invalid, clearable, min, max, className, ...rest }: DateTimePickerProps): JSX.Element;
|
|
706
706
|
|
|
707
707
|
/**
|
|
708
708
|
* The value contract: an exact instant (resolution "instant"), with seconds
|
|
@@ -969,6 +969,8 @@ export declare interface Formats {
|
|
|
969
969
|
monthName: (d: Date) => string;
|
|
970
970
|
/** Accessible name of a calendar cell: Tuesday, 17 March 2026 */
|
|
971
971
|
dateLong: (d: Date) => string;
|
|
972
|
+
/** The first day of the calendars' week, ISO-numbered: 1 = Monday ... 7 = Sunday. */
|
|
973
|
+
weekStart: number;
|
|
972
974
|
/** Time of day, optionally with seconds: 09:05 or 09:05:03 */
|
|
973
975
|
time: (d: Date, withSeconds: boolean) => string;
|
|
974
976
|
/** Date and time together: 17/03/2026, 09:05 */
|
|
@@ -1004,6 +1006,15 @@ export declare interface Formats {
|
|
|
1004
1006
|
relative: (ms: number) => string;
|
|
1005
1007
|
}
|
|
1006
1008
|
|
|
1009
|
+
/** Every format of one locale, built once.
|
|
1010
|
+
|
|
1011
|
+
The options are the product's, not the locale's: two-digit day and month,
|
|
1012
|
+
the month written out with its year, a 24-hour clock, per cent without
|
|
1013
|
+
decimals. What the locale decides is the order of the parts and the
|
|
1014
|
+
separators - 17/03/2026 against 17.03.2026 - and the words of the month,
|
|
1015
|
+
the weekday and "3 minutes ago". */
|
|
1016
|
+
export declare function formatsFor(locale: string, timeZone?: string): Formats;
|
|
1017
|
+
|
|
1007
1018
|
/** A label, a hint or error and the control they belong to. The control
|
|
1008
1019
|
inside takes the field's id, description, required and invalid state by
|
|
1009
1020
|
itself - no wiring by hand. */
|
|
@@ -1148,6 +1159,9 @@ export declare interface GridProps extends HTMLAttributes<HTMLDivElement>, RefPr
|
|
|
1148
1159
|
the specification draws with the stroke. */
|
|
1149
1160
|
export declare function GripGlyph({ ref, size, ...rest }: GlyphProps): JSX.Element;
|
|
1150
1161
|
|
|
1162
|
+
/** Whether `warnOnce` has already spoken for this package and reason. */
|
|
1163
|
+
export declare function hasWarned(pkg: string, reason: string): boolean;
|
|
1164
|
+
|
|
1151
1165
|
/** A heading whose level and size are independent: a small heading can still
|
|
1152
1166
|
be the second level of the page. */
|
|
1153
1167
|
export declare function Heading({ ref, level, size, weight, tone, className, children, ...rest }: HeadingProps): JSX.Element;
|
|
@@ -1447,7 +1461,7 @@ export declare function MoreGlyph({ ref, size, ...rest }: GlyphProps): JSX.Eleme
|
|
|
1447
1461
|
* "selected" scope, rows that have been unticked stay visible until the scope
|
|
1448
1462
|
* changes, so that nothing jumps away from under the mouse pointer.
|
|
1449
1463
|
*/
|
|
1450
|
-
export declare function MultiSelect<T extends string = string>({ ref, options, value, onChange, placeholder, searchPlaceholder, emptyText, size: ownSize, chars, disabled, invalid, clearable, className, style, id, onClick, ...rest }: MultiSelectProps<T>): JSX.Element;
|
|
1464
|
+
export declare function MultiSelect<T extends string = string>({ ref, options: optionsGiven, value: valueGiven, onChange, placeholder, searchPlaceholder, emptyText, size: ownSize, chars, disabled, invalid, clearable, className, style, id, onClick, ...rest }: MultiSelectProps<T>): JSX.Element;
|
|
1451
1465
|
|
|
1452
1466
|
/** One possibility of a `MultiSelect`: the value it stands for and its label. */
|
|
1453
1467
|
export declare interface MultiSelectOption<T extends string = string> {
|
|
@@ -1532,7 +1546,7 @@ export declare type NumberFormat = "percent" | "count" | NumberOptions;
|
|
|
1532
1546
|
* present on hover or focus. Holding one down repeats the step (a short
|
|
1533
1547
|
* run-up, then briskly); min/max disable the respective button.
|
|
1534
1548
|
*/
|
|
1535
|
-
export declare function NumberInput({ ref, value, onChange, min, max, step, decimals, grouping, prefix, suffix, size: ownSize, chars, invalid, disabled, className, style, id, onFocus, onBlur, onKeyDown, ...rest }: NumberInputProps): JSX.Element;
|
|
1549
|
+
export declare function NumberInput({ ref, value: valueGiven, onChange, min, max, step, decimals, grouping, prefix, suffix, size: ownSize, chars, invalid, disabled, className, style, id, onFocus, onBlur, onKeyDown, ...rest }: NumberInputProps): JSX.Element;
|
|
1536
1550
|
|
|
1537
1551
|
/** The props of `NumberInput`: a native input's attributes, with the value a
|
|
1538
1552
|
number or `null`. */
|
|
@@ -2065,7 +2079,7 @@ export declare interface StackProps extends HTMLAttributes<HTMLDivElement>, RefP
|
|
|
2065
2079
|
}
|
|
2066
2080
|
|
|
2067
2081
|
/** Metric tile: one value, read against its limits. */
|
|
2068
|
-
export declare function Stat({ ref, label, value, unit, decimals, limits, history, asOf, ages, quality, className, ...rest }: StatProps): JSX.Element;
|
|
2082
|
+
export declare function Stat({ ref, label, value: valueGiven, unit, decimals, limits, history, asOf, ages, quality, className, ...rest }: StatProps): JSX.Element;
|
|
2069
2083
|
|
|
2070
2084
|
/** The props of `Stat`. */
|
|
2071
2085
|
export declare interface StatProps extends Omit<HTMLAttributes<HTMLDivElement>, "children">, RefProp<HTMLDivElement> {
|
|
@@ -2776,6 +2790,9 @@ export declare type VisuallyHiddenProps<E extends ElementType = "span"> = {
|
|
|
2776
2790
|
focusable?: boolean;
|
|
2777
2791
|
} & Omit<ComponentPropsWithoutRef<E>, "as" | "ref"> & RefProp<HTMLElement>;
|
|
2778
2792
|
|
|
2793
|
+
/** One development console warning per package and reason; silent in production. The prefix names the package. */
|
|
2794
|
+
export declare function warnOnce(pkg: string, reason: string, message: string): void;
|
|
2795
|
+
|
|
2779
2796
|
/** What `visibleWindow` needs to know about a scroll area and its rows. */
|
|
2780
2797
|
export declare interface WindowInput {
|
|
2781
2798
|
/** Rows in total, not only the rendered ones. */
|
|
@@ -2977,6 +2994,8 @@ export declare interface Wording {
|
|
|
2977
2994
|
columns: string;
|
|
2978
2995
|
/** Accessible name of the list in the column menu. */
|
|
2979
2996
|
arrangeColumns: string;
|
|
2997
|
+
/** The column menu's button that sets every column to the width of its content. */
|
|
2998
|
+
fitAllColumns: string;
|
|
2980
2999
|
/** The two buttons that move a column in the column menu. */
|
|
2981
3000
|
columnForward: (column: string) => string;
|
|
2982
3001
|
columnBackward: (column: string) => string;
|
|
@@ -3130,6 +3149,23 @@ export declare interface Wording {
|
|
|
3130
3149
|
rangeTo: (to: string) => string;
|
|
3131
3150
|
/** When "From" lies behind "To". The condition stays the last valid one. */
|
|
3132
3151
|
rangeInvalid: string;
|
|
3152
|
+
/** The text filter: its operators, as the choice and in the condition. */
|
|
3153
|
+
textContains: string;
|
|
3154
|
+
textNotContains: string;
|
|
3155
|
+
textStartsWith: string;
|
|
3156
|
+
textEndsWith: string;
|
|
3157
|
+
textEquals: string;
|
|
3158
|
+
textIsEmpty: string;
|
|
3159
|
+
/** What joins the two terms of a text condition: the choice and the word between them. */
|
|
3160
|
+
textAnd: string;
|
|
3161
|
+
textOr: string;
|
|
3162
|
+
/** The labels of the operator and the value fields of a term. */
|
|
3163
|
+
filterOperator: string;
|
|
3164
|
+
filterValue: string;
|
|
3165
|
+
/** The name of the choice between AND and OR. */
|
|
3166
|
+
filterJoin: string;
|
|
3167
|
+
/** A term with a value in the toolbar: `starts with “foo”`. */
|
|
3168
|
+
textTerm: (operator: string, value: string) => string;
|
|
3133
3169
|
/** Clears search and conditions - in the table toolbar and in the empty body. */
|
|
3134
3170
|
resetAll: string;
|
|
3135
3171
|
/** The button under a server-mode table's error that sends the request once more. */
|
|
@@ -3203,6 +3239,8 @@ export declare interface Wording {
|
|
|
3203
3239
|
removeFile: (name: string) => string;
|
|
3204
3240
|
/** A dropped file the input's `accept` does not take. */
|
|
3205
3241
|
fileNotAccepted: (name: string) => string;
|
|
3242
|
+
/** A NumberInput refusing a character it cannot read. */
|
|
3243
|
+
numberRefused: string;
|
|
3206
3244
|
show: string;
|
|
3207
3245
|
hide: string;
|
|
3208
3246
|
moreActions: string;
|
|
@@ -3246,6 +3284,9 @@ export declare interface Wording {
|
|
|
3246
3284
|
/** What a screen reader calls the plot that takes the keys
|
|
3247
3285
|
(`aria-roledescription`, schedule-a11y S1). */
|
|
3248
3286
|
scheduleRoleDescription: string;
|
|
3287
|
+
/** The plot's own name, beside the figure that carries the caller's
|
|
3288
|
+
`aria-label`, so the caller's name is not heard twice. */
|
|
3289
|
+
schedulePlotName: (label: string) => string;
|
|
3249
3290
|
/** The plot's description (S6): the lanes, the subtasks in view, the
|
|
3250
3291
|
visible span with both ends formatted, and the findings of the plan by
|
|
3251
3292
|
kind. */
|
package/dist/touch-scale.css
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
@layer umriss.tokens {
|
|
2
|
-
/* Opt-in (ADR-0079): under a finger a `md` control
|
|
3
|
-
|
|
2
|
+
/* Opt-in (ADR-0079): under a finger a `md` and a `sm` control are 44 px at a 16 px root
|
|
3
|
+
(in rem, so they follow the root font size), the height WCAG 2.5.5 and
|
|
4
|
+
the HIG name. `xs` stays (ADR-0070). The doubled
|
|
5
|
+
`:root` outranks the token rule in `tokens.css` by specificity, so the
|
|
6
|
+
import order of the two files does not decide; the rule is still on
|
|
7
|
+
`:root` inside the tokens layer (ADR-0021). */
|
|
4
8
|
@media (pointer: coarse) {
|
|
5
|
-
:root {
|
|
6
|
-
--u-control-height:
|
|
9
|
+
:root:root {
|
|
10
|
+
--u-control-height: 2.75rem;
|
|
11
|
+
--u-control-height-sm: 2.75rem;
|
|
7
12
|
}
|
|
8
13
|
}
|
|
9
14
|
}
|
package/dist/wording/de.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { f as d } from "../formats-
|
|
2
|
+
import { f as d } from "../formats-dd9LbvXt.js";
|
|
3
3
|
const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
4
4
|
clearInput: "Eingabe leeren",
|
|
5
5
|
clearSelection: "Auswahl leeren",
|
|
@@ -22,7 +22,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
22
22
|
manageMoreSelected: (e) => `Alle ${e} Gewählten verwalten`,
|
|
23
23
|
multiSelectSummary: (e, n) => `${e} / ${n}`,
|
|
24
24
|
optionCount: (e) => e === 1 ? "1 Option" : `${e} Optionen`,
|
|
25
|
-
optionActive: (e, { selected: n, disabled:
|
|
25
|
+
optionActive: (e, { selected: n, disabled: t, group: a }) => [e, a, n && "ausgewählt", t && "nicht verfügbar"].filter(Boolean).join(", "),
|
|
26
26
|
optionAdded: (e) => `${e} hinzugefügt`,
|
|
27
27
|
optionRemoved: (e) => `${e} entfernt`,
|
|
28
28
|
palettePlaceholder: "Suchen …",
|
|
@@ -81,7 +81,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
81
81
|
/* A thin space around the middle dot (U+2009), as in the rest of the
|
|
82
82
|
library: the separator should touch the two halves without pushing them
|
|
83
83
|
together. */
|
|
84
|
-
rangePreview: (e, n,
|
|
84
|
+
rangePreview: (e, n, t) => `${e} – ${n} · ${t} ${t === 1 ? "Tag" : "Tage"}`,
|
|
85
85
|
daysAllDay: (e) => `${e} ${e === 1 ? "Tag" : "Tage"} (ganztägig)`,
|
|
86
86
|
duration: (e) => `Dauer: ${e.join(" ")}`,
|
|
87
87
|
hoursShort: (e) => `${e} Std`,
|
|
@@ -106,13 +106,14 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
106
106
|
pagination: "Seitennavigation",
|
|
107
107
|
rows: "Zeilen",
|
|
108
108
|
rowsPerPage: "Zeilen pro Seite",
|
|
109
|
-
pageOfPages: (e, n,
|
|
109
|
+
pageOfPages: (e, n, t) => `Seite ${t?.page ?? e} von ${t?.total ?? n}`,
|
|
110
110
|
previousPage: "Zurück",
|
|
111
111
|
nextPage: "Weiter",
|
|
112
112
|
filterReset: "Zurücksetzen",
|
|
113
113
|
filterDone: "Fertig",
|
|
114
114
|
columns: "Spalten",
|
|
115
115
|
arrangeColumns: "Spalten ein- und ausblenden, anordnen",
|
|
116
|
+
fitAllColumns: "Alle Spalten anpassen",
|
|
116
117
|
columnForward: (e) => `${e} nach vorn`,
|
|
117
118
|
columnBackward: (e) => `${e} nach hinten`,
|
|
118
119
|
pinColumnToStart: (e) => `${e} am Anfang fixieren`,
|
|
@@ -202,6 +203,18 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
202
203
|
rangeFrom: (e) => `ab ${e}`,
|
|
203
204
|
rangeTo: (e) => `bis ${e}`,
|
|
204
205
|
rangeInvalid: "„Von“ liegt hinter „Bis“.",
|
|
206
|
+
textContains: "enthält",
|
|
207
|
+
textNotContains: "enthält nicht",
|
|
208
|
+
textStartsWith: "beginnt mit",
|
|
209
|
+
textEndsWith: "endet mit",
|
|
210
|
+
textEquals: "ist gleich",
|
|
211
|
+
textIsEmpty: "ist leer",
|
|
212
|
+
textAnd: "und",
|
|
213
|
+
textOr: "oder",
|
|
214
|
+
filterOperator: "Operator",
|
|
215
|
+
filterValue: "Wert",
|
|
216
|
+
filterJoin: "Verknüpfung",
|
|
217
|
+
textTerm: (e, n) => `${e} „${n}“`,
|
|
205
218
|
resetAll: "Zurücksetzen",
|
|
206
219
|
tryAgain: "Erneut versuchen",
|
|
207
220
|
filteredOfTotal: (e, n) => `${e} von ${n}`,
|
|
@@ -242,6 +255,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
242
255
|
dropFiles: "oder hier ablegen",
|
|
243
256
|
removeFile: (e) => `${e} entfernen`,
|
|
244
257
|
fileNotAccepted: (e) => `${e} ist kein zugelassener Dateityp`,
|
|
258
|
+
numberRefused: "Nur Ziffern und das Dezimaltrennzeichen",
|
|
245
259
|
show: "Einblenden",
|
|
246
260
|
hide: "Ausblenden",
|
|
247
261
|
moreActions: "Weitere Aktionen",
|
|
@@ -264,7 +278,8 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
264
278
|
scheduleUnfoldGroup: "Gruppe ausklappen",
|
|
265
279
|
scheduleLaneCount: (e) => e === 1 ? "1 Bahn" : `${e} Bahnen`,
|
|
266
280
|
scheduleRoleDescription: "Belegungsplan",
|
|
267
|
-
|
|
281
|
+
schedulePlotName: (e) => `${e}, Diagramm`,
|
|
282
|
+
scheduleSummary: ({ lanes: e, subtasks: n, from: t, to: a, overlaps: l, violated: o, blocked: r, milestones: i }) => `${e === 1 ? "1 Bahn" : `${e} Bahnen`}, ${n === 1 ? "1 Teilaufgabe" : `${n} Teilaufgaben`} im Blick von ${t} bis ${a}. ${l === 1 ? "1 Überschneidung" : `${l} Überschneidungen`}, ${o === 1 ? "1 verletzte Abhängigkeit" : `${o} verletzte Abhängigkeiten`}` + (r === 0 ? "." : `, ${r === 1 ? "1 Teilaufgabe in einer Sperrzeit" : `${r} Teilaufgaben in Sperrzeiten`}.`) + (i === 0 ? "" : ` ${i === 1 ? "1 Meilenstein" : `${i} Meilensteine`}.`),
|
|
268
283
|
scheduleVisibleRange: (e, n) => `Von ${e} bis ${n}.`,
|
|
269
284
|
scheduleKeyHelp: "Pfeil links und rechts gehen die Bahn entlang, Pfeil hoch und runter wechseln die Bahn, Pos1 und Ende springen zur ersten und letzten Teilaufgabe, Bild auf und Bild ab springen ein Zehntel der Ansicht. Plus zoomt hinein, Minus zoomt heraus, Null zeigt die gesamte Arbeit. Schließende eckige Klammer oder T folgt einer Abhängigkeit hinaus, öffnende eckige Klammer oder Umschalt und T geht zurück. Leertaste oder Eingabe wählt aus. Alt mit Pfeil links oder rechts schlägt eine Verschiebung vor, Alt und Umschalt ein neues Ende. Escape lässt die aktive Teilaufgabe los.",
|
|
270
285
|
scheduleShowData: "Daten zeigen",
|
|
@@ -286,8 +301,8 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
286
301
|
dashboardReset: "Zurücksetzen",
|
|
287
302
|
dashboardMenu: (e) => `Aktionen für ${e}`,
|
|
288
303
|
dashboardPlace: (e, n) => `Platz ${e} von ${n}`,
|
|
289
|
-
dashboardHead: (e, n,
|
|
290
|
-
dashboardHeadLocked: (e, n,
|
|
304
|
+
dashboardHead: (e, n, t) => `${e}, Platz ${n} von ${t}`,
|
|
305
|
+
dashboardHeadLocked: (e, n, t) => `${e}, Platz ${n} von ${t}, gesperrt`,
|
|
291
306
|
dashboardLocked: "Gesperrt",
|
|
292
307
|
dashboardLockedLine: "Gesperrt: behält Größe und Optionen",
|
|
293
308
|
dashboardMoveStart: "An den Anfang",
|
|
@@ -296,13 +311,13 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
296
311
|
dashboardMoveEnd: "Ans Ende",
|
|
297
312
|
dashboardRemove: "Entfernen",
|
|
298
313
|
dashboardSizes: { small: "Klein", medium: "Mittel", wide: "Breit", tall: "Hoch", large: "Groß", full: "Volle Breite" },
|
|
299
|
-
dashboardSizeEntry: (e, n,
|
|
314
|
+
dashboardSizeEntry: (e, n, t) => `${t ? "✓ " : ""}${e}${n ? `, ${n} breit` : ""}`,
|
|
300
315
|
dashboardHeadingLabel: "Überschrift",
|
|
301
316
|
dashboardHeadingSentence: "Ein Titel über die volle Breite.",
|
|
302
317
|
dashboardHeadingText: "Neuer Abschnitt",
|
|
303
318
|
dashboardHeadingField: "Text",
|
|
304
319
|
dashboardLeft: "Bearbeiten beendet",
|
|
305
|
-
dashboardMoved: (e, n,
|
|
320
|
+
dashboardMoved: (e, n, t, a) => `${e}: von Platz ${n} auf Platz ${t} von ${a} verschoben`,
|
|
306
321
|
dashboardDragCancelled: (e) => `${e}: Verschieben abgebrochen`,
|
|
307
322
|
dashboardResized: (e, n) => `${e}: Größe ${n}`,
|
|
308
323
|
dashboardRemoved: (e) => `${e} entfernt. „Rückgängig“ holt es zurück.`,
|
|
@@ -314,7 +329,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
314
329
|
dashboardAdd: "Hinzufügen",
|
|
315
330
|
dashboardAddType: (e) => `${e} hinzufügen`,
|
|
316
331
|
dashboardFootprint: (e, n) => `${e} von 12 Spalten, ${n} Zeilen`,
|
|
317
|
-
dashboardAdded: (e, n,
|
|
332
|
+
dashboardAdded: (e, n, t) => `${e} hinzugefügt, Platz ${n} von ${t}`,
|
|
318
333
|
dashboardOptions: "Optionen",
|
|
319
334
|
dashboardOptionsChanged: (e) => `${e}: Optionen geändert`,
|
|
320
335
|
dashboardEmpty: "Dieses Dashboard ist leer.",
|
|
@@ -390,7 +405,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
390
405
|
alarmColumnFrequency: "Häufigkeit",
|
|
391
406
|
alarmColumnAcknowledgement: "Quittierung",
|
|
392
407
|
alarmColumnAge: "Alter",
|
|
393
|
-
alarmAvailabilitySnoozed: (e, n,
|
|
408
|
+
alarmAvailabilitySnoozed: (e, n, t) => `Zurückgestellt bis ${e} von ${n}${t ? `: ${t}` : ""}`,
|
|
394
409
|
alarmAvailabilitySnoozedShort: "Zurückgestellt",
|
|
395
410
|
alarmAvailabilitySnoozedUntil: (e) => `Zurückgestellt bis ${e}`,
|
|
396
411
|
alarmAvailabilitySuppressed: "Durch Auslegung unterdrückt",
|