@umriss-ui/core 0.49.0 → 0.51.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 +29 -0
- package/README.md +1 -1
- package/dist/core.js +3571 -3509
- package/dist/de.d.ts +14 -0
- package/dist/index.d.ts +24 -0
- package/dist/wording/de.js +7 -2
- package/docs/llms-full.md +178 -83
- package/package.json +2 -2
package/dist/de.d.ts
CHANGED
|
@@ -229,6 +229,8 @@ declare interface Wording {
|
|
|
229
229
|
pagination: string;
|
|
230
230
|
rows: string;
|
|
231
231
|
rowsPerPage: string;
|
|
232
|
+
/** The page-size choice that leaves the page to the frame. */
|
|
233
|
+
fit: string;
|
|
232
234
|
/** "Page 2 of 7". `formatted` carries both numbers in the provider's
|
|
233
235
|
formats, where the caller has them - a table over a server has "Page 1 of
|
|
234
236
|
100,000". */
|
|
@@ -236,8 +238,18 @@ declare interface Wording {
|
|
|
236
238
|
page: string;
|
|
237
239
|
total: string;
|
|
238
240
|
}) => string;
|
|
241
|
+
/** "13–24 of 120" in the pagination bar. `formatted` carries the three
|
|
242
|
+
numbers in the provider's formats, where the caller has them. */
|
|
243
|
+
pageRange: (from: number, to: number, total: number, formatted?: {
|
|
244
|
+
from: string;
|
|
245
|
+
to: string;
|
|
246
|
+
total: string;
|
|
247
|
+
}) => string;
|
|
248
|
+
/** The names of the four steps of the pagination bar. */
|
|
249
|
+
firstPage: string;
|
|
239
250
|
previousPage: string;
|
|
240
251
|
nextPage: string;
|
|
252
|
+
lastPage: string;
|
|
241
253
|
/** The two buttons in the column filter's footer. */
|
|
242
254
|
filterReset: string;
|
|
243
255
|
filterDone: string;
|
|
@@ -490,6 +502,8 @@ declare interface Wording {
|
|
|
490
502
|
removeFile: (name: string) => string;
|
|
491
503
|
/** A dropped file the input's `accept` does not take. */
|
|
492
504
|
fileNotAccepted: (name: string) => string;
|
|
505
|
+
/** A NumberInput refusing a character it cannot read. */
|
|
506
|
+
numberRefused: string;
|
|
493
507
|
show: string;
|
|
494
508
|
hide: string;
|
|
495
509
|
moreActions: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -894,6 +894,10 @@ export declare interface EmptyStateProps extends Omit<HTMLAttributes<HTMLDivElem
|
|
|
894
894
|
icon?: ReactNode;
|
|
895
895
|
}
|
|
896
896
|
|
|
897
|
+
/** The chevron against a bar: the last step of a sequence. Drawn pointing
|
|
898
|
+
right; turn it by 180 degrees for the first. */
|
|
899
|
+
export declare function EndGlyph({ ref, size, ...rest }: GlyphProps): JSX.Element;
|
|
900
|
+
|
|
897
901
|
/** A file field with a drop zone: choose or drop files, and remove them from
|
|
898
902
|
the list again. Nothing is uploaded - that is the application's. */
|
|
899
903
|
export declare function FileInput({ ref, value, onChange, invalid, accept, multiple, disabled, className, style, id, ...rest }: FileInputProps): JSX.Element;
|
|
@@ -1159,6 +1163,9 @@ export declare interface GridProps extends HTMLAttributes<HTMLDivElement>, RefPr
|
|
|
1159
1163
|
the specification draws with the stroke. */
|
|
1160
1164
|
export declare function GripGlyph({ ref, size, ...rest }: GlyphProps): JSX.Element;
|
|
1161
1165
|
|
|
1166
|
+
/** Whether `warnOnce` has already spoken for this package and reason. */
|
|
1167
|
+
export declare function hasWarned(pkg: string, reason: string): boolean;
|
|
1168
|
+
|
|
1162
1169
|
/** A heading whose level and size are independent: a small heading can still
|
|
1163
1170
|
be the second level of the page. */
|
|
1164
1171
|
export declare function Heading({ ref, level, size, weight, tone, className, children, ...rest }: HeadingProps): JSX.Element;
|
|
@@ -2787,6 +2794,9 @@ export declare type VisuallyHiddenProps<E extends ElementType = "span"> = {
|
|
|
2787
2794
|
focusable?: boolean;
|
|
2788
2795
|
} & Omit<ComponentPropsWithoutRef<E>, "as" | "ref"> & RefProp<HTMLElement>;
|
|
2789
2796
|
|
|
2797
|
+
/** One development console warning per package and reason; silent in production. The prefix names the package. */
|
|
2798
|
+
export declare function warnOnce(pkg: string, reason: string, message: string): void;
|
|
2799
|
+
|
|
2790
2800
|
/** What `visibleWindow` needs to know about a scroll area and its rows. */
|
|
2791
2801
|
export declare interface WindowInput {
|
|
2792
2802
|
/** Rows in total, not only the rendered ones. */
|
|
@@ -2972,6 +2982,8 @@ export declare interface Wording {
|
|
|
2972
2982
|
pagination: string;
|
|
2973
2983
|
rows: string;
|
|
2974
2984
|
rowsPerPage: string;
|
|
2985
|
+
/** The page-size choice that leaves the page to the frame. */
|
|
2986
|
+
fit: string;
|
|
2975
2987
|
/** "Page 2 of 7". `formatted` carries both numbers in the provider's
|
|
2976
2988
|
formats, where the caller has them - a table over a server has "Page 1 of
|
|
2977
2989
|
100,000". */
|
|
@@ -2979,8 +2991,18 @@ export declare interface Wording {
|
|
|
2979
2991
|
page: string;
|
|
2980
2992
|
total: string;
|
|
2981
2993
|
}) => string;
|
|
2994
|
+
/** "13–24 of 120" in the pagination bar. `formatted` carries the three
|
|
2995
|
+
numbers in the provider's formats, where the caller has them. */
|
|
2996
|
+
pageRange: (from: number, to: number, total: number, formatted?: {
|
|
2997
|
+
from: string;
|
|
2998
|
+
to: string;
|
|
2999
|
+
total: string;
|
|
3000
|
+
}) => string;
|
|
3001
|
+
/** The names of the four steps of the pagination bar. */
|
|
3002
|
+
firstPage: string;
|
|
2982
3003
|
previousPage: string;
|
|
2983
3004
|
nextPage: string;
|
|
3005
|
+
lastPage: string;
|
|
2984
3006
|
/** The two buttons in the column filter's footer. */
|
|
2985
3007
|
filterReset: string;
|
|
2986
3008
|
filterDone: string;
|
|
@@ -3233,6 +3255,8 @@ export declare interface Wording {
|
|
|
3233
3255
|
removeFile: (name: string) => string;
|
|
3234
3256
|
/** A dropped file the input's `accept` does not take. */
|
|
3235
3257
|
fileNotAccepted: (name: string) => string;
|
|
3258
|
+
/** A NumberInput refusing a character it cannot read. */
|
|
3259
|
+
numberRefused: string;
|
|
3236
3260
|
show: string;
|
|
3237
3261
|
hide: string;
|
|
3238
3262
|
moreActions: string;
|
package/dist/wording/de.js
CHANGED
|
@@ -106,9 +106,13 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
106
106
|
pagination: "Seitennavigation",
|
|
107
107
|
rows: "Zeilen",
|
|
108
108
|
rowsPerPage: "Zeilen pro Seite",
|
|
109
|
+
fit: "Passend",
|
|
109
110
|
pageOfPages: (e, n, t) => `Seite ${t?.page ?? e} von ${t?.total ?? n}`,
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
pageRange: (e, n, t, a) => `${a?.from ?? e}–${a?.to ?? n} von ${a?.total ?? t}`,
|
|
112
|
+
firstPage: "Erste Seite",
|
|
113
|
+
previousPage: "Vorherige Seite",
|
|
114
|
+
nextPage: "Nächste Seite",
|
|
115
|
+
lastPage: "Letzte Seite",
|
|
112
116
|
filterReset: "Zurücksetzen",
|
|
113
117
|
filterDone: "Fertig",
|
|
114
118
|
columns: "Spalten",
|
|
@@ -255,6 +259,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
|
|
|
255
259
|
dropFiles: "oder hier ablegen",
|
|
256
260
|
removeFile: (e) => `${e} entfernen`,
|
|
257
261
|
fileNotAccepted: (e) => `${e} ist kein zugelassener Dateityp`,
|
|
262
|
+
numberRefused: "Nur Ziffern und das Dezimaltrennzeichen",
|
|
258
263
|
show: "Einblenden",
|
|
259
264
|
hide: "Ausblenden",
|
|
260
265
|
moreActions: "Weitere Aktionen",
|