@umriss-ui/core 0.3.0 → 0.3.2

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
@@ -43,7 +43,7 @@ export declare interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>,
43
43
  actions?: ReactNode;
44
44
  /** Shows a dismiss cross and calls this. */
45
45
  onDismiss?: () => void;
46
- /** Label of the dismiss cross; default "Close". */
46
+ /** Label of the dismiss cross; default the wording's "Close message". */
47
47
  dismissLabel?: string;
48
48
  }
49
49
 
@@ -940,7 +940,7 @@ export declare const MeasureGlyph: ForwardRefExoticComponent<Omit<GlyphProps, "r
940
940
 
941
941
  export declare function Menu({ trigger, children, align }: MenuProps): JSX.Element;
942
942
 
943
- export declare function MenuItem({ onSelect, tone, className, children, ...rest }: MenuItemProps): JSX.Element;
943
+ export declare function MenuItem({ onSelect, tone, className, children, onClick, ...rest }: MenuItemProps): JSX.Element;
944
944
 
945
945
  export declare interface MenuItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onSelect"> {
946
946
  /** What the entry does. The menu closes afterwards by itself: a menu that
@@ -1103,10 +1103,10 @@ export declare interface NodeReader<K, S extends Key = string> {
1103
1103
  }
1104
1104
 
1105
1105
  /**
1106
- * Number input in German notation: the comma as the decimal separator,
1107
- * dots as thousands separators (set on leaving, tolerated while typing).
1108
- * The arrow keys count (Shift ×10), min/max clamp on leaving, alignment
1109
- * right in Geist Mono.
1106
+ * Number input in the notation of the formats (`useFormats`): its decimal and
1107
+ * group separators are read and written, the group separators set on leaving
1108
+ * and tolerated while typing. The arrow keys count (Shift ×10), min/max clamp
1109
+ * on leaving, alignment right in Geist Mono.
1110
1110
  *
1111
1111
  * Stepper: quiet −/+ buttons without dividing lines, damped at rest, fully
1112
1112
  * present on hover or focus. Holding one down repeats the step (a short
@@ -1495,9 +1495,9 @@ export declare interface StatProps extends Omit<HTMLAttributes<HTMLDivElement>,
1495
1495
  ages?: FreshnessAges;
1496
1496
  }
1497
1497
 
1498
- export declare function Tab({ value, className, children, ...rest }: TabProps): JSX.Element;
1498
+ export declare function Tab({ value, className, children, onClick, ...rest }: TabProps): JSX.Element;
1499
1499
 
1500
- export declare function TabList({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): JSX.Element;
1500
+ export declare function TabList({ className, children, onKeyDown, ...rest }: HTMLAttributes<HTMLDivElement>): JSX.Element;
1501
1501
 
1502
1502
  export declare function TabPanel({ value, className, children, ...rest }: TabPanelProps): JSX.Element | null;
1503
1503
 
@@ -1776,7 +1776,7 @@ export declare interface TreeSnapshot<S extends Key = string> {
1776
1776
  search: string;
1777
1777
  }
1778
1778
 
1779
- export declare function TreeView<K, S extends Key = string>({ tree, ariaLabel, checkable, children, className, onKeyDown, ...rest }: TreeViewProps<K, S>): ReactNode;
1779
+ export declare function TreeView<K, S extends Key = string>({ tree, ariaLabel, checkable, children, className, onKeyDown, onFocus, onBlur, onScroll, ...rest }: TreeViewProps<K, S>): ReactNode;
1780
1780
 
1781
1781
  export declare interface TreeViewProps<K, S extends Key = string> extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1782
1782
  /** The tree from `useTree`. It is the whole state: flattening, active node,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "A React component library for data-dense applications - precise, quiet, professional.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",