@umriss-ui/core 0.49.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/dist/de.d.ts CHANGED
@@ -490,6 +490,8 @@ declare interface Wording {
490
490
  removeFile: (name: string) => string;
491
491
  /** A dropped file the input's `accept` does not take. */
492
492
  fileNotAccepted: (name: string) => string;
493
+ /** A NumberInput refusing a character it cannot read. */
494
+ numberRefused: string;
493
495
  show: string;
494
496
  hide: string;
495
497
  moreActions: string;
package/dist/index.d.ts CHANGED
@@ -1159,6 +1159,9 @@ export declare interface GridProps extends HTMLAttributes<HTMLDivElement>, RefPr
1159
1159
  the specification draws with the stroke. */
1160
1160
  export declare function GripGlyph({ ref, size, ...rest }: GlyphProps): JSX.Element;
1161
1161
 
1162
+ /** Whether `warnOnce` has already spoken for this package and reason. */
1163
+ export declare function hasWarned(pkg: string, reason: string): boolean;
1164
+
1162
1165
  /** A heading whose level and size are independent: a small heading can still
1163
1166
  be the second level of the page. */
1164
1167
  export declare function Heading({ ref, level, size, weight, tone, className, children, ...rest }: HeadingProps): JSX.Element;
@@ -2787,6 +2790,9 @@ export declare type VisuallyHiddenProps<E extends ElementType = "span"> = {
2787
2790
  focusable?: boolean;
2788
2791
  } & Omit<ComponentPropsWithoutRef<E>, "as" | "ref"> & RefProp<HTMLElement>;
2789
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
+
2790
2796
  /** What `visibleWindow` needs to know about a scroll area and its rows. */
2791
2797
  export declare interface WindowInput {
2792
2798
  /** Rows in total, not only the rendered ones. */
@@ -3233,6 +3239,8 @@ export declare interface Wording {
3233
3239
  removeFile: (name: string) => string;
3234
3240
  /** A dropped file the input's `accept` does not take. */
3235
3241
  fileNotAccepted: (name: string) => string;
3242
+ /** A NumberInput refusing a character it cannot read. */
3243
+ numberRefused: string;
3236
3244
  show: string;
3237
3245
  hide: string;
3238
3246
  moreActions: string;
@@ -255,6 +255,7 @@ const u = /* @__PURE__ */ d("de-DE"), c = {
255
255
  dropFiles: "oder hier ablegen",
256
256
  removeFile: (e) => `${e} entfernen`,
257
257
  fileNotAccepted: (e) => `${e} ist kein zugelassener Dateityp`,
258
+ numberRefused: "Nur Ziffern und das Dezimaltrennzeichen",
258
259
  show: "Einblenden",
259
260
  hide: "Ausblenden",
260
261
  moreActions: "Weitere Aktionen",