@stealthscale/component-screen 0.0.0-stage → 0.2.1

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.
@@ -0,0 +1,2295 @@
1
+ import { a as Choice, i as SwitcherSize, n as RootProps$8, r as Placement, t as Root$8 } from "./root-DDwipXru.js";
2
+ import { Button, ButtonProps, IconButtonProps } from "@stealthscale/component-actions";
3
+ import "@stealthscale/theme/authoring";
4
+ import { PresenceOptions } from "@stealthscale/hooks";
5
+ import { RovingFocus } from "@stealthscale/component-a11y";
6
+ import { ComponentProps, DOMAttributes, ElementType, MouseEvent, MouseEventHandler, ReactElement, ReactNode } from "react";
7
+ import { ScrollArea } from "@stealthscale/component-primitives";
8
+ import { Breakpoint } from "@stealthscale/provider-viewport";
9
+ import * as floatingPanel from "@zag-js/floating-panel";
10
+ import { AnchorPositionDetails, OpenChangeDetails, Point, PositionChangeDetails, ResizeTriggerAxis, ResizeTriggerAxis as ResizeTriggerAxis$1, Size, SizeChangeDetails, Stage, Stage as Stage$1, StageChangeDetails } from "@zag-js/floating-panel";
11
+ import { Menu, Tabs } from "@stealthscale/component-disclosure";
12
+ import { SearchInputProps } from "@stealthscale/component-forms";
13
+ import { Divider } from "@stealthscale/component-layout";
14
+ import * as splitter$1 from "@zag-js/splitter";
15
+ import { ExpandCollapseDetails, PanelData, PanelSize, ResizeDetails, ResizeEndDetails } from "@zag-js/splitter";
16
+ //#region src/toolbar/item.d.ts
17
+ /**
18
+ * Describes the roving focus item's props without the element it renders.
19
+ */
20
+ type Roving = Omit<ComponentProps<typeof RovingFocus.Item>, "as" | "ref">;
21
+ /**
22
+ * Describes the props of a control: the item's props and the props of the element or component it
23
+ * renders as.
24
+ *
25
+ * @typeParam Drawn - The element or component the control renders as.
26
+ */
27
+ type ItemProps<Drawn extends ElementType = "button"> = {
28
+ /**
29
+ * The element or component the control renders as: a `button`, or an `a` when `href` is set.
30
+ */
31
+ readonly as?: Drawn | undefined;
32
+ /**
33
+ * The link's target, which renders the control as an `a`.
34
+ */
35
+ readonly href?: string | undefined;
36
+ } & Omit<ComponentProps<Drawn>, keyof Roving> & Roving;
37
+ /**
38
+ * Renders the control as a roving focus item.
39
+ *
40
+ * @param props - The element or component it renders as, the link's target and the item's props.
41
+ * @returns The control element.
42
+ */
43
+ declare function Item<Drawn extends ElementType = "button">({ as, href, ...rest }: ItemProps<Drawn>): ReactElement;
44
+ //#endregion
45
+ //#region src/action-bar/close-trigger.d.ts
46
+ /**
47
+ * Renders the icon button with the action bar's close trigger class, ghost unless the caller sets a
48
+ * variant.
49
+ */
50
+ declare const Drawn$15: (props: IconButtonProps) => ReactElement;
51
+ /**
52
+ * Describes the props of the close trigger: the props of the icon button, as a toolbar item.
53
+ */
54
+ type CloseTriggerProps$1 = Omit<ItemProps<typeof Drawn$15>, "as">;
55
+ /**
56
+ * Renders the close trigger, which asks the root to close after the caller's handler.
57
+ *
58
+ * @param props - The accessible name, the glyph and the props of the icon button.
59
+ * @returns The toolbar item.
60
+ */
61
+ declare function CloseTrigger$1({ onClick, ...props }: CloseTriggerProps$1): ReactElement;
62
+ //#endregion
63
+ //#region src/action-bar/content.d.ts
64
+ /**
65
+ * Renders the `div` with the action bar's content class.
66
+ */
67
+ declare const Drawn$14: import("@stealthscale/theme").StyledComponent<"div", {}>;
68
+ /**
69
+ * Describes the props of a `div` without `ref`, which the bar's presence sets.
70
+ */
71
+ type ContentProps$2 = Omit<ComponentProps<typeof Drawn$14>, "ref">;
72
+ /**
73
+ * Renders the bar with its presence props, its Escape handler and the caller's props.
74
+ *
75
+ * @param props - The props of a `div`.
76
+ * @returns The `div` element.
77
+ */
78
+ declare function Content$4({ onKeyDown, ...props }: ContentProps$2): ReactElement;
79
+ //#endregion
80
+ //#region src/action-bar/positioner.d.ts
81
+ /**
82
+ * Renders the `div` with the action bar's positioner class.
83
+ */
84
+ declare const Drawn$13: import("@stealthscale/theme").StyledComponent<"div", {}>;
85
+ /**
86
+ * Describes the props of the positioner: the props of a `div`.
87
+ */
88
+ type PositionerProps$1 = ComponentProps<typeof Drawn$13>;
89
+ /**
90
+ * Renders the positioner while the bar is in the document.
91
+ *
92
+ * @param props - The props of a `div`.
93
+ * @returns The `div` element, or nothing while the bar is out of the document.
94
+ */
95
+ declare function Positioner$1(props: PositionerProps$1): null | ReactElement;
96
+ //#endregion
97
+ //#region src/presence.d.ts
98
+ /**
99
+ * Describes when an overlay renders its content while the overlay is closed.
100
+ *
101
+ * @remarks
102
+ * The package declares the options again, because the hooks package is a peer. A specimen page
103
+ * lists only the props that the package or its runtime dependencies declare.
104
+ */
105
+ interface OverlayPresence extends Omit<PresenceOptions, "present"> {
106
+ /**
107
+ * When true, the overlay renders no content until it first opens.
108
+ *
109
+ * @defaultValue true
110
+ */
111
+ readonly lazyMount?: boolean | undefined;
112
+ /**
113
+ * Runs once the content's exit animation ends.
114
+ */
115
+ readonly onExitComplete?: (() => void) | undefined;
116
+ /**
117
+ * When true, content that is open on mount plays no entry animation.
118
+ */
119
+ readonly skipAnimationOnMount?: boolean | undefined;
120
+ /**
121
+ * When true, the overlay removes its content once the exit animation ends.
122
+ *
123
+ * @defaultValue true
124
+ */
125
+ readonly unmountOnExit?: boolean | undefined;
126
+ }
127
+ //#endregion
128
+ //#region src/action-bar/root.d.ts
129
+ /**
130
+ * Renders the `div` that provides the recipe's variants.
131
+ */
132
+ declare const Framed$2: import("@stealthscale/theme").StyledComponent<"div", {
133
+ readonly placement?: "bottom" | "bottom-end" | "bottom-start" | undefined;
134
+ }>;
135
+ /**
136
+ * Describes the details `onOpenChange` receives.
137
+ */
138
+ interface OpenChangeDetails$1 {
139
+ /**
140
+ * The open state that the bar asks for. Escape and the close trigger ask for false.
141
+ */
142
+ readonly open: boolean;
143
+ }
144
+ /**
145
+ * Describes the props of the root: whether the bar is open, how it asks to close, its announcement,
146
+ * the presence options, the recipe's variants and the props of a `div`.
147
+ */
148
+ interface RootProps$7 extends ComponentProps<typeof Framed$2>, OverlayPresence {
149
+ /**
150
+ * The words that a screen reader announces when the bar opens.
151
+ *
152
+ * @defaultValue "Actions available"
153
+ */
154
+ readonly announcement?: string | undefined;
155
+ /**
156
+ * When true, Escape inside the bar asks to close it.
157
+ *
158
+ * @defaultValue true
159
+ */
160
+ readonly closeOnEscape?: boolean | undefined;
161
+ /**
162
+ * Runs when the bar asks to close. The caller closes the bar by clearing the selection.
163
+ */
164
+ readonly onOpenChange?: ((details: OpenChangeDetails$1) => void) | undefined;
165
+ /**
166
+ * True while the bar is open. A caller sets it while anything is selected.
167
+ */
168
+ readonly open: boolean;
169
+ }
170
+ /**
171
+ * Renders the root and provides the bar's state and presence to the parts.
172
+ *
173
+ * @param props - Whether the bar is open, how it asks to close, its announcement, the presence
174
+ * options, the recipe's variants and the props of a `div`.
175
+ * @returns The `div` element inside the providers.
176
+ */
177
+ declare function Root$7({ announcement, closeOnEscape, lazyMount, onExitComplete, onOpenChange, open, skipAnimationOnMount, unmountOnExit, ...props }: RootProps$7): ReactElement;
178
+ declare namespace index_d_exports {
179
+ export { CloseTrigger$1 as CloseTrigger, CloseTriggerProps$1 as CloseTriggerProps, Content$4 as Content, ContentProps$2 as ContentProps, OpenChangeDetails$1 as OpenChangeDetails, Positioner$1 as Positioner, PositionerProps$1 as PositionerProps, Root$7 as Root, RootProps$7 as RootProps };
180
+ }
181
+ //#endregion
182
+ //#region src/app-shell/panels.d.ts
183
+ /**
184
+ * Describes the state one panel publishes.
185
+ */
186
+ interface Panel$1 {
187
+ /**
188
+ * Result of closing the panel in the body: `hide` hides it, and `icons` leaves a rail.
189
+ */
190
+ readonly collapse: Collapse;
191
+ /**
192
+ * Whether the shell is too narrow for the panel and the panel is hidden.
193
+ */
194
+ readonly hidden: boolean;
195
+ /**
196
+ * Identifier of the panel's element, which a trigger's `aria-controls` points at.
197
+ */
198
+ readonly id: string;
199
+ /**
200
+ * Widest width a person resizes the panel to, in pixels, or undefined for half the window.
201
+ */
202
+ readonly maxSize: number | undefined;
203
+ /**
204
+ * Narrowest width a person resizes the panel to, in pixels, or undefined for 192.
205
+ */
206
+ readonly minSize: number | undefined;
207
+ /**
208
+ * Whether the panel is shown: open in the body, or open over the page.
209
+ */
210
+ readonly open: boolean;
211
+ /**
212
+ * Whether the shell is too narrow for the panel and the panel is over the page.
213
+ */
214
+ readonly overlaid: boolean;
215
+ /**
216
+ * Whether a person resizes the panel by its rail.
217
+ */
218
+ readonly resizable: boolean;
219
+ /**
220
+ * Shows or hides the panel.
221
+ */
222
+ readonly setOpen: (open: boolean) => void;
223
+ /**
224
+ * Sets the width a person resized the panel to, in pixels.
225
+ */
226
+ readonly setSize: (size: number) => void;
227
+ /**
228
+ * Side of the page the panel is on.
229
+ */
230
+ readonly side: Side;
231
+ /**
232
+ * Whether the shell is too narrow for the panel and the panel has dropped under the page.
233
+ */
234
+ readonly stacked: boolean;
235
+ }
236
+ //#endregion
237
+ //#region src/app-shell/state.d.ts
238
+ /**
239
+ * Selects the side of the page a panel is on.
240
+ */
241
+ type Side = "end" | "start";
242
+ /**
243
+ * Selects what closing a panel in the body leaves: nothing, or a rail wide enough for its icons.
244
+ */
245
+ type Collapse = "hide" | "icons";
246
+ /**
247
+ * Every `Collapse` value.
248
+ */
249
+ declare const COLLAPSES: readonly Collapse[];
250
+ /**
251
+ * Selects where a panel goes when the shell is too narrow to fit it beside the page.
252
+ *
253
+ * @remarks
254
+ * `over` lays it over the page behind a backdrop, the usual navigation on a phone. `under` drops
255
+ * it under the page as a block that is always shown, the usual detail panel on a phone. `hide`
256
+ * removes it until the shell is wide enough again, such as a rail of sections whose destinations
257
+ * a phone lists in a bar at its foot.
258
+ */
259
+ type Fold = "hide" | "over" | "under";
260
+ /**
261
+ * Every `Fold` value.
262
+ */
263
+ declare const FOLDS: readonly Fold[];
264
+ /**
265
+ * Selects the widths of the shell a bar renders at: below the width the navigation folds at, or
266
+ * from it.
267
+ */
268
+ type ShellWidth = "narrow" | "wide";
269
+ /**
270
+ * Provides a panel's state to its content and reads it, throwing outside a panel or returning
271
+ * `undefined` there.
272
+ */
273
+ declare const PanelProvider: import("react").FunctionComponent<import("@stealthscale/hooks").ProvidedProps<Panel$1>>, useNearestPanel: () => Panel$1, useEnclosingPanel: () => Panel$1 | undefined;
274
+ /**
275
+ * Reads one panel of the shell by name.
276
+ *
277
+ * @remarks
278
+ * An application uses it to close its navigation when a destination is pressed. It returns
279
+ * `undefined` when no panel has the name, and on a panel's first render, because a panel
280
+ * publishes itself in a layout effect.
281
+ * @param name - The `name` the panel was rendered with, `navbar` or `aside` by default.
282
+ * @returns The panel's state, or `undefined`.
283
+ */
284
+ declare function useAppShellPanel(name: string): Panel$1 | undefined;
285
+ /**
286
+ * Returns the panels that are open over the page, which the backdrop and every inert part read.
287
+ *
288
+ * @returns The open panels over the page, or an empty array.
289
+ */
290
+ declare function useOverlaid(): readonly Panel$1[];
291
+ //#endregion
292
+ //#region src/app-shell/use-panel.d.ts
293
+ /**
294
+ * Describes the options of a panel.
295
+ */
296
+ interface PanelOptions {
297
+ /**
298
+ * Result of closing the panel in the body: `hide` hides it, and `icons` leaves a rail wide
299
+ * enough for its icons. Defaults to `hide`.
300
+ */
301
+ readonly collapse?: Collapse | undefined;
302
+ /**
303
+ * Whether the panel starts open when the caller does not control it. Defaults to `true`.
304
+ */
305
+ readonly defaultOpen?: boolean | undefined;
306
+ /**
307
+ * Width the panel starts at, in pixels, when the caller does not control `size`. The panel's
308
+ * open width where left out.
309
+ */
310
+ readonly defaultSize?: number | undefined;
311
+ /**
312
+ * Where the panel goes when the shell is too narrow for it: over the page behind a backdrop,
313
+ * under the page as a block, or out of the shell. Defaults to `over`.
314
+ */
315
+ readonly folds?: Fold | undefined;
316
+ /**
317
+ * Breakpoint below which the panel folds, or `never` for a panel in the body at every width.
318
+ * Defaults to `md` on the start side and `lg` on the end side.
319
+ */
320
+ readonly foldsBelow?: "never" | Breakpoint | undefined;
321
+ /**
322
+ * Widest width a person resizes the panel to, in pixels. Half the window's width by default.
323
+ */
324
+ readonly maxSize?: number | undefined;
325
+ /**
326
+ * Narrowest width a person resizes the panel to, in pixels. 192 by default.
327
+ */
328
+ readonly minSize?: number | undefined;
329
+ /**
330
+ * Name a trigger uses to find the panel. Defaults to `navbar` on the start side and `aside` on
331
+ * the end side.
332
+ */
333
+ readonly name?: string | undefined;
334
+ /**
335
+ * Called with the new state when the panel opens or closes.
336
+ */
337
+ readonly onOpenChange?: ((open: boolean) => void) | undefined;
338
+ /**
339
+ * Called with the new width, in pixels, while a person resizes the panel.
340
+ */
341
+ readonly onSizeChange?: ((size: number) => void) | undefined;
342
+ /**
343
+ * Whether the panel is open beside the page, when the application controls it. A panel over the
344
+ * page keeps its own state, which starts closed.
345
+ */
346
+ readonly open?: boolean | undefined;
347
+ /**
348
+ * Whether a person resizes the panel by its rail, the strip `AppShell.Rail` renders on its edge.
349
+ * Defaults to `false`.
350
+ */
351
+ readonly resizable?: boolean | undefined;
352
+ /**
353
+ * Key that toggles the panel with the platform's modifier held: `b` for ⌘B and Ctrl+B. No
354
+ * shortcut by default.
355
+ */
356
+ readonly shortcut?: string | undefined;
357
+ /**
358
+ * Width a person resized the panel to, in pixels, when the application controls it.
359
+ */
360
+ readonly size?: number | undefined;
361
+ }
362
+ //#endregion
363
+ //#region src/app-shell/panel.d.ts
364
+ /**
365
+ * Renders the content wrapper at the panel's open width, the scroll area's root.
366
+ */
367
+ declare const Held: import("@stealthscale/theme").StyledComponent<"div", {}>;
368
+ /**
369
+ * Describes the props of `Panel`.
370
+ */
371
+ interface PanelProps$1 extends Omit<ComponentProps<typeof Held>, "id" | "width" | keyof PanelOptions>, PanelOptions {
372
+ /**
373
+ * Width the panel closes to when `collapse` is `icons`, as a CSS length. The theme's
374
+ * `sizes.rail` when absent.
375
+ */
376
+ readonly railWidth?: string | undefined;
377
+ /**
378
+ * Side of the page the panel is on.
379
+ */
380
+ readonly side: Side;
381
+ /**
382
+ * Width the panel opens to, as a CSS length. The theme's `sizes.sidebar` on the start side and
383
+ * `sizes.aside` on the end side when absent.
384
+ */
385
+ readonly width?: string | undefined;
386
+ }
387
+ //#endregion
388
+ //#region src/app-shell/aside.d.ts
389
+ /**
390
+ * Describes the props of `Aside`: a panel's props without `side`.
391
+ */
392
+ type AsideProps$1 = Omit<PanelProps$1, "side">;
393
+ /**
394
+ * Renders a panel on the end side.
395
+ *
396
+ * @param props - How the panel folds and closes, and its content.
397
+ * @returns The panel.
398
+ */
399
+ declare function Aside$1(props: AsideProps$1): ReactElement;
400
+ //#endregion
401
+ //#region src/app-shell/body.d.ts
402
+ /**
403
+ * Describes the props of `Body`: the props of the row, without `as`, because the row is the scroll
404
+ * area's content and another element in its place would drop the content's part.
405
+ */
406
+ type BodyProps$3 = Omit<ScrollArea.ContentProps, "as">;
407
+ /**
408
+ * Renders the body as a scroll area around the row, which ends with the backdrop.
409
+ *
410
+ * @param props - The panels, the main region and the row's props.
411
+ * @returns The scroll area's root around the row.
412
+ */
413
+ declare function Body$3({ children, ...rest }: BodyProps$3): ReactElement;
414
+ //#endregion
415
+ //#region src/app-shell/footer.d.ts
416
+ /**
417
+ * Renders the bar `footer`.
418
+ */
419
+ declare const Barred$2: import("@stealthscale/theme").StyledComponent<"footer", {}>;
420
+ /**
421
+ * Describes the props of `Footer`.
422
+ */
423
+ interface FooterProps$3 extends ComponentProps<typeof Barred$2> {
424
+ /**
425
+ * Whether the bar pins to the bottom of the window while the window scrolls.
426
+ */
427
+ readonly sticky?: boolean | undefined;
428
+ /**
429
+ * Width of the shell the bar renders at: `narrow` below the `md` breakpoint, `wide` from it.
430
+ * Every width when absent.
431
+ */
432
+ readonly when?: ShellWidth | undefined;
433
+ }
434
+ /**
435
+ * Renders a bar across the bottom.
436
+ *
437
+ * @param props - `sticky`, `when` and the `footer` element's props.
438
+ * @returns The bar, inert while a panel is over the page, or nothing at a width `when` excludes.
439
+ */
440
+ declare function Footer$3({ sticky, when, ...rest }: FooterProps$3): null | ReactElement;
441
+ //#endregion
442
+ //#region src/app-shell/header.d.ts
443
+ /**
444
+ * Renders the bar `header`.
445
+ */
446
+ declare const Barred$1: import("@stealthscale/theme").StyledComponent<"header", {}>;
447
+ /**
448
+ * Describes the props of `Header`.
449
+ */
450
+ interface HeaderProps$4 extends ComponentProps<typeof Barred$1> {
451
+ /**
452
+ * Whether the bar pins to the top of the window while the window scrolls.
453
+ */
454
+ readonly sticky?: boolean | undefined;
455
+ }
456
+ /**
457
+ * Renders a bar across the top.
458
+ *
459
+ * @param props - `sticky` and the `header` element's props.
460
+ * @returns The bar, inert while a panel is over the page.
461
+ */
462
+ declare function Header$4({ sticky, ...rest }: HeaderProps$4): ReactElement;
463
+ //#endregion
464
+ //#region src/app-shell/main.d.ts
465
+ /**
466
+ * Describes the props of `Main`, which are the props of the `main` element.
467
+ */
468
+ interface MainProps extends Omit<ScrollArea.ViewportProps, "as" | "focusable"> {
469
+ /**
470
+ * Id that the root's `ids` give the `main` element.
471
+ */
472
+ readonly id?: string | undefined;
473
+ }
474
+ /**
475
+ * Renders the main region in the space that the panels leave.
476
+ *
477
+ * @remarks
478
+ * The scroll area's machine finds the `main` element by its id. The caller's `id` goes to the
479
+ * root's `ids`. The root sets it on the `main` element.
480
+ * @param props - The props of the `main` element. Its children contain the page.
481
+ * @returns The main region.
482
+ */
483
+ declare function Main({ children, id, ...props }: MainProps): ReactElement;
484
+ //#endregion
485
+ //#region src/app-shell/metrics.d.ts
486
+ /**
487
+ * Custom property an ancestor sets to the height of the shell's window.
488
+ *
489
+ * @remarks
490
+ * A box that stages a shell at a fixed height sets it, and also contains the shell's fixed
491
+ * parts with `contain: layout`. Unset, the window is the viewport.
492
+ */
493
+ declare const WINDOW_HEIGHT = "--app-shell-window-height";
494
+ //#endregion
495
+ //#region src/app-shell/navbar.d.ts
496
+ /**
497
+ * Describes the props of `Navbar`: a panel's props without `side`.
498
+ */
499
+ type NavbarProps = Omit<PanelProps$1, "side">;
500
+ /**
501
+ * Renders a panel on the start side.
502
+ *
503
+ * @param props - How the panel folds and closes, and its content.
504
+ * @returns The panel.
505
+ */
506
+ declare function Navbar(props: NavbarProps): ReactElement;
507
+ //#endregion
508
+ //#region src/app-shell/pane.d.ts
509
+ /**
510
+ * Renders the pane `div`.
511
+ */
512
+ declare const Pane: import("@stealthscale/theme").StyledComponent<"div", {}>;
513
+ /**
514
+ * Describes the props of `Pane`: the props of a `div`.
515
+ */
516
+ type PaneProps = ComponentProps<typeof Pane>;
517
+ //#endregion
518
+ //#region src/app-shell/rail-separator.d.ts
519
+ /**
520
+ * Renders the separator `div` with the rail's class.
521
+ */
522
+ declare const Divided: import("@stealthscale/theme").StyledComponent<"div", {}>;
523
+ /**
524
+ * Describes the props of `RailSeparator`: the panel, the name, a press handler, and the attributes
525
+ * and style props of an element, without its other handlers.
526
+ *
527
+ * @remarks
528
+ * The rail renders a `button` for a panel that is not resizable and this `div` for one that is,
529
+ * so its props leave out every handler typed for one element.
530
+ */
531
+ interface RailSeparatorProps extends Omit<ComponentProps<typeof Divided>, "aria-controls" | "ref" | keyof DOMAttributes<HTMLElement>> {
532
+ /**
533
+ * The panel the separator resizes.
534
+ */
535
+ readonly held: Panel$1;
536
+ /**
537
+ * Accessible name of the separator.
538
+ */
539
+ readonly label: string;
540
+ /**
541
+ * Called on a press before the separator toggles its panel. Calling `preventDefault` leaves the
542
+ * panel as it is.
543
+ */
544
+ readonly onClick?: MouseEventHandler<HTMLElement> | undefined;
545
+ }
546
+ //#endregion
547
+ //#region src/app-shell/rail.d.ts
548
+ /**
549
+ * Describes the props of `Rail`: the labels, the panel's name, a press handler, and the attributes
550
+ * and style props of the element.
551
+ */
552
+ interface RailProps extends Omit<RailSeparatorProps, "held" | "label"> {
553
+ /**
554
+ * Accessible name of the rail while its panel is open. Defaults to `Close`.
555
+ */
556
+ readonly closeLabel?: string | undefined;
557
+ /**
558
+ * Accessible name of the rail while its panel is closed. Defaults to `Open`.
559
+ */
560
+ readonly openLabel?: string | undefined;
561
+ /**
562
+ * Name of the panel the rail controls. Defaults to `navbar`.
563
+ */
564
+ readonly panel?: string | undefined;
565
+ /**
566
+ * Accessible name of the rail of a resizable panel. Defaults to `Resize`.
567
+ */
568
+ readonly resizeLabel?: string | undefined;
569
+ }
570
+ /**
571
+ * Renders the strip that toggles one panel, or the separator that resizes it.
572
+ *
573
+ * @param props - The labels, the panel's name and the element's props.
574
+ * @returns The strip, or `null` while its panel is not in the body.
575
+ */
576
+ declare function Rail({ closeLabel, onClick, openLabel, panel, resizeLabel, ...rest }: RailProps): null | ReactElement;
577
+ //#endregion
578
+ //#region src/app-shell/root.d.ts
579
+ /**
580
+ * Renders the column and provides the variants to every part below it.
581
+ */
582
+ declare const Columned$3: import("@stealthscale/theme").StyledComponent<"div", {
583
+ readonly content?: "constrained" | "fluid" | undefined;
584
+ readonly divided?: boolean | undefined;
585
+ readonly scroll?: "page" | "window" | undefined;
586
+ readonly variant?: "floating" | "inset" | "plain" | undefined;
587
+ }>;
588
+ /**
589
+ * Describes the props of `Root`.
590
+ */
591
+ type RootProps$6 = ComponentProps<typeof Columned$3>;
592
+ /**
593
+ * Renders the shell: bars across the top and the bottom, and a body between them with panels on
594
+ * either side of the page or of a pane.
595
+ *
596
+ * @param props - The recipe's variants and the `div` element's props.
597
+ * @returns The column, with the shell's state in context.
598
+ */
599
+ declare function Root$6({ scroll, ...rest }: RootProps$6): ReactElement;
600
+ //#endregion
601
+ //#region src/app-shell/section.d.ts
602
+ /**
603
+ * Renders the section `div`.
604
+ */
605
+ declare const Banded$4: import("@stealthscale/theme").StyledComponent<"div", {}>;
606
+ /**
607
+ * Describes the props of `Section`.
608
+ */
609
+ interface SectionProps extends ComponentProps<typeof Banded$4> {
610
+ /**
611
+ * Whether the section takes the room its siblings leave.
612
+ */
613
+ readonly grows?: boolean | undefined;
614
+ /**
615
+ * Whether the section scrolls its own content.
616
+ */
617
+ readonly scrolls?: boolean | undefined;
618
+ }
619
+ /**
620
+ * Renders the band, inside a scroll area when it scrolls.
621
+ *
622
+ * @param props - `grows`, `scrolls` and the `div` element's props.
623
+ * @returns The `div` element, or the scroll area's root around it.
624
+ */
625
+ declare function Section({ grows, scrolls, ...rest }: SectionProps): ReactElement;
626
+ //#endregion
627
+ //#region src/app-shell/status.d.ts
628
+ /**
629
+ * Renders the bar `section`.
630
+ */
631
+ declare const Barred: import("@stealthscale/theme").StyledComponent<"section", {}>;
632
+ /**
633
+ * Describes the props of `Status`: `label` and the props of a `section` element.
634
+ */
635
+ interface StatusProps extends ComponentProps<typeof Barred> {
636
+ /**
637
+ * Name of the region. `Status` by default.
638
+ */
639
+ readonly label?: string | undefined;
640
+ }
641
+ /**
642
+ * Renders the status bar.
643
+ *
644
+ * @returns The bar, inert while a panel is over the page.
645
+ */
646
+ declare function Status({ label, ...props }: StatusProps): ReactElement;
647
+ //#endregion
648
+ //#region src/app-shell/trigger.d.ts
649
+ /**
650
+ * Renders the library's button as a neutral ghost, typed `button` so it submits no form.
651
+ */
652
+ declare const Pressable: import("@stealthscale/theme").StyledComponent<typeof Button, {}>;
653
+ /**
654
+ * Describes the props of `Trigger`.
655
+ */
656
+ interface TriggerProps$2 extends Omit<ComponentProps<typeof Pressable>, "aria-controls"> {
657
+ /**
658
+ * Name of the panel the control opens. Defaults to `navbar`.
659
+ */
660
+ readonly panel?: string | undefined;
661
+ }
662
+ /**
663
+ * Renders the control that toggles one panel.
664
+ *
665
+ * @param props - `panel` and the button's props.
666
+ * @returns The control, or `null` while its panel is under the page or hidden.
667
+ */
668
+ declare function Trigger$2({ onClick, panel, ...rest }: TriggerProps$2): null | ReactElement;
669
+ declare namespace index_d_exports$1 {
670
+ export { Aside$1 as Aside, AsideProps$1 as AsideProps, Body$3 as Body, BodyProps$3 as BodyProps, COLLAPSES, Collapse, FOLDS, Fold, Footer$3 as Footer, FooterProps$3 as FooterProps, Header$4 as Header, HeaderProps$4 as HeaderProps, Main, MainProps, Navbar, NavbarProps, Pane, PaneProps, Panel$1 as Panel, PanelOptions, Rail, RailProps, Root$6 as Root, RootProps$6 as RootProps, Section, SectionProps, ShellWidth, Side, Status, StatusProps, Trigger$2 as Trigger, TriggerProps$2 as TriggerProps, WINDOW_HEIGHT, useAppShellPanel, useNearestPanel, useOverlaid };
671
+ }
672
+ //#endregion
673
+ //#region src/floating-panel/body.d.ts
674
+ /**
675
+ * Renders the `div` with the floating panel's body class.
676
+ */
677
+ declare const Drawn$12: import("@stealthscale/theme").StyledComponent<"div", {}>;
678
+ /**
679
+ * Describes the props of the body: the props of a `div`.
680
+ */
681
+ type BodyProps$2 = ComponentProps<typeof Drawn$12>;
682
+ /**
683
+ * Renders the body inside a scroll area with a vertical bar, hidden while the panel is minimized.
684
+ *
685
+ * @param props - The props of a `div`.
686
+ * @returns The scroll area's root.
687
+ */
688
+ declare function Body$2(props: BodyProps$2): ReactElement;
689
+ //#endregion
690
+ //#region src/floating-panel/close-trigger.d.ts
691
+ /**
692
+ * Describes the props of the close trigger: the name and the props of the icon button.
693
+ */
694
+ interface CloseTriggerProps extends Omit<ButtonProps, "aria-label" | "aria-labelledby" | "ref"> {
695
+ /**
696
+ * Accessible name of the button. Defaults to "Close".
697
+ */
698
+ readonly label?: string | undefined;
699
+ }
700
+ /**
701
+ * Renders the close trigger with the machine's close trigger props and its name merged under the
702
+ * caller's.
703
+ *
704
+ * @param props - The name, the glyph and the props of the icon button.
705
+ * @returns The `button` element.
706
+ */
707
+ declare function CloseTrigger({ label, ...props }: CloseTriggerProps): ReactElement;
708
+ //#endregion
709
+ //#region src/floating-panel/content.d.ts
710
+ /**
711
+ * Renders the `div` with the floating panel's content class.
712
+ */
713
+ declare const Drawn$11: import("@stealthscale/theme").StyledComponent<"div", {}>;
714
+ /**
715
+ * Describes the props of the content: the props of a `div`, without `ref`, which the presence
716
+ * takes.
717
+ */
718
+ type ContentProps$1 = Omit<ComponentProps<typeof Drawn$11>, "ref">;
719
+ /**
720
+ * Renders the panel with the machine's content props, the presence props and the keys merged under
721
+ * the caller's, and moves Tab between the panel and the trigger while the panel is open.
722
+ *
723
+ * @param props - The parts of the panel and the props of a `div`.
724
+ * @returns The `div` element.
725
+ */
726
+ declare function Content$3(props: ContentProps$1): ReactElement;
727
+ //#endregion
728
+ //#region src/floating-panel/control.d.ts
729
+ /**
730
+ * Renders the `div` with the floating panel's control class.
731
+ */
732
+ declare const Drawn$10: import("@stealthscale/theme").StyledComponent<"div", {}>;
733
+ /**
734
+ * Describes the props of the control: the props of a `div`.
735
+ */
736
+ type ControlProps = ComponentProps<typeof Drawn$10>;
737
+ /**
738
+ * Renders the control with the machine's control props merged under the caller's.
739
+ *
740
+ * @param props - The triggers and the props of a `div`.
741
+ * @returns The `div` element.
742
+ */
743
+ declare function Control(props: ControlProps): ReactElement;
744
+ //#endregion
745
+ //#region src/floating-panel/drag-trigger.d.ts
746
+ /**
747
+ * Renders the `div` with the floating panel's drag trigger class.
748
+ */
749
+ declare const Drawn$9: import("@stealthscale/theme").StyledComponent<"div", {}>;
750
+ /**
751
+ * Describes the props of the drag trigger: the props of a `div`.
752
+ */
753
+ type DragTriggerProps = ComponentProps<typeof Drawn$9>;
754
+ /**
755
+ * Renders the drag trigger with the machine's drag trigger props, but their inline style, merged
756
+ * under the caller's.
757
+ *
758
+ * @param props - The title, a grip glyph and the props of a `div`.
759
+ * @returns The `div` element.
760
+ */
761
+ declare function DragTrigger(props: DragTriggerProps): ReactElement;
762
+ //#endregion
763
+ //#region src/floating-panel/header.d.ts
764
+ /**
765
+ * Renders the `div` with the floating panel's header class.
766
+ */
767
+ declare const Drawn$8: import("@stealthscale/theme").StyledComponent<"div", {}>;
768
+ /**
769
+ * Describes the props of the header: the props of a `div`.
770
+ */
771
+ type HeaderProps$3 = ComponentProps<typeof Drawn$8>;
772
+ /**
773
+ * Renders the header with the machine's header props merged under the caller's.
774
+ *
775
+ * @param props - The props of a `div`.
776
+ * @returns The `div` element.
777
+ */
778
+ declare function Header$3(props: HeaderProps$3): ReactElement;
779
+ //#endregion
780
+ //#region src/floating-panel/positioner.d.ts
781
+ /**
782
+ * Renders the `div` with the floating panel's positioner class.
783
+ */
784
+ declare const Drawn$7: import("@stealthscale/theme").StyledComponent<"div", {}>;
785
+ /**
786
+ * Describes the props of the positioner: the props of a `div`.
787
+ */
788
+ type PositionerProps = ComponentProps<typeof Drawn$7>;
789
+ /**
790
+ * Renders the positioner with the machine's positioner props, but its inline `z-index`, merged
791
+ * under the caller's.
792
+ *
793
+ * @param props - The props of a `div`.
794
+ * @returns The `div` element, or nothing while the panel is out of the document.
795
+ */
796
+ declare function Positioner(props: PositionerProps): null | ReactElement;
797
+ //#endregion
798
+ //#region src/floating-panel/resize-trigger.d.ts
799
+ /**
800
+ * Renders the `div` with the floating panel's resize trigger class.
801
+ */
802
+ declare const Drawn$6: import("@stealthscale/theme").StyledComponent<"div", {}>;
803
+ /**
804
+ * Describes the props of a resize trigger: the axis and the props of a `div`.
805
+ */
806
+ interface ResizeTriggerProps$1 extends ComponentProps<typeof Drawn$6> {
807
+ /**
808
+ * Edge or corner the trigger resizes from: `n`, `e`, `s` or `w`, or `ne`, `nw`, `se` or `sw`.
809
+ */
810
+ readonly axis: ResizeTriggerAxis;
811
+ }
812
+ /**
813
+ * Renders the trigger with the machine's resize trigger props merged under the caller's.
814
+ *
815
+ * @param props - The axis and the props of a `div`.
816
+ * @returns The `div` element.
817
+ */
818
+ declare function ResizeTrigger$1({ axis, ...props }: ResizeTriggerProps$1): ReactElement;
819
+ //#endregion
820
+ //#region src/floating-panel/resize-triggers.d.ts
821
+ /**
822
+ * Describes the props of the triggers: the axes and the props every trigger receives.
823
+ */
824
+ interface ResizeTriggersProps extends Omit<ResizeTriggerProps$1, "axis"> {
825
+ /**
826
+ * Edges and corners to render a trigger for. Defaults to all eight.
827
+ */
828
+ readonly axes?: readonly ResizeTriggerAxis[] | undefined;
829
+ }
830
+ /**
831
+ * Renders one resize trigger per axis.
832
+ *
833
+ * @param props - The axes and the props of a `div`.
834
+ * @returns A fragment with one trigger per axis.
835
+ */
836
+ declare function ResizeTriggers({ axes, ...props }: ResizeTriggersProps): ReactElement;
837
+ //#endregion
838
+ //#region src/floating-panel/machine.d.ts
839
+ /**
840
+ * Describes the machine settings a caller can pass to the root, all optional.
841
+ *
842
+ * @remarks
843
+ * `strategy` is left out: the machine computes the place in window coordinates, which only a
844
+ * panel fixed to the window reads correctly. `translations` is left out for the stage triggers'
845
+ * `label`.
846
+ */
847
+ type FloatingPanelOptions = Partial<Omit<floatingPanel.Props, "strategy" | "translations">>;
848
+ //#endregion
849
+ //#region src/floating-panel/root.d.ts
850
+ /**
851
+ * Renders the `div` that provides the recipe to the parts.
852
+ */
853
+ declare const Framed$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
854
+ /**
855
+ * Describes the props of the root: the machine's options, the presence of the panel and the props
856
+ * of a `div`.
857
+ *
858
+ * @remarks
859
+ * The element's `id`, `dir`, `draggable` and `position` are left out, because the machine takes
860
+ * all four. It derives every part's id from `id` and writes `dir` on every part. It reads
861
+ * `draggable` as whether a person can move the panel, and `position` as the panel's place.
862
+ */
863
+ interface RootProps$5 extends FloatingPanelOptions, Omit<ComponentProps<typeof Framed$1>, "dir" | "draggable" | "id" | "position">, OverlayPresence {}
864
+ /**
865
+ * Renders the root and provides the machine and the panel's presence to the parts.
866
+ *
867
+ * @param props - The machine's options, the presence options and the props of a `div`.
868
+ * @returns The `div` element inside the providers.
869
+ */
870
+ declare function Root$5({ lazyMount, onExitComplete, skipAnimationOnMount, unmountOnExit, ...props }: RootProps$5): ReactElement;
871
+ //#endregion
872
+ //#region src/floating-panel/stage-trigger.d.ts
873
+ /**
874
+ * Describes the props of a stage trigger: the stage, the name and the props of the icon button.
875
+ */
876
+ interface StageTriggerProps extends Omit<ButtonProps, "aria-label" | "aria-labelledby" | "ref"> {
877
+ /**
878
+ * Accessible name of the button. Defaults to "Minimize", "Maximize" or "Restore" by `stage`.
879
+ */
880
+ readonly label?: string | undefined;
881
+ /**
882
+ * Stage a press sets: `minimized`, `maximized`, or `default`, which restores the panel.
883
+ */
884
+ readonly stage: Stage;
885
+ }
886
+ /**
887
+ * Renders the trigger with the machine's stage trigger props, its name and its focus records
888
+ * merged under the caller's.
889
+ *
890
+ * @param props - The stage, the name, the glyph and the props of the icon button.
891
+ * @returns The `button` element.
892
+ */
893
+ declare function StageTrigger({ label, stage, ...props }: StageTriggerProps): ReactElement;
894
+ //#endregion
895
+ //#region src/floating-panel/title.d.ts
896
+ /**
897
+ * Renders the `h2` with the floating panel's title class.
898
+ */
899
+ declare const Drawn$5: import("@stealthscale/theme").StyledComponent<"h2", {}>;
900
+ /**
901
+ * Describes the props of the title: the props of an `h2`.
902
+ */
903
+ type TitleProps$3 = ComponentProps<typeof Drawn$5>;
904
+ /**
905
+ * Renders the title with the machine's title props merged under the caller's.
906
+ *
907
+ * @param props - The props of an `h2`.
908
+ * @returns The heading element.
909
+ */
910
+ declare function Title$3(props: TitleProps$3): ReactElement;
911
+ //#endregion
912
+ //#region src/floating-panel/trigger.d.ts
913
+ /**
914
+ * Renders the `button` with the floating panel's trigger class.
915
+ */
916
+ declare const Drawn$4: import("@stealthscale/theme").StyledComponent<"button", {}>;
917
+ /**
918
+ * Describes the props of the trigger: the props of a `button`.
919
+ */
920
+ type TriggerProps$1 = ComponentProps<typeof Drawn$4>;
921
+ /**
922
+ * Renders the trigger with the machine's trigger props and the panel's state merged under the
923
+ * caller's props.
924
+ *
925
+ * @param props - The props of a `button`.
926
+ * @returns The `button` element.
927
+ */
928
+ declare function Trigger$1(props: TriggerProps$1): ReactElement;
929
+ declare namespace index_d_exports$2 {
930
+ export { AnchorPositionDetails, Body$2 as Body, BodyProps$2 as BodyProps, CloseTrigger, CloseTriggerProps, Content$3 as Content, ContentProps$1 as ContentProps, Control, ControlProps, DragTrigger, DragTriggerProps, Header$3 as Header, HeaderProps$3 as HeaderProps, OpenChangeDetails, Point, PositionChangeDetails, Positioner, PositionerProps, ResizeTrigger$1 as ResizeTrigger, ResizeTriggerAxis$1 as ResizeTriggerAxis, ResizeTriggerProps$1 as ResizeTriggerProps, ResizeTriggers, ResizeTriggersProps, Root$5 as Root, RootProps$5 as RootProps, Size, SizeChangeDetails, Stage$1 as Stage, StageChangeDetails, StageTrigger, StageTriggerProps, Title$3 as Title, TitleProps$3 as TitleProps, Trigger$1 as Trigger, TriggerProps$1 as TriggerProps };
931
+ }
932
+ //#endregion
933
+ //#region src/folding/priority.d.ts
934
+ /**
935
+ * Types the priority that decides how an action folds as its row narrows, and derives it from the
936
+ * props a caller sets.
937
+ *
938
+ * @remarks
939
+ * A narrow row keeps a primary action whole, renders a secondary action as its icon alone, and
940
+ * moves a tertiary action into the row's menu.
941
+ */
942
+ /**
943
+ * Priority of an action, which decides what a narrow row does with it.
944
+ */
945
+ type Priority = "primary" | "secondary" | "tertiary";
946
+ //#endregion
947
+ //#region src/page/state.d.ts
948
+ /**
949
+ * Size of a page.
950
+ */
951
+ type PageSize = "lg" | "md" | "sm";
952
+ /**
953
+ * Width at which a part renders.
954
+ */
955
+ type PageWidth = "narrow" | "wide";
956
+ /**
957
+ * Describes the props of a part rendered at one width.
958
+ */
959
+ interface WhenProps {
960
+ /**
961
+ * Width at which the part renders. `narrow` renders it on a folded page alone, and `wide` on an
962
+ * unfolded page alone, which swaps a full trail for a single link back. Without it, the part
963
+ * renders at every width.
964
+ */
965
+ readonly when?: PageWidth | undefined;
966
+ }
967
+ //#endregion
968
+ //#region src/page/action.d.ts
969
+ /**
970
+ * Renders the library's button with the recipe's action class.
971
+ */
972
+ declare const Acted$2: import("@stealthscale/theme").StyledComponent<typeof Button, {}>;
973
+ /**
974
+ * Describes the props of an action: its icon, whether it is primary, its priority, `when` and the
975
+ * props of the library's button.
976
+ */
977
+ interface ActionProps$3 extends Omit<ComponentProps<typeof Acted$2>, "onClick">, WhenProps {
978
+ /**
979
+ * Icon before the words, which a narrow page shows alone.
980
+ */
981
+ readonly icon?: ReactNode | undefined;
982
+ /**
983
+ * Handler the button or the menu row calls when a reader presses it.
984
+ */
985
+ readonly onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
986
+ /**
987
+ * Whether the action is the page's primary action, which renders solid and keeps its words.
988
+ */
989
+ readonly primary?: boolean | undefined;
990
+ /**
991
+ * Priority that decides how a narrow page folds the action, in place of the one `icon` and
992
+ * `primary` imply.
993
+ */
994
+ readonly priority?: Priority | undefined;
995
+ }
996
+ /**
997
+ * Renders the action, or nothing while the page folds it into the menu or `when` hides it.
998
+ *
999
+ * @param props - The icon, the primary flag, the priority, the width and the props of the
1000
+ * library's button.
1001
+ * @returns The `button` element, or nothing on a narrow page that folds it and at the other width.
1002
+ */
1003
+ declare function Action$3({ as, children, disabled, icon, onClick, primary, priority, when, ...rest }: ActionProps$3): null | ReactElement;
1004
+ //#endregion
1005
+ //#region src/page/actions.d.ts
1006
+ /**
1007
+ * Renders the `div` with the recipe's actions class.
1008
+ */
1009
+ declare const Row$3: import("@stealthscale/theme").StyledComponent<"div", {}>;
1010
+ /**
1011
+ * Describes the props of the actions row: the menu's words and mark, `when` and the props of a
1012
+ * `div`.
1013
+ */
1014
+ interface ActionsProps$1 extends ComponentProps<typeof Row$3>, WhenProps {
1015
+ /**
1016
+ * Words that name the menu of folded actions. Defaults to `More actions`.
1017
+ */
1018
+ readonly more?: string | undefined;
1019
+ /**
1020
+ * Mark the menu's trigger shows in place of its words.
1021
+ */
1022
+ readonly moreIcon?: ReactNode | undefined;
1023
+ }
1024
+ /**
1025
+ * Renders the row at the width `when` names, with the menu at its end while an action is folded.
1026
+ *
1027
+ * @param props - The menu's words and mark, the width and the props of a `div`.
1028
+ * @returns The `div` element, or nothing at the other width.
1029
+ */
1030
+ declare function Actions$1({ children, more, moreIcon, when, ...rest }: ActionsProps$1): null | ReactElement;
1031
+ //#endregion
1032
+ //#region src/page/sticky.d.ts
1033
+ /**
1034
+ * Types the `sticky` prop of a band and converts it to the attribute the recipe reads.
1035
+ */
1036
+ /**
1037
+ * Describes the prop of a band that can stick to the top of the page.
1038
+ */
1039
+ interface StickyProps {
1040
+ /**
1041
+ * Whether the band remains at the top while the page scrolls under it.
1042
+ */
1043
+ readonly sticky?: boolean | undefined;
1044
+ }
1045
+ //#endregion
1046
+ //#region src/page/aside.d.ts
1047
+ /**
1048
+ * Renders the `aside` with the recipe's aside class.
1049
+ */
1050
+ declare const Beside: import("@stealthscale/theme").StyledComponent<"aside", {}>;
1051
+ /**
1052
+ * Behaviour of the aside below the `lg` breakpoint.
1053
+ */
1054
+ type AsideFold = "hide" | "under";
1055
+ /**
1056
+ * Describes the props of the aside: how it folds, `sticky` and the props of an `aside`.
1057
+ */
1058
+ interface AsideProps extends ComponentProps<typeof Beside>, StickyProps {
1059
+ /**
1060
+ * Whether the aside stacks under the body or leaves the page below the `lg` breakpoint. It
1061
+ * stacks under the body by default.
1062
+ */
1063
+ readonly folds?: AsideFold | undefined;
1064
+ }
1065
+ /**
1066
+ * Renders the aside with `data-folds`, and, when it sticks, `data-sticky` and its content in a
1067
+ * scroll area.
1068
+ *
1069
+ * @param props - How it folds, whether it sticks, and the props of an `aside`.
1070
+ * @returns The `aside` element.
1071
+ */
1072
+ declare function Aside({ children, folds, sticky, ...rest }: AsideProps): ReactElement;
1073
+ //#endregion
1074
+ //#region src/page/banner.d.ts
1075
+ /**
1076
+ * Renders the `div` with the recipe's banner class.
1077
+ */
1078
+ declare const Banner: import("@stealthscale/theme").StyledComponent<"div", {}>;
1079
+ /**
1080
+ * Describes the props of the banner: the props of a `div`.
1081
+ */
1082
+ type BannerProps = ComponentProps<typeof Banner>;
1083
+ //#endregion
1084
+ //#region src/page/body.d.ts
1085
+ /**
1086
+ * Renders the `div` with the recipe's body class.
1087
+ */
1088
+ declare const Content$2: import("@stealthscale/theme").StyledComponent<"div", {}>;
1089
+ /**
1090
+ * Describes the props of the body: the props of a `div`.
1091
+ */
1092
+ type BodyProps$1 = ComponentProps<typeof Content$2>;
1093
+ /**
1094
+ * Renders the body, as the selected tab's panel while a strip of tabs renders.
1095
+ *
1096
+ * @param props - The props of a `div`.
1097
+ * @returns The `div` element.
1098
+ */
1099
+ declare function Body$1(props: BodyProps$1): ReactElement;
1100
+ //#endregion
1101
+ //#region src/page/breadcrumbs.d.ts
1102
+ /**
1103
+ * Describes one page above this one.
1104
+ */
1105
+ interface Crumb {
1106
+ /**
1107
+ * Address of the page.
1108
+ */
1109
+ readonly href: string;
1110
+ /**
1111
+ * Words that name the page.
1112
+ */
1113
+ readonly label: string;
1114
+ /**
1115
+ * Handler the link calls when a reader presses it, for a router that handles the navigation.
1116
+ */
1117
+ readonly onClick?: ((event: MouseEvent<HTMLAnchorElement>) => void) | undefined;
1118
+ }
1119
+ /**
1120
+ * Describes the props of the breadcrumbs: the pages above this one, the trail's name and the marks.
1121
+ */
1122
+ interface BreadcrumbsProps {
1123
+ /**
1124
+ * Mark before the words of the narrow page's link back, such as an arrow.
1125
+ */
1126
+ readonly backIcon?: ReactNode | undefined;
1127
+ /**
1128
+ * Pages above this one, the nearest last.
1129
+ */
1130
+ readonly items: readonly Crumb[];
1131
+ /**
1132
+ * Accessible name of the trail's navigation landmark. Defaults to `Breadcrumb`.
1133
+ */
1134
+ readonly label?: string | undefined;
1135
+ /**
1136
+ * Content of the separator between two items. Defaults to `/`.
1137
+ */
1138
+ readonly separator?: ReactNode | undefined;
1139
+ }
1140
+ /**
1141
+ * Renders the trail, or the link back on a narrow page.
1142
+ *
1143
+ * @param props - The pages above this one, the trail's name and the marks.
1144
+ * @returns The context row with the trail, the link back, or nothing without an item.
1145
+ */
1146
+ declare function Breadcrumbs({ backIcon, items, label, separator }: BreadcrumbsProps): null | ReactElement;
1147
+ //#endregion
1148
+ //#region src/page/context-band.d.ts
1149
+ /**
1150
+ * Renders the `div` with the recipe's context class.
1151
+ */
1152
+ declare const Row$2: import("@stealthscale/theme").StyledComponent<"div", {}>;
1153
+ /**
1154
+ * Describes the props of the context row: `when` and the props of a `div`.
1155
+ */
1156
+ interface ContextProps extends ComponentProps<typeof Row$2>, WhenProps {}
1157
+ /**
1158
+ * Renders the context row at the width `when` names.
1159
+ *
1160
+ * @param props - The width and the props of a `div`.
1161
+ * @returns The `div` element, or nothing at the other width.
1162
+ */
1163
+ declare function Context({ when, ...rest }: ContextProps): null | ReactElement;
1164
+ //#endregion
1165
+ //#region src/page/description.d.ts
1166
+ /**
1167
+ * Renders the `p` with the recipe's description class.
1168
+ */
1169
+ declare const Description$1: import("@stealthscale/theme").StyledComponent<"p", {}>;
1170
+ /**
1171
+ * Describes the props of the description: the props of a `p`.
1172
+ */
1173
+ type DescriptionProps$1 = ComponentProps<typeof Description$1>;
1174
+ //#endregion
1175
+ //#region src/page/footer.d.ts
1176
+ /**
1177
+ * Renders the `footer` with the recipe's footer class.
1178
+ */
1179
+ declare const Banded$3: import("@stealthscale/theme").StyledComponent<"footer", {}>;
1180
+ /**
1181
+ * Describes the props of the footer: `sticky`, `when` and the props of a `footer`.
1182
+ */
1183
+ interface FooterProps$2 extends ComponentProps<typeof Banded$3>, StickyProps, WhenProps {}
1184
+ /**
1185
+ * Renders the footer at the width `when` names, with `data-sticky` when it sticks to the bottom.
1186
+ *
1187
+ * @param props - Whether it sticks, the width and the props of a `footer`.
1188
+ * @returns The `footer` element, or nothing at the other width.
1189
+ */
1190
+ declare function Footer$2({ sticky, when, ...rest }: FooterProps$2): null | ReactElement;
1191
+ //#endregion
1192
+ //#region src/page/header.d.ts
1193
+ /**
1194
+ * Renders the `header` with the recipe's header class.
1195
+ */
1196
+ declare const Banded$2: import("@stealthscale/theme").StyledComponent<"header", {}>;
1197
+ /**
1198
+ * Describes the props of the header: `sticky` and the props of a `header`.
1199
+ */
1200
+ interface HeaderProps$2 extends ComponentProps<typeof Banded$2>, StickyProps {}
1201
+ /**
1202
+ * Renders the header, with `data-sticky` when it sticks.
1203
+ *
1204
+ * @param props - Whether it sticks, and the props of a `header`.
1205
+ * @returns The `header` element.
1206
+ */
1207
+ declare function Header$2({ sticky, ...rest }: HeaderProps$2): ReactElement;
1208
+ //#endregion
1209
+ //#region src/page/leading.d.ts
1210
+ /**
1211
+ * Renders the `div` with the recipe's leading class.
1212
+ */
1213
+ declare const Mark$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
1214
+ /**
1215
+ * Describes the props of the leading mark: `when` and the props of a `div`.
1216
+ */
1217
+ interface LeadingProps extends ComponentProps<typeof Mark$1>, WhenProps {}
1218
+ /**
1219
+ * Renders the leading mark at the width `when` names.
1220
+ *
1221
+ * @param props - The width and the props of a `div`.
1222
+ * @returns The `div` element, or nothing at the other width.
1223
+ */
1224
+ declare function Leading({ when, ...rest }: LeadingProps): null | ReactElement;
1225
+ //#endregion
1226
+ //#region src/page/meta.d.ts
1227
+ /**
1228
+ * Renders the `div` with the recipe's meta class.
1229
+ */
1230
+ declare const Row$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
1231
+ /**
1232
+ * Describes the props of the meta row: `when` and the props of a `div`.
1233
+ */
1234
+ interface MetaProps extends ComponentProps<typeof Row$1>, WhenProps {}
1235
+ /**
1236
+ * Renders the meta row at the width `when` names.
1237
+ *
1238
+ * @param props - The width and the props of a `div`.
1239
+ * @returns The `div` element, or nothing at the other width.
1240
+ */
1241
+ declare function Meta({ when, ...rest }: MetaProps): null | ReactElement;
1242
+ //#endregion
1243
+ //#region src/page/nav.d.ts
1244
+ /**
1245
+ * Renders the `nav` with the recipe's nav class.
1246
+ */
1247
+ declare const Banded$1: import("@stealthscale/theme").StyledComponent<"nav", {}>;
1248
+ /**
1249
+ * Describes the props of the navigation: `sticky`, `when` and the props of a `nav`.
1250
+ */
1251
+ interface NavProps$1 extends ComponentProps<typeof Banded$1>, StickyProps, WhenProps {}
1252
+ /**
1253
+ * Renders the navigation at the width `when` names, with `data-sticky` when it sticks.
1254
+ *
1255
+ * @param props - Whether it sticks, the width and the props of a `nav`.
1256
+ * @returns The `nav` element, or nothing at the other width.
1257
+ */
1258
+ declare function Nav$1({ sticky, when, ...rest }: NavProps$1): null | ReactElement;
1259
+ //#endregion
1260
+ //#region src/page/palette.d.ts
1261
+ /**
1262
+ * Renders the `div` with the recipe's palette class.
1263
+ */
1264
+ declare const Palette: import("@stealthscale/theme").StyledComponent<"div", {}>;
1265
+ /**
1266
+ * Describes the props of the panel: the props of a `div`.
1267
+ */
1268
+ type PaletteProps = ComponentProps<typeof Palette>;
1269
+ //#endregion
1270
+ //#region src/page/picker.d.ts
1271
+ /**
1272
+ * Renders the library's button with the recipe's picker class.
1273
+ */
1274
+ declare const Picker: import("@stealthscale/theme").StyledComponent<typeof Button, {}>;
1275
+ /**
1276
+ * Describes the props of the picker: the props of the library's button.
1277
+ */
1278
+ type PickerProps = ComponentProps<typeof Picker>;
1279
+ //#endregion
1280
+ //#region src/page/root.d.ts
1281
+ /**
1282
+ * Renders the `div` with the recipe's root class, which provides the variants to the bands.
1283
+ */
1284
+ declare const Columned$2: import("@stealthscale/theme").StyledComponent<"div", {
1285
+ readonly align?: "center" | "start" | undefined;
1286
+ readonly divided?: boolean | undefined;
1287
+ readonly gutter?: import("@stealthscale/theme/authoring").Scale | undefined;
1288
+ readonly measure?: "full" | "narrow" | "wide" | undefined;
1289
+ readonly folded?: boolean | undefined;
1290
+ readonly size?: "lg" | "md" | "sm" | undefined;
1291
+ }>;
1292
+ /**
1293
+ * Describes the props of the page: its size, the recipe's variants without `folded`, which the
1294
+ * page measures, and the props of a `div`.
1295
+ */
1296
+ interface RootProps$4 extends Omit<ComponentProps<typeof Columned$2>, "folded" | "size"> {
1297
+ /**
1298
+ * Size of the page, which a section in it reads too.
1299
+ */
1300
+ readonly size?: PageSize | undefined;
1301
+ }
1302
+ /**
1303
+ * Renders the page with its measured width and provides its state to the parts.
1304
+ *
1305
+ * @param props - The size, the recipe's variants and the props of a `div`.
1306
+ * @returns The `div` element, with `folded` and `data-narrow` while it is narrow.
1307
+ */
1308
+ declare function Root$4({ size, ...rest }: RootProps$4): ReactElement;
1309
+ //#endregion
1310
+ //#region src/page/sidebar-column.d.ts
1311
+ /**
1312
+ * Renders the column `div` with the recipe's sidebar class.
1313
+ */
1314
+ declare const Columned$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
1315
+ /**
1316
+ * Describes the props of `SidebarColumn`: `sticky`, the resizing options and the props of a `div`.
1317
+ */
1318
+ interface SidebarColumnProps extends ComponentProps<typeof Columned$1>, StickyProps {
1319
+ /**
1320
+ * Width the sidebar starts at, in pixels, when the caller does not control `size`. The theme's
1321
+ * sidebar width where left out.
1322
+ */
1323
+ readonly defaultSize?: number | undefined;
1324
+ /**
1325
+ * Widest width a person resizes the sidebar to, in pixels. Half the window's width by default.
1326
+ */
1327
+ readonly maxSize?: number | undefined;
1328
+ /**
1329
+ * Narrowest width a person resizes the sidebar to, in pixels. 192 by default.
1330
+ */
1331
+ readonly minSize?: number | undefined;
1332
+ /**
1333
+ * Called with the new width, in pixels, while a person resizes the sidebar.
1334
+ */
1335
+ readonly onSizeChange?: ((size: number) => void) | undefined;
1336
+ /**
1337
+ * Whether a person resizes the sidebar by the separator on its end edge. Defaults to `false`.
1338
+ */
1339
+ readonly resizable?: boolean | undefined;
1340
+ /**
1341
+ * Accessible name of the separator. Defaults to `Resize`.
1342
+ */
1343
+ readonly resizeLabel?: string | undefined;
1344
+ /**
1345
+ * Width a person resized the sidebar to, in pixels, when the application controls it.
1346
+ */
1347
+ readonly size?: number | undefined;
1348
+ }
1349
+ //#endregion
1350
+ //#region src/page/sidebar.d.ts
1351
+ /**
1352
+ * Describes the props of `Sidebar`: the picker's words and mark, `sticky`, the resizing options and
1353
+ * the props of a `div`.
1354
+ */
1355
+ interface SidebarProps extends SidebarColumnProps {
1356
+ /**
1357
+ * Words the picker shows on a narrow page, such as the current destination's name. `label`
1358
+ * where left out.
1359
+ */
1360
+ readonly current?: ReactNode | undefined;
1361
+ /**
1362
+ * Accessible name of the picker's panel, and the picker's words where `current` is left out.
1363
+ */
1364
+ readonly label: string;
1365
+ /**
1366
+ * Mark at the end of the picker, such as a chevron.
1367
+ */
1368
+ readonly pickerIcon?: ReactNode | undefined;
1369
+ }
1370
+ /**
1371
+ * Renders the column beside the body, or the band with the picker on a narrow page.
1372
+ *
1373
+ * @param props - The picker's words and mark, `sticky`, the resizing options and the props of a
1374
+ * `div`.
1375
+ * @returns The `div` element.
1376
+ */
1377
+ declare function Sidebar({ children, current, label, pickerIcon, ...rest }: SidebarProps): ReactElement;
1378
+ //#endregion
1379
+ //#region src/page/tab-list.d.ts
1380
+ /**
1381
+ * Describes the props of the tab list: its name, its value and the words and mark of the picker.
1382
+ */
1383
+ interface TabListProps {
1384
+ /**
1385
+ * Accessible name of the tabs and of the picker's list. Defaults to `Sections`.
1386
+ */
1387
+ readonly "aria-label"?: string | undefined;
1388
+ /**
1389
+ * The page's tabs.
1390
+ */
1391
+ readonly children?: ReactNode | undefined;
1392
+ /**
1393
+ * Value of the tab selected at first, while the caller does not pass `value`.
1394
+ */
1395
+ readonly defaultValue?: string | undefined;
1396
+ /**
1397
+ * Words the picker's list shows while no tab matches the filter. Defaults to `No tab matches`.
1398
+ */
1399
+ readonly emptyLabel?: string | undefined;
1400
+ /**
1401
+ * Words the picker's empty filter field shows. Defaults to `Filter tabs`.
1402
+ */
1403
+ readonly filterLabel?: string | undefined;
1404
+ /**
1405
+ * Called with the value of the tab a reader selects.
1406
+ */
1407
+ readonly onValueChange?: ((value: string) => void) | undefined;
1408
+ /**
1409
+ * Mark at the end of the picker's button, such as a chevron.
1410
+ */
1411
+ readonly pickerIcon?: ReactNode | undefined;
1412
+ /**
1413
+ * Value of the selected tab, when the caller controls it.
1414
+ */
1415
+ readonly value?: string | undefined;
1416
+ }
1417
+ /**
1418
+ * Renders the strip of tabs or the picker, and lists the tabs for the picker.
1419
+ *
1420
+ * @param props - The name, the value and the picker's words and mark.
1421
+ * @returns The tabs, or the picker on a narrow page.
1422
+ */
1423
+ declare function TabList({ "aria-label": label, children, defaultValue, emptyLabel, filterLabel, onValueChange, pickerIcon, value }: TabListProps): ReactElement;
1424
+ //#endregion
1425
+ //#region src/page/tab.d.ts
1426
+ /**
1427
+ * Describes the props of a tab: its words, its count and the props of the disclosure package's
1428
+ * tab trigger.
1429
+ */
1430
+ interface TabProps extends Omit<Tabs.TriggerProps, "children"> {
1431
+ /**
1432
+ * Words of the tab.
1433
+ */
1434
+ readonly children: string;
1435
+ /**
1436
+ * Number the tab's badge shows, such as the rows the tab's view contains.
1437
+ */
1438
+ readonly count?: number | undefined;
1439
+ }
1440
+ /**
1441
+ * Renders the tab, or nothing on a narrow page, and lists it with its tab list.
1442
+ *
1443
+ * @param props - The words, the count and the trigger's props.
1444
+ * @returns The `button` element, or nothing on a narrow page.
1445
+ */
1446
+ declare function Tab({ children, count, disabled, value, ...rest }: TabProps): null | ReactElement;
1447
+ //#endregion
1448
+ //#region src/page/tabs.d.ts
1449
+ /**
1450
+ * Renders the `div` with the recipe's tabs class.
1451
+ */
1452
+ declare const Tabs$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
1453
+ /**
1454
+ * Describes the props of the tab strip: the props of a `div`.
1455
+ */
1456
+ type TabsProps = ComponentProps<typeof Tabs$1>;
1457
+ //#endregion
1458
+ //#region src/page/title.d.ts
1459
+ /**
1460
+ * Renders the `h1` with the recipe's title class.
1461
+ */
1462
+ declare const Title$2: import("@stealthscale/theme").StyledComponent<"h1", {}>;
1463
+ /**
1464
+ * Describes the props of the title: the props of a heading.
1465
+ */
1466
+ type TitleProps$2 = ComponentProps<typeof Title$2>;
1467
+ //#endregion
1468
+ //#region src/page/toolbar.d.ts
1469
+ /**
1470
+ * Renders the `div` with the recipe's toolbar class.
1471
+ */
1472
+ declare const Banded: import("@stealthscale/theme").StyledComponent<"div", {}>;
1473
+ /**
1474
+ * Describes the props of the toolbar band: `sticky` and the props of a `div`.
1475
+ */
1476
+ interface ToolbarProps extends ComponentProps<typeof Banded>, StickyProps {}
1477
+ /**
1478
+ * Renders the toolbar band, with `data-sticky` when it sticks.
1479
+ *
1480
+ * @param props - Whether it sticks, and the props of a `div`.
1481
+ * @returns The `div` element.
1482
+ */
1483
+ declare function Toolbar({ sticky, ...rest }: ToolbarProps): ReactElement;
1484
+ //#endregion
1485
+ //#region src/page/trail.d.ts
1486
+ /**
1487
+ * Renders the `a` with the recipe's trail class.
1488
+ */
1489
+ declare const Trail: import("@stealthscale/theme").StyledComponent<"a", {}>;
1490
+ /**
1491
+ * Describes the props of the link back: the props of an `a`.
1492
+ */
1493
+ type TrailProps = ComponentProps<typeof Trail>;
1494
+ //#endregion
1495
+ //#region src/page/when.d.ts
1496
+ /**
1497
+ * Describes the props of the switch: the width and the parts that render at it.
1498
+ */
1499
+ interface WhenComponentProps extends WhenProps {
1500
+ /**
1501
+ * The parts that render at the width.
1502
+ */
1503
+ readonly children?: ReactNode | undefined;
1504
+ }
1505
+ /**
1506
+ * Renders its children at the width it names, and nothing at the other.
1507
+ *
1508
+ * @param props - The width, and the parts that render at it.
1509
+ * @returns The children, or `null`.
1510
+ */
1511
+ declare function When({ children, when }: WhenComponentProps): ReactNode;
1512
+ declare namespace index_d_exports$3 {
1513
+ export { Action$3 as Action, ActionProps$3 as ActionProps, Actions$1 as Actions, ActionsProps$1 as ActionsProps, Aside, AsideFold, AsideProps, Banner, BannerProps, Body$1 as Body, BodyProps$1 as BodyProps, Breadcrumbs, BreadcrumbsProps, Context, ContextProps, Crumb, Description$1 as Description, DescriptionProps$1 as DescriptionProps, Footer$2 as Footer, FooterProps$2 as FooterProps, Header$2 as Header, HeaderProps$2 as HeaderProps, Leading, LeadingProps, Meta, MetaProps, Nav$1 as Nav, NavProps$1 as NavProps, Palette, PaletteProps, Picker, PickerProps, Root$4 as Root, RootProps$4 as RootProps, Sidebar, SidebarProps, Tab, TabList, TabListProps, TabProps, Tabs$1 as Tabs, TabsProps, Title$2 as Title, TitleProps$2 as TitleProps, Toolbar, ToolbarProps, Trail, TrailProps, When, WhenComponentProps };
1514
+ }
1515
+ //#endregion
1516
+ //#region src/section/action.d.ts
1517
+ /**
1518
+ * Renders the library's button with the recipe's action class.
1519
+ */
1520
+ declare const Acted$1: import("@stealthscale/theme").StyledComponent<typeof Button, {}>;
1521
+ /**
1522
+ * Describes the props of an action: its icon, whether it is primary, its priority and the props of
1523
+ * the library's button.
1524
+ */
1525
+ interface ActionProps$2 extends Omit<ComponentProps<typeof Acted$1>, "onClick"> {
1526
+ /**
1527
+ * Icon before the words, which a narrow section shows alone.
1528
+ */
1529
+ readonly icon?: ReactNode | undefined;
1530
+ /**
1531
+ * Handler the button or the menu row calls when a reader presses it.
1532
+ */
1533
+ readonly onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
1534
+ /**
1535
+ * Whether the action is the section's primary action, which renders solid and keeps its words.
1536
+ */
1537
+ readonly primary?: boolean | undefined;
1538
+ /**
1539
+ * Priority that decides how a narrow section folds the action, in place of the one `icon` and
1540
+ * `primary` imply.
1541
+ */
1542
+ readonly priority?: Priority | undefined;
1543
+ }
1544
+ /**
1545
+ * Renders the action, or nothing while the section folds it into the menu.
1546
+ *
1547
+ * @param props - The icon, the primary flag, the priority and the props of the library's button.
1548
+ * @returns The `button` element, or nothing on a narrow section that folds it.
1549
+ */
1550
+ declare function Action$2({ as, children, disabled, icon, onClick, primary, priority, ...rest }: ActionProps$2): null | ReactElement;
1551
+ //#endregion
1552
+ //#region src/section/actions.d.ts
1553
+ /**
1554
+ * Renders the `div` with the recipe's actions class.
1555
+ */
1556
+ declare const Row: import("@stealthscale/theme").StyledComponent<"div", {}>;
1557
+ /**
1558
+ * Describes the props of the actions row: the menu's words and mark, and the props of a `div`.
1559
+ */
1560
+ interface ActionsProps extends ComponentProps<typeof Row> {
1561
+ /**
1562
+ * Words that name the menu of folded actions. Defaults to `More actions`.
1563
+ */
1564
+ readonly more?: string | undefined;
1565
+ /**
1566
+ * Mark the menu's trigger shows in place of its words.
1567
+ */
1568
+ readonly moreIcon?: ReactNode | undefined;
1569
+ }
1570
+ /**
1571
+ * Renders the row, with the menu at its end while an action is folded.
1572
+ *
1573
+ * @param props - The menu's words and mark, and the props of a `div`.
1574
+ * @returns The `div` element.
1575
+ */
1576
+ declare function Actions({ children, more, moreIcon, ...rest }: ActionsProps): ReactElement;
1577
+ //#endregion
1578
+ //#region src/section/body.d.ts
1579
+ /**
1580
+ * Renders the `div` with the recipe's body class.
1581
+ */
1582
+ declare const Content$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
1583
+ /**
1584
+ * Describes the props of the body: whether it runs to the card's edges, and the props of a `div`.
1585
+ */
1586
+ interface BodyProps extends ComponentProps<typeof Content$1> {
1587
+ /**
1588
+ * Whether the body drops its padding and runs to the card's edges.
1589
+ */
1590
+ readonly bleed?: boolean | undefined;
1591
+ }
1592
+ /**
1593
+ * Renders the body, with `data-bleed` while it runs to the card's edges.
1594
+ *
1595
+ * @param props - Whether the body bleeds, and the props of a `div`.
1596
+ * @returns The `div` element.
1597
+ */
1598
+ declare function Body({ bleed, ...rest }: BodyProps): ReactElement;
1599
+ //#endregion
1600
+ //#region src/section/description.d.ts
1601
+ /**
1602
+ * Renders the `p` with the recipe's description class.
1603
+ */
1604
+ declare const Description: import("@stealthscale/theme").StyledComponent<"p", {}>;
1605
+ /**
1606
+ * Describes the props of the description: the props of a `p`.
1607
+ */
1608
+ type DescriptionProps = ComponentProps<typeof Description>;
1609
+ //#endregion
1610
+ //#region src/section/footer.d.ts
1611
+ /**
1612
+ * Renders the `footer` with the recipe's footer class.
1613
+ */
1614
+ declare const Footer$1: import("@stealthscale/theme").StyledComponent<"footer", {}>;
1615
+ /**
1616
+ * Describes the props of the footer: the props of a `footer`.
1617
+ */
1618
+ type FooterProps$1 = ComponentProps<typeof Footer$1>;
1619
+ //#endregion
1620
+ //#region src/section/header.d.ts
1621
+ /**
1622
+ * Renders the `header` with the recipe's header class.
1623
+ */
1624
+ declare const Header$1: import("@stealthscale/theme").StyledComponent<"header", {}>;
1625
+ /**
1626
+ * Describes the props of the header: the props of a `header`.
1627
+ */
1628
+ type HeaderProps$1 = ComponentProps<typeof Header$1>;
1629
+ //#endregion
1630
+ //#region src/section/root.d.ts
1631
+ /**
1632
+ * Renders the `section` with the recipe's root class, which provides the variants to the parts.
1633
+ */
1634
+ declare const Block: import("@stealthscale/theme").StyledComponent<"section", {
1635
+ readonly annotated?: boolean | undefined;
1636
+ readonly size?: "lg" | "md" | "sm" | undefined;
1637
+ readonly variant?: "plain" | "surface" | undefined;
1638
+ }>;
1639
+ /**
1640
+ * Describes the props of the section: the recipe's variants and the props of a `section`, without
1641
+ * `aria-labelledby`, which the root sets.
1642
+ */
1643
+ type RootProps$3 = Omit<ComponentProps<typeof Block>, "aria-labelledby">;
1644
+ /**
1645
+ * Renders the section with its title's id and its measured width.
1646
+ *
1647
+ * @param props - The recipe's variants and the props of a `section`.
1648
+ * @returns The `section` element, with `data-narrow` while it is narrow.
1649
+ */
1650
+ declare function Root$3({ size, ...rest }: RootProps$3): ReactElement;
1651
+ //#endregion
1652
+ //#region src/section/title.d.ts
1653
+ /**
1654
+ * Renders the `h2` with the recipe's title class.
1655
+ */
1656
+ declare const Named: import("@stealthscale/theme").StyledComponent<"h2", {}>;
1657
+ /**
1658
+ * Describes the props of the title: the props of a heading without `id`, which the section sets.
1659
+ */
1660
+ type TitleProps$1 = Omit<ComponentProps<typeof Named>, "id">;
1661
+ /**
1662
+ * Renders the heading with the section's title id.
1663
+ *
1664
+ * @param props - The props of a heading, without `id`.
1665
+ * @returns The heading element.
1666
+ */
1667
+ declare function Title$1(props: TitleProps$1): ReactElement;
1668
+ declare namespace index_d_exports$4 {
1669
+ export { Action$2 as Action, ActionProps$2 as ActionProps, Actions, ActionsProps, Body, BodyProps, Description, DescriptionProps, Footer$1 as Footer, FooterProps$1 as FooterProps, Header$1 as Header, HeaderProps$1 as HeaderProps, Root$3 as Root, RootProps$3 as RootProps, Title$1 as Title, TitleProps$1 as TitleProps };
1670
+ }
1671
+ //#endregion
1672
+ //#region src/sidebar/content.d.ts
1673
+ /**
1674
+ * Describes the props of `Content`: the props of the scroll area's content, without `as`, because
1675
+ * another element in its place would drop the content's part.
1676
+ */
1677
+ type ContentProps = Omit<ScrollArea.ContentProps, "as">;
1678
+ /**
1679
+ * Renders the blocks inside a scroll area with a vertical bar.
1680
+ *
1681
+ * @param props - The props of the scroll area's content, the blocks among its children.
1682
+ * @returns The scroll area's root.
1683
+ */
1684
+ declare function Content(props: ContentProps): ReactElement;
1685
+ //#endregion
1686
+ //#region src/sidebar/empty.d.ts
1687
+ /**
1688
+ * Renders the message `p` at the sidebar's size.
1689
+ */
1690
+ declare const Noted: import("@stealthscale/theme").StyledComponent<"p", {}>;
1691
+ /**
1692
+ * Describes the props of `Empty`.
1693
+ */
1694
+ type EmptyProps = ComponentProps<typeof Noted>;
1695
+ /**
1696
+ * Renders the message while the scope keeps no row, and announces it while a query is active.
1697
+ *
1698
+ * @param props - The `p` element's props.
1699
+ * @returns The `p` element, or nothing while the scope keeps a row.
1700
+ */
1701
+ declare function Empty(props: EmptyProps): null | ReactElement;
1702
+ //#endregion
1703
+ //#region src/sidebar/footer.d.ts
1704
+ /**
1705
+ * Renders the footer `div` at the sidebar's size.
1706
+ */
1707
+ declare const Footer: import("@stealthscale/theme").StyledComponent<"div", {}>;
1708
+ /**
1709
+ * Describes the props of `Footer`.
1710
+ */
1711
+ type FooterProps = ComponentProps<typeof Footer>;
1712
+ //#endregion
1713
+ //#region src/sidebar/header.d.ts
1714
+ /**
1715
+ * Renders the header `div` at the sidebar's size.
1716
+ */
1717
+ declare const Header: import("@stealthscale/theme").StyledComponent<"div", {}>;
1718
+ /**
1719
+ * Describes the props of `Header`.
1720
+ */
1721
+ type HeaderProps = ComponentProps<typeof Header>;
1722
+ //#endregion
1723
+ //#region src/sidebar/nav-action.d.ts
1724
+ /**
1725
+ * Renders the control `button` at the sidebar's size, typed `button` so it submits no form.
1726
+ */
1727
+ declare const NavAction: import("@stealthscale/theme").StyledComponent<"button", {}>;
1728
+ /**
1729
+ * Describes the props of `NavAction`.
1730
+ */
1731
+ type NavActionProps = ComponentProps<typeof NavAction>;
1732
+ //#endregion
1733
+ //#region src/sidebar/nav-heading.d.ts
1734
+ /**
1735
+ * Renders the heading `h2` at the sidebar's size.
1736
+ */
1737
+ declare const Headed$1: import("@stealthscale/theme").StyledComponent<"h2", {}>;
1738
+ /**
1739
+ * Describes the props of `NavHeading`, `id` among them.
1740
+ */
1741
+ type NavHeadingProps = ComponentProps<typeof Headed$1>;
1742
+ /**
1743
+ * Renders a heading over one list of destinations.
1744
+ *
1745
+ * @param props - The `h2` element's props, `id` among them.
1746
+ * @returns The `h2` element with the caller's `id`, at the sidebar's size.
1747
+ */
1748
+ declare function NavHeading(props: NavHeadingProps): ReactElement;
1749
+ //#endregion
1750
+ //#region src/sidebar/nav-label.d.ts
1751
+ /**
1752
+ * Renders the heading `h2` at the sidebar's size.
1753
+ */
1754
+ declare const Headed: import("@stealthscale/theme").StyledComponent<"h2", {}>;
1755
+ /**
1756
+ * Describes the props of `NavLabel`, less the `id` the block sets.
1757
+ */
1758
+ type NavLabelProps = Omit<ComponentProps<typeof Headed>, "id">;
1759
+ /**
1760
+ * Renders the label of a nav block.
1761
+ *
1762
+ * @param props - The `h2` element's props, less `id`.
1763
+ * @returns The heading, with the identifier the block's `aria-labelledby` points at.
1764
+ */
1765
+ declare function NavLabel(props: NavLabelProps): ReactElement;
1766
+ //#endregion
1767
+ //#region src/sidebar/nav.d.ts
1768
+ /**
1769
+ * Renders the block `nav` at the sidebar's size.
1770
+ */
1771
+ declare const Blocked: import("@stealthscale/theme").StyledComponent<"nav", {}>;
1772
+ /**
1773
+ * Describes the props of `Nav`, less the `aria-labelledby` the block sets.
1774
+ */
1775
+ type NavProps = Omit<ComponentProps<typeof Blocked>, "aria-labelledby">;
1776
+ /**
1777
+ * Renders a block of destinations named by its label or by `aria-label`.
1778
+ *
1779
+ * @param props - The `nav` element's props, less `aria-labelledby`.
1780
+ * @returns The block, with `aria-labelledby` unless `aria-label` is passed.
1781
+ */
1782
+ declare function Nav(props: NavProps): ReactElement;
1783
+ //#endregion
1784
+ //#region src/sidebar/root.d.ts
1785
+ /**
1786
+ * Renders the column and provides the variants to every part below it.
1787
+ */
1788
+ declare const Columned: import("@stealthscale/theme").StyledComponent<"div", {
1789
+ readonly size?: "lg" | "md" | "sm" | undefined;
1790
+ readonly variant?: "outline" | "plain" | "subtle" | "surface" | undefined;
1791
+ }>;
1792
+ /**
1793
+ * Describes the props of `Root`.
1794
+ */
1795
+ interface RootProps$2 extends ComponentProps<typeof Columned> {
1796
+ /**
1797
+ * Whether the sidebar is a rail of icons, in place of the one its panel implies.
1798
+ */
1799
+ readonly iconic?: boolean | undefined;
1800
+ }
1801
+ /**
1802
+ * Renders the sidebar's column.
1803
+ *
1804
+ * @param props - `iconic`, the recipe's variants and the `div` element's props.
1805
+ * @returns The column, with `data-iconic` on a rail.
1806
+ */
1807
+ declare function Root$2({ iconic, onClick, size, ...rest }: RootProps$2): ReactElement;
1808
+ //#endregion
1809
+ //#region src/sidebar/search.d.ts
1810
+ /**
1811
+ * Describes the props of `Search`: the props of the forms package's search input and the shortcut.
1812
+ */
1813
+ interface SearchProps$1 extends SearchInputProps {
1814
+ /**
1815
+ * Key that moves focus to the field with the platform's modifier held: `k` for ⌘K and Ctrl+K.
1816
+ */
1817
+ readonly shortcut?: string | undefined;
1818
+ }
1819
+ /**
1820
+ * Renders the field that filters the scope, the rail's button, or the caller's field.
1821
+ *
1822
+ * @param props - The props of the search input and the shortcut.
1823
+ * @returns The `div` element in the `search` role, or nothing on a rail it cannot open.
1824
+ */
1825
+ declare function Search$1({ "aria-label": named, children, defaultValue, onKeyDown, onValueChange, searchIndicator, shortcut, value: driven, ...rest }: SearchProps$1): null | ReactElement;
1826
+ //#endregion
1827
+ //#region src/sidebar/separator.d.ts
1828
+ /**
1829
+ * Renders the divider at the sidebar's size.
1830
+ */
1831
+ declare const Separator$1: import("@stealthscale/theme").StyledComponent<typeof Divider, {}>;
1832
+ /**
1833
+ * Describes the props of `Separator`.
1834
+ */
1835
+ type SeparatorProps$1 = ComponentProps<typeof Separator$1>;
1836
+ declare namespace index_d_exports$5 {
1837
+ export { Content, ContentProps, Empty, EmptyProps, Footer, FooterProps, Header, HeaderProps, Nav, NavAction, NavActionProps, NavHeading, NavHeadingProps, NavLabel, NavLabelProps, NavProps, Root$2 as Root, RootProps$2 as RootProps, Search$1 as Search, SearchProps$1 as SearchProps, Separator$1 as Separator, SeparatorProps$1 as SeparatorProps };
1838
+ }
1839
+ //#endregion
1840
+ //#region src/splitter/machine.d.ts
1841
+ /**
1842
+ * Describes the api `useSplitter` returns: the sizes, the methods that change them and a prop
1843
+ * getter per part.
1844
+ *
1845
+ * @remarks
1846
+ * The type is the return type of `connect`, so it follows the installed machine version. That
1847
+ * type references `@zag-js/types`, so the package declares that package as a dependency.
1848
+ */
1849
+ type SplitterApi = ReturnType<typeof splitter$1.connect>;
1850
+ /**
1851
+ * Describes the machine settings a caller passes to `useSplitter`: the panels, their sizes and the
1852
+ * callbacks.
1853
+ */
1854
+ interface SplitterOptions extends Omit<splitter$1.Props, "id" | "ids"> {
1855
+ /**
1856
+ * Base of the ids of the root, the panels and the triggers. A generated id is used when absent.
1857
+ */
1858
+ readonly id?: string | undefined;
1859
+ }
1860
+ /**
1861
+ * Starts the splitter machine and returns its connected api.
1862
+ *
1863
+ * @param options - The machine settings. A generated id is used when `id` is absent.
1864
+ * @returns The api the root provides to its parts.
1865
+ */
1866
+ declare function useSplitter(options: SplitterOptions): SplitterApi;
1867
+ //#endregion
1868
+ //#region src/splitter/panel.d.ts
1869
+ /**
1870
+ * Renders the `div` with the recipe's panel class.
1871
+ */
1872
+ declare const Drawn$3: import("@stealthscale/theme").StyledComponent<"div", {}>;
1873
+ /**
1874
+ * Describes the props of a panel: its id among the machine's panels and the props of a `div`.
1875
+ */
1876
+ interface PanelProps extends Omit<ComponentProps<typeof Drawn$3>, "id"> {
1877
+ /**
1878
+ * Id of the panel in the `panels` passed to `useSplitter`. The machine derives the element's id
1879
+ * from it.
1880
+ */
1881
+ readonly id: string;
1882
+ }
1883
+ /**
1884
+ * Renders the panel with the machine's panel props merged under the caller's.
1885
+ *
1886
+ * @param props - The panel's id and the props of a `div`.
1887
+ * @returns The `div` element.
1888
+ */
1889
+ declare function Panel({ id, ...props }: PanelProps): ReactElement;
1890
+ //#endregion
1891
+ //#region src/splitter/resize-trigger-indicator.d.ts
1892
+ /**
1893
+ * Renders the `div` with the recipe's indicator class.
1894
+ */
1895
+ declare const Drawn$2: import("@stealthscale/theme").StyledComponent<"div", {}>;
1896
+ /**
1897
+ * Describes the props of the pill: the props of a `div`.
1898
+ */
1899
+ type ResizeTriggerIndicatorProps = ComponentProps<typeof Drawn$2>;
1900
+ /**
1901
+ * Renders the pill with the machine's indicator props for its trigger merged under the caller's.
1902
+ *
1903
+ * @param props - The props of a `div`.
1904
+ * @returns The `div` element.
1905
+ */
1906
+ declare function ResizeTriggerIndicator(props: ResizeTriggerIndicatorProps): ReactElement;
1907
+ //#endregion
1908
+ //#region src/splitter/resize-trigger-separator.d.ts
1909
+ /**
1910
+ * Renders the `div` with the recipe's separator class.
1911
+ */
1912
+ declare const Drawn$1: import("@stealthscale/theme").StyledComponent<"div", {}>;
1913
+ /**
1914
+ * Describes the props of the line: the props of a `div`.
1915
+ */
1916
+ type ResizeTriggerSeparatorProps = ComponentProps<typeof Drawn$1>;
1917
+ /**
1918
+ * Renders the line with the splitter's orientation, which decides which way it runs.
1919
+ *
1920
+ * @param props - The props of a `div`.
1921
+ * @returns The `div` element.
1922
+ */
1923
+ declare function ResizeTriggerSeparator(props: ResizeTriggerSeparatorProps): ReactElement;
1924
+ //#endregion
1925
+ //#region src/splitter/resize-trigger.d.ts
1926
+ /**
1927
+ * Renders the `div` with the recipe's resize trigger class.
1928
+ */
1929
+ declare const Drawn: import("@stealthscale/theme").StyledComponent<"div", {}>;
1930
+ /**
1931
+ * Describes the props of a trigger: the panels it sits between, whether it is disabled, its name
1932
+ * and the props of a `div`.
1933
+ */
1934
+ interface ResizeTriggerProps extends Omit<ComponentProps<typeof Drawn>, "id"> {
1935
+ /**
1936
+ * Whether the trigger ignores the pointer and the keys. A disabled trigger leaves the tab order.
1937
+ */
1938
+ readonly disabled?: boolean | undefined;
1939
+ /**
1940
+ * Ids of the panels before and after the trigger, joined by a colon, such as `files:editor`.
1941
+ */
1942
+ readonly id: `${string}:${string}`;
1943
+ /**
1944
+ * Accessible name of the trigger. Defaults to "Resize".
1945
+ */
1946
+ readonly label?: string | undefined;
1947
+ }
1948
+ /**
1949
+ * Renders the trigger with the machine's trigger props, its name, its line's orientation and its
1950
+ * primary pane merged under the caller's.
1951
+ *
1952
+ * @param props - The panels, the disabled state, the name and the props of a `div`.
1953
+ * @returns The `div` element.
1954
+ */
1955
+ declare function ResizeTrigger({ children, disabled, id, label, ...props }: ResizeTriggerProps): ReactElement;
1956
+ //#endregion
1957
+ //#region src/splitter/root.d.ts
1958
+ /**
1959
+ * Renders the `div` that provides the recipe's variants.
1960
+ */
1961
+ declare const Framed: import("@stealthscale/theme").StyledComponent<"div", {
1962
+ readonly palette?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
1963
+ }>;
1964
+ /**
1965
+ * Describes the props of the root: the api, the recipe's variants and the props of a `div`.
1966
+ */
1967
+ interface RootProps$1 extends ComponentProps<typeof Framed> {
1968
+ /**
1969
+ * Api `useSplitter` returns, which every part reads.
1970
+ */
1971
+ readonly splitter: SplitterApi;
1972
+ }
1973
+ /**
1974
+ * Renders the root with the machine's root props but its inline layout, and provides the api to
1975
+ * the parts.
1976
+ *
1977
+ * @param props - The api, the recipe's variants and the props of a `div`.
1978
+ * @returns The `div` element inside the api provider.
1979
+ */
1980
+ declare function Root$1({ splitter, ...props }: RootProps$1): ReactElement;
1981
+ declare namespace index_d_exports$6 {
1982
+ export { ExpandCollapseDetails, Panel, PanelData, PanelProps, PanelSize, ResizeDetails, ResizeEndDetails, ResizeTrigger, ResizeTriggerIndicator, ResizeTriggerIndicatorProps, ResizeTriggerProps, ResizeTriggerSeparator, ResizeTriggerSeparatorProps, Root$1 as Root, RootProps$1 as RootProps, SplitterApi, SplitterOptions, useSplitter };
1983
+ }
1984
+ //#endregion
1985
+ //#region src/switcher/action.d.ts
1986
+ /**
1987
+ * Describes the props of `Action`: its icon, an optional value and the menu item's props.
1988
+ */
1989
+ interface ActionProps$1 extends Omit<ComponentProps<typeof Menu.Item>, "value"> {
1990
+ /**
1991
+ * Mark before the words.
1992
+ */
1993
+ readonly icon?: ReactNode | undefined;
1994
+ /**
1995
+ * Value the menu identifies the row by. A generated one when absent.
1996
+ */
1997
+ readonly value?: string | undefined;
1998
+ }
1999
+ /**
2000
+ * Renders the row with its icon before its words.
2001
+ *
2002
+ * @param props - The icon, the value and the menu item's props.
2003
+ * @returns The menu item.
2004
+ */
2005
+ declare function Action$1({ children, icon, value, ...rest }: ActionProps$1): ReactElement;
2006
+ //#endregion
2007
+ //#region src/switcher/detail.d.ts
2008
+ /**
2009
+ * Renders the detail `span` at the switcher's size.
2010
+ */
2011
+ declare const Detail: import("@stealthscale/theme").StyledComponent<"span", {}>;
2012
+ /**
2013
+ * Describes the props of `Detail`.
2014
+ */
2015
+ type DetailProps = ComponentProps<typeof Detail>;
2016
+ //#endregion
2017
+ //#region src/switcher/indicator.d.ts
2018
+ /**
2019
+ * Renders the menu's indicator with the indicator slot's class.
2020
+ */
2021
+ declare const Indicator: import("@stealthscale/theme").StyledComponent<typeof Menu.Indicator, {}>;
2022
+ /**
2023
+ * Describes the props of `Indicator`.
2024
+ */
2025
+ type IndicatorProps = ComponentProps<typeof Indicator>;
2026
+ //#endregion
2027
+ //#region src/switcher/label.d.ts
2028
+ /**
2029
+ * Renders the label `span` at the switcher's size.
2030
+ */
2031
+ declare const Label: import("@stealthscale/theme").StyledComponent<"span", {}>;
2032
+ /**
2033
+ * Describes the props of `Label`.
2034
+ */
2035
+ type LabelProps = ComponentProps<typeof Label>;
2036
+ //#endregion
2037
+ //#region src/switcher/mark.d.ts
2038
+ /**
2039
+ * Renders the mark `span` at the switcher's size, hidden from the accessibility tree.
2040
+ */
2041
+ declare const Mark: import("@stealthscale/theme").StyledComponent<"span", {}>;
2042
+ /**
2043
+ * Describes the props of `Mark`.
2044
+ */
2045
+ type MarkProps = ComponentProps<typeof Mark>;
2046
+ //#endregion
2047
+ //#region src/switcher/name.d.ts
2048
+ /**
2049
+ * Renders the name `span` at the switcher's size.
2050
+ */
2051
+ declare const Name: import("@stealthscale/theme").StyledComponent<"span", {}>;
2052
+ /**
2053
+ * Describes the props of `Name`.
2054
+ */
2055
+ type NameProps = ComponentProps<typeof Name>;
2056
+ //#endregion
2057
+ //#region src/switcher/trigger.d.ts
2058
+ /**
2059
+ * Renders the menu's trigger with the root slot's class.
2060
+ */
2061
+ declare const Pressed: import("@stealthscale/theme").StyledComponent<typeof Menu.Trigger, {}>;
2062
+ /**
2063
+ * Describes the props of `Trigger`.
2064
+ */
2065
+ interface TriggerProps extends ComponentProps<typeof Pressed> {
2066
+ /**
2067
+ * Kind of thing the control switches: `Workspace`, `Project`, `Environment`. A screen reader
2068
+ * announces it before the current name.
2069
+ */
2070
+ readonly label: string;
2071
+ }
2072
+ /**
2073
+ * Renders the control with its label before its children.
2074
+ *
2075
+ * @param props - `label` and the menu trigger's props.
2076
+ * @returns The menu's trigger with the hidden label before the children.
2077
+ */
2078
+ declare function Trigger({ children, label, ...rest }: TriggerProps): ReactElement;
2079
+ declare namespace index_d_exports$7 {
2080
+ export { Action$1 as Action, ActionProps$1 as ActionProps, Choice, Detail, DetailProps, Indicator, IndicatorProps, Label, LabelProps, Mark, MarkProps, Name, NameProps, Placement, Root$8 as Root, RootProps$8 as RootProps, SwitcherSize, Trigger, TriggerProps };
2081
+ }
2082
+ //#endregion
2083
+ //#region src/toolbar/action.d.ts
2084
+ /**
2085
+ * Renders the library's button with the recipe's action class.
2086
+ */
2087
+ declare const Acted: import("@stealthscale/theme").StyledComponent<typeof Button, {}>;
2088
+ /**
2089
+ * Describes the props of an action: its icon, whether it is primary, its priority and the props of
2090
+ * the library's button.
2091
+ */
2092
+ interface ActionProps extends Omit<ItemProps<typeof Acted>, "as" | "href" | "onClick"> {
2093
+ /**
2094
+ * Icon before the words, which a narrow row shows alone.
2095
+ */
2096
+ readonly icon?: ReactNode | undefined;
2097
+ /**
2098
+ * Handler the button or the menu row calls when a reader presses it.
2099
+ */
2100
+ readonly onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
2101
+ /**
2102
+ * Whether the action is the row's primary action, which renders solid and keeps its words.
2103
+ */
2104
+ readonly primary?: boolean | undefined;
2105
+ /**
2106
+ * Priority that decides how a narrow row folds the action, in place of the one `icon` and
2107
+ * `primary` imply.
2108
+ */
2109
+ readonly priority?: Priority | undefined;
2110
+ }
2111
+ /**
2112
+ * Renders the action, or nothing while the row folds it into its menu.
2113
+ *
2114
+ * @param props - The icon, the primary flag, the priority and the props of the library's button.
2115
+ * @returns The `button` element, or nothing on a narrow row that folds it.
2116
+ */
2117
+ declare function Action({ children, disabled, icon, onClick, primary, priority, ...rest }: ActionProps): null | ReactElement;
2118
+ //#endregion
2119
+ //#region src/toolbar/center.d.ts
2120
+ /**
2121
+ * Renders the `div` with the recipe's center class.
2122
+ */
2123
+ declare const Center: import("@stealthscale/theme").StyledComponent<"div", {}>;
2124
+ /**
2125
+ * Describes the props of the centre band: the props of a `div`.
2126
+ */
2127
+ type CenterProps = ComponentProps<typeof Center>;
2128
+ //#endregion
2129
+ //#region src/toolbar/end.d.ts
2130
+ /**
2131
+ * Renders the `div` with the recipe's end class.
2132
+ */
2133
+ declare const End: import("@stealthscale/theme").StyledComponent<"div", {}>;
2134
+ /**
2135
+ * Describes the props of the end band: the props of a `div`.
2136
+ */
2137
+ type EndProps = ComponentProps<typeof End>;
2138
+ //#endregion
2139
+ //#region src/toolbar/group.d.ts
2140
+ /**
2141
+ * Renders the layout package's group, attached, with the recipe's group class.
2142
+ */
2143
+ declare const Group: import("@stealthscale/theme").StyledComponent<import("@stealthscale/theme").StyledComponent<"div", {
2144
+ readonly align?: import("@stealthscale/theme/authoring").Align | undefined;
2145
+ readonly dim?: boolean | undefined;
2146
+ readonly attached?: boolean | undefined;
2147
+ readonly gap?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
2148
+ readonly grow?: boolean | undefined;
2149
+ readonly justify?: import("@stealthscale/theme/authoring").Justify | undefined;
2150
+ readonly orientation?: "horizontal" | "vertical" | undefined;
2151
+ }>, {}>;
2152
+ /**
2153
+ * Describes the props of the group: the props of the layout package's group.
2154
+ */
2155
+ type GroupProps = ComponentProps<typeof Group>;
2156
+ //#endregion
2157
+ //#region src/toolbar/anchor.d.ts
2158
+ /**
2159
+ * Renders an `a` element with the classes of the library's button.
2160
+ *
2161
+ * @param props - The props of the library's button and the anchor's target.
2162
+ * @returns The `a` element.
2163
+ */
2164
+ declare function Anchor(props: ButtonProps): ReactElement;
2165
+ //#endregion
2166
+ //#region src/toolbar/link.d.ts
2167
+ /**
2168
+ * Renders the anchor with the recipe's action class.
2169
+ */
2170
+ declare const Linked: import("@stealthscale/theme").StyledComponent<typeof Anchor, {}>;
2171
+ /**
2172
+ * Describes the props of a link: its target, whether it is the current page, its icon, its
2173
+ * priority and the props of the library's button.
2174
+ */
2175
+ interface LinkProps extends Omit<ItemProps<typeof Linked>, "as" | "href" | "onClick"> {
2176
+ /**
2177
+ * Whether the link is the reader's current page.
2178
+ */
2179
+ readonly current?: boolean | undefined;
2180
+ /**
2181
+ * Target of the link.
2182
+ */
2183
+ readonly href: string;
2184
+ /**
2185
+ * Icon before the words, which a narrow row shows alone.
2186
+ */
2187
+ readonly icon?: ReactNode | undefined;
2188
+ /**
2189
+ * Handler the link or the menu row calls when a reader presses it. React's handler type accepts
2190
+ * a router's anchor handler.
2191
+ */
2192
+ readonly onClick?: MouseEventHandler<HTMLElement> | undefined;
2193
+ /**
2194
+ * Priority that decides how a narrow row folds the link, in place of the one `icon` implies.
2195
+ */
2196
+ readonly priority?: Priority | undefined;
2197
+ }
2198
+ /**
2199
+ * Renders the link, or nothing while the row folds it into its menu.
2200
+ *
2201
+ * @param props - The target, the current flag, the icon, the priority and the button's props.
2202
+ * @returns The `a` element, or nothing on a narrow row that folds it.
2203
+ */
2204
+ declare function Link({ children, current, href, icon, onClick, priority, ...rest }: LinkProps): null | ReactElement;
2205
+ //#endregion
2206
+ //#region src/toolbar/root.d.ts
2207
+ /**
2208
+ * Renders the roving focus root with the recipe's root class.
2209
+ */
2210
+ declare const Rowed: import("@stealthscale/theme").StyledComponent<typeof RovingFocus.Root, {
2211
+ readonly radius?: "l1" | "l2" | "l3" | undefined;
2212
+ readonly size?: import("@stealthscale/theme/authoring").Scale | undefined;
2213
+ readonly variant?: "outline" | "plain" | "surface" | undefined;
2214
+ }>;
2215
+ /**
2216
+ * Describes the props of the toolbar: its accessible name, the menu's words and mark, the recipe's
2217
+ * variants, the roving focus options and the props of a `div`.
2218
+ */
2219
+ interface RootProps extends ComponentProps<typeof Rowed> {
2220
+ /**
2221
+ * The accessible name of the row.
2222
+ */
2223
+ readonly "aria-label": string;
2224
+ /**
2225
+ * Words that name the menu of folded actions. Defaults to `More actions`.
2226
+ */
2227
+ readonly more?: string | undefined;
2228
+ /**
2229
+ * Mark the menu's trigger shows in place of its words.
2230
+ */
2231
+ readonly moreIcon?: ReactNode | undefined;
2232
+ }
2233
+ /**
2234
+ * Renders the row with its measured width, and the menu while an action is folded.
2235
+ *
2236
+ * @param props - The name, the menu's words and mark, the variants, the roving focus options and
2237
+ * the props of a `div`.
2238
+ * @returns The `div` element with `role="toolbar"`.
2239
+ */
2240
+ declare function Root({ children, more, moreIcon, size, wrap, ...rest }: RootProps): ReactElement;
2241
+ //#endregion
2242
+ //#region src/toolbar/search.d.ts
2243
+ /**
2244
+ * Describes the props of the search: the props of the forms package's search input.
2245
+ */
2246
+ type SearchProps = SearchInputProps;
2247
+ /**
2248
+ * Renders the field, and on a narrow row the button it folds to.
2249
+ *
2250
+ * @param props - The props of the search input.
2251
+ * @returns The field, the folded button, or both while the search is open.
2252
+ */
2253
+ declare function Search({ "aria-label": named, searchIndicator, size, ...rest }: SearchProps): ReactElement;
2254
+ //#endregion
2255
+ //#region src/toolbar/separator.d.ts
2256
+ /**
2257
+ * Renders the vertical divider with the recipe's separator class.
2258
+ */
2259
+ declare const Separator: import("@stealthscale/theme").StyledComponent<typeof Divider, {}>;
2260
+ /**
2261
+ * Describes the props of the separator: the props of a divider.
2262
+ */
2263
+ type SeparatorProps = ComponentProps<typeof Separator>;
2264
+ //#endregion
2265
+ //#region src/toolbar/start.d.ts
2266
+ /**
2267
+ * Renders the `div` with the recipe's start class.
2268
+ */
2269
+ declare const Start: import("@stealthscale/theme").StyledComponent<"div", {}>;
2270
+ /**
2271
+ * Describes the props of the start band: the props of a `div`.
2272
+ */
2273
+ type StartProps = ComponentProps<typeof Start>;
2274
+ //#endregion
2275
+ //#region src/toolbar/title.d.ts
2276
+ /**
2277
+ * Renders the `div` with the recipe's title class.
2278
+ */
2279
+ declare const Titled: import("@stealthscale/theme").StyledComponent<"div", {}>;
2280
+ /**
2281
+ * Describes the props of the title: the props of a `div`.
2282
+ */
2283
+ type TitleProps = ComponentProps<typeof Titled>;
2284
+ /**
2285
+ * Renders the title, marked narrow on a narrow row.
2286
+ *
2287
+ * @param props - The props of a `div`.
2288
+ * @returns The `div` element.
2289
+ */
2290
+ declare function Title(props: TitleProps): ReactElement;
2291
+ declare namespace index_d_exports$8 {
2292
+ export { Action, ActionProps, Center, CenterProps, End, EndProps, Group, GroupProps, Item, ItemProps, Link, LinkProps, Root, RootProps, Search, SearchProps, Separator, SeparatorProps, Start, StartProps, Title, TitleProps };
2293
+ }
2294
+ //#endregion
2295
+ export { index_d_exports as ActionBar, index_d_exports$1 as AppShell, index_d_exports$2 as FloatingPanel, index_d_exports$3 as Page, index_d_exports$4 as Section, index_d_exports$5 as Sidebar, index_d_exports$6 as Splitter, index_d_exports$7 as Switcher, index_d_exports$8 as Toolbar };