@glimstone/solid 4.5.6 → 4.5.8

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.
@@ -1,7 +1,7 @@
1
1
  import { type JSX } from "solid-js";
2
2
  import { type PickGroup, type PickItem, type PickerText } from "@glimstone/core";
3
3
  import { type WindowAction } from "./Window.tsx";
4
- export type { PickGroup, PickerText, TileMark } from "@glimstone/core";
4
+ export type { PickBadge, PickGroup, PickerText, TileMark } from "@glimstone/core";
5
5
  export type PickerItem = PickItem<JSX.Element>;
6
6
  export interface PickerWindowProps {
7
7
  /** The notch's words, also the window's accessible name. */
@@ -20,6 +20,10 @@ export interface PickerWindowProps {
20
20
  actions?: WindowAction[];
21
21
  /** Back from the form to the tiles, with the search as it was. */
22
22
  onBack?: () => void;
23
+ /** A quiet line at the start of the foot, such as the verdict of a test. */
24
+ start?: JSX.Element;
25
+ /** The id of the tile picked before, which stands marked and takes the focus when the tiles show. */
26
+ selected?: string;
23
27
  /** Called for every way out: the foot, Escape and, while the tiles show, a press beside the window. */
24
28
  onClose: () => void;
25
29
  }
@@ -20,6 +20,8 @@ export interface ReadmeButtonProps {
20
20
  note?: boolean;
21
21
  /** The second line of a unit whose first part has neither `href` nor `onClick`. */
22
22
  soonLabel?: string;
23
+ /** Marks the first part as the one chosen, such as a picker's tile picked before. */
24
+ current?: boolean;
23
25
  /** Runs on a click on a part's link, for an app whose webview has no browser
24
26
  * behind it to open the address in. */
25
27
  onLinkClick?: (e: MouseEvent) => void;
@@ -28,4 +30,5 @@ export declare function ReadmeButton(props: ReadmeButtonProps): JSX.Element;
28
30
  /** A vendor mark kept as its own markup, from appMarks.ts. */
29
31
  export declare function BrandMark(props: {
30
32
  svg: string;
33
+ hover?: string;
31
34
  }): JSX.Element;