@ksp-gonogo/ui-kit 1.0.0 → 1.1.0-rc.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FIYXARZ7.js → chunk-OS7L3ATF.js} +1233 -790
- package/dist/chunk-OS7L3ATF.js.map +1 -0
- package/dist/chunk-ZG7NEDVU.js +7 -0
- package/dist/chunk-ZG7NEDVU.js.map +1 -0
- package/dist/guards.js +1 -0
- package/dist/guards.js.map +1 -1
- package/dist/index.d.ts +771 -33
- package/dist/index.js +3575 -1353
- package/dist/index.js.map +1 -1
- package/dist/nullDisplay.d.ts +16 -0
- package/dist/nullDisplay.js +8 -0
- package/dist/nullDisplay.js.map +1 -0
- package/dist/reads-index.json +126 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +4 -3
- package/dist/testing.js.map +1 -1
- package/dist/tokens.css +131 -48
- package/dist/{units-DjIjtO5v.d.ts → units-BmcQi-WX.d.ts} +26 -4
- package/package.json +8 -3
- package/dist/chunk-FIYXARZ7.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { UiKitTheme, AnyBoundCommand, AugmentDefinition, NamespacedAugmentSettings, SlotProps, Tone, HeldGrade, Reading, Value, UncertaintyBand, RailTags, RailDirection, SampleKind, RailDelivery, CommandErrorCode, LimitBreach, CommandHold, BoundCommand, BoundCommandOptions, ValueCommand, CommandStatus, SendStatus, BadgeEntry, ComponentSlotSegment, ContributionSlotId, ComponentSlotRegistry, ContributionEntry, Contributed, ReckoningDecline, SystemPoses, CelestialBody, SeriesStatusSpan, SeriesReckonedSpan, SeriesBridge, PlotLayer, LockedValue, StreamStatusValue, ResourceTransferModel, CommandReply, CommandArgs, ResourceTransferJob, TransferPickState, ReckoningBasis, ComponentDefinition, TinyEssential, PointUnit, WidgetScope } from '@ksp-gonogo/sitrep-sdk';
|
|
2
|
-
export { AlertTone, AugmentDefinition, AugmentSettingField, BadgeEntry, ComponentSlotRegistry, ComponentSlotSegment, Contributed, ContributionEntry, ContributionRegistry, ContributionSlotId, KspCalendar, NamespacedAugmentSettings, Quantityish, RailDelivery, RailDirection, RailTags, STANDARD_GRAVITY, STOCK_KERBIN_CALENDAR, SlotId, SlotProps, SlotRegistry, TINY_SIZE, ThemeColors, ThemeTypography, Tone, UiKitTheme, UplinkClientIdentity, WidgetScope, WidgetScopeRegistry, asQuantityish, kspCalendar, kspYearDays, magnitudeOf, magnitudeOr, setKspCalendar } from '@ksp-gonogo/sitrep-sdk';
|
|
2
|
+
export { AlertTone, AugmentDefinition, AugmentSettingField, BadgeEntry, ComponentSlotRegistry, ComponentSlotSegment, Contributed, ContributionEntry, ContributionRegistry, ContributionSlotId, KspCalendar, NamespacedAugmentSettings, Quantityish, RailDelivery, RailDirection, RailTags, STANDARD_GRAVITY, STOCK_KERBIN_CALENDAR, SlotId, SlotProps, SlotRegistry, TINY_SIZE, ThemeAlarmColors, ThemeBorderWidth, ThemeColors, ThemeDensity, ThemeDiagramColors, ThemeElevation, ThemeFloating, ThemeImageryColors, ThemeMarkerColors, ThemeMotion, ThemePalette, ThemePollColors, ThemeRadius, ThemeShadow, ThemeSizes, ThemeSpace, ThemeStatusColors, ThemeTagColors, ThemeTypography, Tone, UiKitTheme, UplinkClientIdentity, WidgetScope, WidgetScopeRegistry, asQuantityish, kspCalendar, kspYearDays, magnitudeOf, magnitudeOr, setKspCalendar } from '@ksp-gonogo/sitrep-sdk';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode, CSSProperties, ComponentType, ReactElement, HTMLAttributes, ButtonHTMLAttributes, ComponentPropsWithoutRef, SelectHTMLAttributes, RefAttributes, SVGProps, RefObject, PointerEvent, KeyboardEvent, MouseEventHandler, ElementType, InputHTMLAttributes, FocusEvent } from 'react';
|
|
6
|
-
import { F as FormatQuantityOptions, a as FormatsFor, P as PresentableAs, U as UnitGroupKey, b as FormatsForKind, K as KindOfGroup, c as PresentableAsKind } from './units-
|
|
7
|
-
export { C as ConversionTargetsOfKind, d as KindOfSymbol, e as KnownQuantityKind, L as LadderName, f as LadderOfSymbol, Q as QuantityKind, g as QuantityScale, R as Rung, S as SymbolsOfKind, q as quantityScale, s as setQuantityLocale, h as speakQuantity, w as writeQuantity } from './units-
|
|
6
|
+
import { F as FormatQuantityOptions, a as FormatsFor, P as PresentableAs, U as UnitGroupKey, b as FormatsForKind, K as KindOfGroup, c as PresentableAsKind } from './units-BmcQi-WX.js';
|
|
7
|
+
export { C as ConversionTargetsOfKind, d as KindOfSymbol, e as KnownQuantityKind, L as LadderName, f as LadderOfSymbol, Q as QuantityKind, g as QuantityScale, R as Rung, S as SymbolsOfKind, q as quantityScale, s as setQuantityLocale, h as speakFullDuration, i as speakQuantity, w as writeQuantity } from './units-BmcQi-WX.js';
|
|
8
8
|
import * as styled_components_dist_types from 'styled-components/dist/types.js';
|
|
9
9
|
import * as styled_components from 'styled-components';
|
|
10
10
|
export { COL_WIDTH, GRID_MARGIN, ROW_HEIGHT, gridToPixels } from './gridUnits.js';
|
|
11
11
|
import { CapabilityLock } from '@ksp-gonogo/sitrep-sdk/spine';
|
|
12
12
|
import { ReadFrameChoice } from '@ksp-gonogo/sitrep-sdk/frames';
|
|
13
|
+
export { NULL_DISPLAY } from './nullDisplay.js';
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* Props for {@link DefaultThemeProvider}.
|
|
@@ -49,8 +50,8 @@ declare function DefaultThemeProvider({ children, }: Readonly<DefaultThemeProvid
|
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
52
|
* `default-dark`: the built-in mission-control theme, and the one the app
|
|
52
|
-
* mounts. It is a `UiKitTheme`, which lists the
|
|
53
|
-
*
|
|
53
|
+
* mounts. It is a `UiKitTheme`, which lists the foundation values a theme can
|
|
54
|
+
* set. Every value is the CSS variable it names (`text.primary` is
|
|
54
55
|
* `var(--color-text-primary)`), so mounting it changes nothing: the values come
|
|
55
56
|
* from `@ksp-gonogo/ui-kit/tokens.css`, which has to be imported once for any
|
|
56
57
|
* of them to have a value.
|
|
@@ -1531,6 +1532,8 @@ interface BandProps<UnitSymbol extends string = string> extends Pick<UnitProps<U
|
|
|
1531
1532
|
* would read as a single value
|
|
1532
1533
|
* - The precision follows the width: digits widen until the ends read
|
|
1533
1534
|
* differently, so 6 700 km to 6 710 km never prints as `6.7 Mm` twice
|
|
1535
|
+
* - The unit is drawn once, after the high end, between two numbers as in `1466 {@link INTERVAL_DASH} 1618 m/s`; a screen
|
|
1536
|
+
* reader still hears both ends with it
|
|
1534
1537
|
* - Both ends are one {@link UnitSharedFormat} group, which settles the unit
|
|
1535
1538
|
* and digit count across the pair, so an interval is never written in two
|
|
1536
1539
|
* units (`999 m` to `1.0 km`)
|
|
@@ -2773,6 +2776,10 @@ interface CommandToggle<Args = unknown> {
|
|
|
2773
2776
|
* The args for a press that moves the control away from `base`, the state
|
|
2774
2777
|
* the control shows (or, while an earlier press is outstanding, the state
|
|
2775
2778
|
* that press asked for). Return undefined where there is nothing to send; null is a real argument, as for a command that takes none.
|
|
2779
|
+
*
|
|
2780
|
+
* While `state` is unread (null or undefined) and this returns undefined
|
|
2781
|
+
* for it, the control is drawn dimmed, a press sends nothing, and its tip
|
|
2782
|
+
* says the state has not been read yet.
|
|
2776
2783
|
*/
|
|
2777
2784
|
args: (base: ToggleState) => Args | undefined;
|
|
2778
2785
|
/**
|
|
@@ -3137,7 +3144,9 @@ interface CommandControlState<Args = unknown> {
|
|
|
3137
3144
|
hasFailure: boolean;
|
|
3138
3145
|
/**
|
|
3139
3146
|
* The control was pressed. Advances the machine: arm, then dispatch; a press
|
|
3140
|
-
*
|
|
3147
|
+
* of the same command with the same arguments as one the mod has not yet
|
|
3148
|
+
* answered sends nothing, while the control reads "SENT"; a state toggle's
|
|
3149
|
+
* press is always sent; a press while refused, lost or found clears that
|
|
3141
3150
|
* outcome; a press while blocked (a command the game will refuse by a fresh verdict, or
|
|
3142
3151
|
* the caller's `unavailable`) dispatches nothing and shows the reason
|
|
3143
3152
|
* instead. `armable` says whether there is a confirm step, which only the
|
|
@@ -3584,6 +3593,38 @@ type PlainIconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
3584
3593
|
/** Why the button is disabled, shown as its tip. As for {@link Button}. */
|
|
3585
3594
|
disabledReason?: string;
|
|
3586
3595
|
};
|
|
3596
|
+
/**
|
|
3597
|
+
* Props for {@link MarkedIconButton}: everything {@link IconButton} takes, plus
|
|
3598
|
+
* a mark on the glyph's corner and the keys that do what the button does.
|
|
3599
|
+
* Useful for a glyph button that also says something has changed, or names its
|
|
3600
|
+
* keyboard shortcut. Taken by {@link MarkedIconButton}.
|
|
3601
|
+
*
|
|
3602
|
+
* @category Button
|
|
3603
|
+
*/
|
|
3604
|
+
type MarkedIconButtonProps = IconButtonProps & {
|
|
3605
|
+
/** A small mark on the glyph's corner, such as a dot that says something elsewhere needs a look. See {@link IconButtonMark}. */
|
|
3606
|
+
mark?: IconButtonMark;
|
|
3607
|
+
/**
|
|
3608
|
+
* The keys that do what the button does, as the operator presses them, such
|
|
3609
|
+
* as "Ctrl+P", shown in the tip after the button's name. Give the same keys
|
|
3610
|
+
* in `aria-keyshortcuts` for assistive technology.
|
|
3611
|
+
*/
|
|
3612
|
+
shortcut?: string;
|
|
3613
|
+
};
|
|
3614
|
+
/**
|
|
3615
|
+
* A small mark on the corner of an {@link IconButton}'s glyph: a filled dot or
|
|
3616
|
+
* a ring. Useful for telling the operator, without words on screen, that
|
|
3617
|
+
* something the control leads to has changed. Taken by the `mark` prop of
|
|
3618
|
+
* {@link MarkedIconButton}.
|
|
3619
|
+
*
|
|
3620
|
+
* @category Button
|
|
3621
|
+
*/
|
|
3622
|
+
interface IconButtonMark {
|
|
3623
|
+
/** `"dot"` for something to look at now, `"ring"` for something standing that needs no look. */
|
|
3624
|
+
kind: "dot" | "ring";
|
|
3625
|
+
/** What the mark means, shown in the button's tip after its name and read by assistive technology as its description. */
|
|
3626
|
+
label: string;
|
|
3627
|
+
}
|
|
3587
3628
|
/**
|
|
3588
3629
|
* An icon-only `button`: the glyph alone at rest, with a fill and an edge
|
|
3589
3630
|
* drawn around it under the pointer. Useful for compact controls whose meaning
|
|
@@ -3611,6 +3652,16 @@ type PlainIconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
3611
3652
|
* @category Button
|
|
3612
3653
|
*/
|
|
3613
3654
|
declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
3655
|
+
/**
|
|
3656
|
+
* An {@link IconButton} that can also carry a mark on its glyph's corner and
|
|
3657
|
+
* name its keyboard shortcut in its tip. Useful for a control that leads
|
|
3658
|
+
* somewhere whose state the operator should notice without opening it, such
|
|
3659
|
+
* as a dot when another screen is busy there. Used by the dashboard header's
|
|
3660
|
+
* Plan button.
|
|
3661
|
+
*
|
|
3662
|
+
* @category Button
|
|
3663
|
+
*/
|
|
3664
|
+
declare const MarkedIconButton: react.ForwardRefExoticComponent<MarkedIconButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
3614
3665
|
|
|
3615
3666
|
/**
|
|
3616
3667
|
* Props for {@link ButtonGroup}. Any other `div` attribute passes through, and
|
|
@@ -4038,6 +4089,52 @@ declare function adviceFor(handle: {
|
|
|
4038
4089
|
gateStopsPress?: boolean;
|
|
4039
4090
|
}, reason: string | null | undefined): PlainAdvice;
|
|
4040
4091
|
|
|
4092
|
+
/**
|
|
4093
|
+
* Props for {@link CommandedPaddle}: the control that holds the toggle's
|
|
4094
|
+
* state, and the command each side sends. Useful for naming what a two-sided
|
|
4095
|
+
* switch sends and what it is called. Taken by {@link CommandedPaddle}.
|
|
4096
|
+
*
|
|
4097
|
+
* @category CommandButton
|
|
4098
|
+
*/
|
|
4099
|
+
interface CommandedPaddleProps {
|
|
4100
|
+
/**
|
|
4101
|
+
* The control of a {@link useCommandControl} that was given a `toggle`. It
|
|
4102
|
+
* holds the state the paddle lights, the press that is outstanding and the
|
|
4103
|
+
* outcome of the last one.
|
|
4104
|
+
*/
|
|
4105
|
+
control: CommandControlState<any>;
|
|
4106
|
+
/** The command the "ON" side sends, made with `with` on the toggle's handle. */
|
|
4107
|
+
on: BoundControlCommand<any, any>;
|
|
4108
|
+
/** The command the "OFF" side sends, made with `with` on the toggle's handle. */
|
|
4109
|
+
off: BoundControlCommand<any, any>;
|
|
4110
|
+
/** The word on the "ON" side. Defaults to "ON". */
|
|
4111
|
+
onWord?: string;
|
|
4112
|
+
/** The word on the "OFF" side. Defaults to "OFF". */
|
|
4113
|
+
offWord?: string;
|
|
4114
|
+
/** The fill while the "ON" side is lit. Defaults to `go`. */
|
|
4115
|
+
tone?: "go" | "nogo" | "warn";
|
|
4116
|
+
/** What the control says on hover and keyboard focus. An outcome's own sentence replaces it while one stands. */
|
|
4117
|
+
tip?: string;
|
|
4118
|
+
/** The accessible name of the pair, such as "Toggle Lights". */
|
|
4119
|
+
"aria-label": string;
|
|
4120
|
+
}
|
|
4121
|
+
/**
|
|
4122
|
+
* A two-sided switch for a state the operator turns on or off under signal
|
|
4123
|
+
* delay, with "ON" and "OFF" both written on it and the side the vessel is
|
|
4124
|
+
* predicted to be in lit. Each side sends its own value, so pressing "ON"
|
|
4125
|
+
* twice sends the on value twice. The side being turned to reads "SENT" until the mod answers,
|
|
4126
|
+
* the lit side carries the held or modelled mark, and the edge shows a refusal,
|
|
4127
|
+
* a missing reply, the game's refusal in advance, a risk, or a stream that is
|
|
4128
|
+
* down, as {@link ToggleButton} draws them. When the state has not been read,
|
|
4129
|
+
* neither side is lit and neither can be pressed. A press is never stopped by
|
|
4130
|
+
* another one still in flight. Useful for a switch such as an action group,
|
|
4131
|
+
* where the operator should see both settings and the one not chosen. Used by
|
|
4132
|
+
* the Action Group widget.
|
|
4133
|
+
*
|
|
4134
|
+
* @category CommandButton
|
|
4135
|
+
*/
|
|
4136
|
+
declare function CommandedPaddle({ control, on, off, onWord, offWord, tone, tip, "aria-label": ariaLabel, }: CommandedPaddleProps): react_jsx_runtime.JSX.Element | null;
|
|
4137
|
+
|
|
4041
4138
|
/**
|
|
4042
4139
|
* What became of the dispatches a {@link CommandList} draws:
|
|
4043
4140
|
*
|
|
@@ -5386,6 +5483,17 @@ interface DisclosureProps {
|
|
|
5386
5483
|
* give the Disclosure a React key that changes with the condition.
|
|
5387
5484
|
*/
|
|
5388
5485
|
defaultOpen?: boolean;
|
|
5486
|
+
/**
|
|
5487
|
+
* Whether the panel is expanded, for a caller that keeps the state itself,
|
|
5488
|
+
* such as one saving which sections the operator folded away. Given it, the
|
|
5489
|
+
* panel follows it and `defaultOpen` is ignored.
|
|
5490
|
+
*/
|
|
5491
|
+
open?: boolean;
|
|
5492
|
+
/**
|
|
5493
|
+
* Called with the state the operator asked for, by pressing the trigger or
|
|
5494
|
+
* by Escape. A caller passing `open` updates it from here.
|
|
5495
|
+
*/
|
|
5496
|
+
onOpenChange?: (open: boolean) => void;
|
|
5389
5497
|
}
|
|
5390
5498
|
/**
|
|
5391
5499
|
* A button that shows and hides a panel of detail. Useful for detail on demand
|
|
@@ -5418,7 +5526,7 @@ interface DisclosureProps {
|
|
|
5418
5526
|
* Detail on demand: a button that shows and hides a panel, reachable from the
|
|
5419
5527
|
* keyboard where a hover reveal would not be.
|
|
5420
5528
|
*/
|
|
5421
|
-
declare function Disclosure({ label, children, "aria-label": ariaLabel, className, variant, panelHeight, chevron, asButton, buttonSize, defaultOpen, }: DisclosureProps): react_jsx_runtime.JSX.Element;
|
|
5529
|
+
declare function Disclosure({ label, children, "aria-label": ariaLabel, className, variant, panelHeight, chevron, asButton, buttonSize, defaultOpen, open: heldOpen, onOpenChange, }: DisclosureProps): react_jsx_runtime.JSX.Element;
|
|
5422
5530
|
|
|
5423
5531
|
/**
|
|
5424
5532
|
* Props for {@link DivergingBar}: the signed value and the range it is drawn
|
|
@@ -5977,8 +6085,9 @@ interface FloatingProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
5977
6085
|
* A layer drawn over the whole page rather than inside its widget: a hover
|
|
5978
6086
|
* card, a tooltip, an anchored menu. Useful for showing the operator detail
|
|
5979
6087
|
* that no panel or scroll box should clip. Used by {@link HoverCard} and the
|
|
5980
|
-
* vessel schematic's part tooltip. It is portalled to the document body
|
|
5981
|
-
*
|
|
6088
|
+
* vessel schematic's part tooltip. It is portalled to the document body, or into
|
|
6089
|
+
* the dialog's own layer when opened from inside a modal dialog so the dialog
|
|
6090
|
+
* never covers it, and placed against the viewport by {@link anchoredPosition}. It is measured before paint
|
|
5982
6091
|
* (and stays hidden until then), and re-placed on every render, on resize and
|
|
5983
6092
|
* on any scroll. The layer has no surface of its own: style what you put inside
|
|
5984
6093
|
* it. Any other `div` attribute passes through to the layer.
|
|
@@ -6225,9 +6334,11 @@ interface CommandedSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectEleme
|
|
|
6225
6334
|
type PlainSelectProps = SelectHTMLAttributes<HTMLSelectElement> & {
|
|
6226
6335
|
command?: never;
|
|
6227
6336
|
unavailable?: never;
|
|
6337
|
+
/** Sizes the field to its longest choice rather than the full width of its container. */
|
|
6338
|
+
fit?: boolean;
|
|
6228
6339
|
};
|
|
6229
6340
|
/**
|
|
6230
|
-
* A native `<select>` in the kit's field style, full width. Given a `command`,
|
|
6341
|
+
* A native `<select>` in the kit's field style, full width unless `fit` is set. Given a `command`,
|
|
6231
6342
|
* a choice sends it and a word inside the field says what became of it. Useful
|
|
6232
6343
|
* for choosing one value from a short list. Used by the log manager. For a long
|
|
6233
6344
|
* or searchable list, use {@link ComboboxListbox} with an {@link Input}.
|
|
@@ -6474,6 +6585,13 @@ interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6474
6585
|
* `stretch` makes every cell in a row as tall as the tallest.
|
|
6475
6586
|
*/
|
|
6476
6587
|
align?: GridAlign;
|
|
6588
|
+
/**
|
|
6589
|
+
* `justify-items` shorthand. Defaults to `stretch`, where every cell fills its
|
|
6590
|
+
* column's width; `start` keeps each cell at its own width at the column's
|
|
6591
|
+
* start, so buttons of different words stay their own size and line up on
|
|
6592
|
+
* their left edges.
|
|
6593
|
+
*/
|
|
6594
|
+
justify?: "stretch" | "start";
|
|
6477
6595
|
/**
|
|
6478
6596
|
* Fixed column template (e.g. `"120px 1fr 60px"`). Takes precedence over
|
|
6479
6597
|
* `minColWidth` when both are set.
|
|
@@ -6558,6 +6676,127 @@ interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6558
6676
|
*/
|
|
6559
6677
|
declare function Grid({ cols, minColWidth, fit, gap, rowGap, align, squares, squareHeadingPx, squareHeadingMinPx, minRowHeight, children, ...rest }: GridProps): react_jsx_runtime.JSX.Element;
|
|
6560
6678
|
|
|
6679
|
+
/**
|
|
6680
|
+
* One choice in a {@link GroupedFilterList}: the words on its button, what
|
|
6681
|
+
* pressing it does, and any further words it can be found by. Taken in the
|
|
6682
|
+
* `items` of a {@link FilterGroup}.
|
|
6683
|
+
*
|
|
6684
|
+
* @category FilterList
|
|
6685
|
+
*/
|
|
6686
|
+
interface FilterGroupItem {
|
|
6687
|
+
/** Stable key for the item within its group. */
|
|
6688
|
+
id: string;
|
|
6689
|
+
/** The words on the item's button. */
|
|
6690
|
+
label: string;
|
|
6691
|
+
/** Called when the operator presses the item. */
|
|
6692
|
+
onSelect: () => void;
|
|
6693
|
+
/** More words the filter matches the item by, beside its label and its group's. */
|
|
6694
|
+
searchText?: string;
|
|
6695
|
+
/** Fixed properties of the item, each drawn as a {@link Tag} after its label, such as "Optional". The filter matches them as well. None when omitted. */
|
|
6696
|
+
tags?: readonly string[];
|
|
6697
|
+
}
|
|
6698
|
+
/**
|
|
6699
|
+
* A titled group of choices in a {@link GroupedFilterList}, such as the
|
|
6700
|
+
* steps one source offers. Taken in the `groups` of a
|
|
6701
|
+
* {@link GroupedFilterList}.
|
|
6702
|
+
*
|
|
6703
|
+
* @category FilterList
|
|
6704
|
+
*/
|
|
6705
|
+
interface FilterGroup {
|
|
6706
|
+
/** Stable key for the group. */
|
|
6707
|
+
id: string;
|
|
6708
|
+
/** The heading drawn over the group's choices. */
|
|
6709
|
+
label: string;
|
|
6710
|
+
/** The choices listed under the heading, in the order drawn. */
|
|
6711
|
+
items: readonly FilterGroupItem[];
|
|
6712
|
+
}
|
|
6713
|
+
/**
|
|
6714
|
+
* Props for {@link GroupedFilterList}. Useful for offering the operator a
|
|
6715
|
+
* set of choices from several sources at once. Taken by
|
|
6716
|
+
* {@link GroupedFilterList}.
|
|
6717
|
+
*
|
|
6718
|
+
* @category FilterList
|
|
6719
|
+
*/
|
|
6720
|
+
interface GroupedFilterListProps {
|
|
6721
|
+
/** The groups, in display order. A group none of whose items match is left out. */
|
|
6722
|
+
groups: readonly FilterGroup[];
|
|
6723
|
+
/** The filter box's accessible name, such as "Add step", drawn above the box unless `labelHidden` is set. */
|
|
6724
|
+
label: string;
|
|
6725
|
+
/** Keeps `label` as the filter box's name without drawing it, for a list whose heading is already on show, such as inside a disclosure whose trigger reads the same. Defaults to `false`. */
|
|
6726
|
+
labelHidden?: boolean;
|
|
6727
|
+
/** The filter box's placeholder. Defaults to "Filter...". */
|
|
6728
|
+
placeholder?: string;
|
|
6729
|
+
/** The tallest the list grows before it scrolls, as a CSS length. Defaults to `14rem`. */
|
|
6730
|
+
maxHeight?: string;
|
|
6731
|
+
/** How many lines of buttons a group shows before its last line ends in a "Show N more" button, as lines are drawn at the list's width. While the filter is narrowing the list, every match is shown. Defaults to 4. */
|
|
6732
|
+
maxLines?: number;
|
|
6733
|
+
/** Shown when no item matches. Defaults to "Nothing matches the filter". */
|
|
6734
|
+
emptyLabel?: ReactNode;
|
|
6735
|
+
/** The contribution segment to pull toggle terms from. Defaults to the universal `filters`. */
|
|
6736
|
+
segment?: TermSegment;
|
|
6737
|
+
}
|
|
6738
|
+
/**
|
|
6739
|
+
* An open list of choices as buttons, grouped under headings, with the kit's
|
|
6740
|
+
* filter bar above it: typing narrows it to the choices whose words, or whose
|
|
6741
|
+
* group's heading, contain what was typed. The list scrolls inside a capped
|
|
6742
|
+
* height. Useful for letting the operator read every choice in the open,
|
|
6743
|
+
* from several sources, and still find one fast. Used by the Flight Plan's
|
|
6744
|
+
* Add step, whose groups are core's steps, the waits and each Uplink's steps.
|
|
6745
|
+
*
|
|
6746
|
+
* A group that runs past `maxLines` lines ends its last line in a "Show N
|
|
6747
|
+
* more" button, which opens the rest in place.
|
|
6748
|
+
*
|
|
6749
|
+
* Its filter is the one {@link FilterList} uses, so toggle terms come
|
|
6750
|
+
* through the same `filters` contribution segment.
|
|
6751
|
+
*
|
|
6752
|
+
* @category FilterList
|
|
6753
|
+
*/
|
|
6754
|
+
declare function GroupedFilterList({ groups, label, labelHidden, placeholder, maxHeight, maxLines, emptyLabel, segment, }: GroupedFilterListProps): react_jsx_runtime.JSX.Element;
|
|
6755
|
+
|
|
6756
|
+
/**
|
|
6757
|
+
* A moment or place along a graph's x axis, drawn as a thin vertical line with a
|
|
6758
|
+
* short label at its foot. Useful for showing the operator where on a trace
|
|
6759
|
+
* something is expected to happen, such as the start of each step of a plan.
|
|
6760
|
+
* Passed in the `marks` prop of {@link ChartMarks}.
|
|
6761
|
+
*
|
|
6762
|
+
* @category Graph
|
|
6763
|
+
*/
|
|
6764
|
+
interface ChartMark {
|
|
6765
|
+
/** Unique among the marks of the graph. */
|
|
6766
|
+
id: string;
|
|
6767
|
+
/** Where the line stands, in the units of the x domain. A mark outside the domain is not drawn. */
|
|
6768
|
+
x: number;
|
|
6769
|
+
/** The short text drawn beside the line, such as a step's number. */
|
|
6770
|
+
label: string;
|
|
6771
|
+
/** What the mark is, in full: its accessible name and the words of its tip. */
|
|
6772
|
+
name: string;
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6775
|
+
/**
|
|
6776
|
+
* Props for {@link ChartMarks}. Useful for handing a graph the moments or places
|
|
6777
|
+
* the operator should see marked along its x axis. Taken by {@link ChartMarks}.
|
|
6778
|
+
*
|
|
6779
|
+
* @category Graph
|
|
6780
|
+
*/
|
|
6781
|
+
interface ChartMarksProps {
|
|
6782
|
+
/** Vertical marks, in the units of the graph's x domain. */
|
|
6783
|
+
marks: readonly ChartMark[] | undefined;
|
|
6784
|
+
/** The graph the marks are drawn on. */
|
|
6785
|
+
children: ReactNode;
|
|
6786
|
+
}
|
|
6787
|
+
/**
|
|
6788
|
+
* Draws vertical marks, each with a short label, along the x axis of the graph
|
|
6789
|
+
* inside it. Useful for showing the operator where on a trace something is
|
|
6790
|
+
* expected to happen, such as the start of each step of a plan. Used around the
|
|
6791
|
+
* Flight Plan's figures and the Graph widget.
|
|
6792
|
+
*
|
|
6793
|
+
* A spatial plot draws none, and a mark outside the x domain is not drawn.
|
|
6794
|
+
* Marks too close for a label each share one label.
|
|
6795
|
+
*
|
|
6796
|
+
* @category Graph
|
|
6797
|
+
*/
|
|
6798
|
+
declare function ChartMarks({ marks, children }: ChartMarksProps): react_jsx_runtime.JSX.Element;
|
|
6799
|
+
|
|
6561
6800
|
/**
|
|
6562
6801
|
* The side of a limit line a figure must not be on: `above` for a ceiling, `below` for a floor.
|
|
6563
6802
|
* Useful for telling a graph which way a limit threshold is exceeded, so it can warn the operator
|
|
@@ -6594,6 +6833,16 @@ interface ChartSeriesData {
|
|
|
6594
6833
|
reckoned?: readonly SeriesReckonedSpan[];
|
|
6595
6834
|
/** A model's path through an unobserved gap; drawn instead of the chord when the chord departs from it by more than a pixel. */
|
|
6596
6835
|
bridges?: readonly SeriesBridge[];
|
|
6836
|
+
/**
|
|
6837
|
+
* The least and greatest the line's value takes across a set of runs of the
|
|
6838
|
+
* same flight, one pair for each sample in `x`. Drawn as a shaded area behind
|
|
6839
|
+
* the line in its colour. Useful for showing the operator how far a
|
|
6840
|
+
* predicted figure may stray from the line.
|
|
6841
|
+
*/
|
|
6842
|
+
spread?: {
|
|
6843
|
+
lo: readonly number[];
|
|
6844
|
+
hi: readonly number[];
|
|
6845
|
+
};
|
|
6597
6846
|
}
|
|
6598
6847
|
/**
|
|
6599
6848
|
* How one line of a graph is drawn between its samples. Useful for showing a reading that changes
|
|
@@ -6855,6 +7104,27 @@ interface GraphProps {
|
|
|
6855
7104
|
* crosshair and layers, and the types a caller builds them from.
|
|
6856
7105
|
*/
|
|
6857
7106
|
declare function Graph({ series, xDomain, yDomainPrimary, yDomainSecondary, yScalePrimary, yScaleSecondary, xTickFormat, xReadFormat, yTickFormat, xUnit, yUnit, thresholds, referenceCurves, layers: ownLayers, xKind, xAxisLabel, yAxisLabel, ySecondaryAxisLabel, "aria-label": ariaLabel, hideXAxis, spatial, gridScale, crosshair, legend, density, notice, emptyState, footer, plotReadout, chrome, title, headerActions, height, children, }: GraphProps): react_jsx_runtime.JSX.Element;
|
|
7107
|
+
/**
|
|
7108
|
+
* The props of {@link UnframedGraph}: those of {@link Graph}, plus the placing
|
|
7109
|
+
* of the y axis that charts stacked in one card share.
|
|
7110
|
+
*
|
|
7111
|
+
* @category Graph
|
|
7112
|
+
*/
|
|
7113
|
+
interface UnframedGraphProps extends GraphProps {
|
|
7114
|
+
/** Puts the primary y ticks at exactly these values. Useful for a chart of rows, where each tick names a row through `yTickFormat`. */
|
|
7115
|
+
yTickValues?: readonly number[];
|
|
7116
|
+
/** The least width in pixels of the whole left margin, labels and axis title together. Useful for lining the plots of charts stacked over one time axis up, by giving them all the same figure. */
|
|
7117
|
+
yGutter?: number;
|
|
7118
|
+
}
|
|
7119
|
+
/**
|
|
7120
|
+
* The same chart as {@link Graph} without the frame of a display around the
|
|
7121
|
+
* plot, keeping its axes and legend. Useful for a chart set inside a card that
|
|
7122
|
+
* already frames it, so the operator is not given a second box and the plot
|
|
7123
|
+
* keeps the room. Used by the Flight Plan's figures.
|
|
7124
|
+
*
|
|
7125
|
+
* @category Graph
|
|
7126
|
+
*/
|
|
7127
|
+
declare function UnframedGraph(props: UnframedGraphProps): react_jsx_runtime.JSX.Element;
|
|
6858
7128
|
|
|
6859
7129
|
/**
|
|
6860
7130
|
* The range of data a plot layer covers on each axis; a rule constrains one axis only. Useful for
|
|
@@ -6913,6 +7183,60 @@ interface HeldFigureProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
6913
7183
|
*/
|
|
6914
7184
|
declare function HeldFigure({ caption, kind, elsewhere, children, ...rest }: HeldFigureProps): react_jsx_runtime.JSX.Element;
|
|
6915
7185
|
|
|
7186
|
+
/**
|
|
7187
|
+
* Props for {@link HoverAction}. Any other `div` attribute is passed to the row.
|
|
7188
|
+
* Useful for putting a small control, such as a remove button, beside content
|
|
7189
|
+
* that fills the row. Used by {@link HoverAction}.
|
|
7190
|
+
*
|
|
7191
|
+
* @category Layout
|
|
7192
|
+
*/
|
|
7193
|
+
interface HoverActionProps extends ComponentPropsWithoutRef<"div"> {
|
|
7194
|
+
/** The control, drawn over the row's left edge, centred 0.8rem in and in line with the row's first line. Give it its own accessible name. */
|
|
7195
|
+
action: ReactNode;
|
|
7196
|
+
/**
|
|
7197
|
+
* What stands in the control's place while the control is hidden, such as the
|
|
7198
|
+
* row's number in a list. It gives way to the control when the control is
|
|
7199
|
+
* drawn, and a row with no action keeps it. Where there is no pointer to hover
|
|
7200
|
+
* with it is not drawn, since the control is always there: a row that needs it
|
|
7201
|
+
* then draws it in its own content, inside a {@link NoHoverOnly}.
|
|
7202
|
+
*/
|
|
7203
|
+
resting?: ReactNode;
|
|
7204
|
+
/** The row's content, which takes the row's whole width. */
|
|
7205
|
+
children?: ReactNode;
|
|
7206
|
+
}
|
|
7207
|
+
/**
|
|
7208
|
+
* A row with a control drawn over its left edge, only while the pointer is
|
|
7209
|
+
* over the row or focus is inside it. The control takes no room of its own, so
|
|
7210
|
+
* the row's content keeps its full width. Where there is no pointer to hover
|
|
7211
|
+
* with, the control is always drawn. Useful for a remove button on each card
|
|
7212
|
+
* of a list, so the list stays quiet until the operator reaches for it, and
|
|
7213
|
+
* for numbering those cards in the same place. Used by the Flight Plan
|
|
7214
|
+
* editor's step cards.
|
|
7215
|
+
*
|
|
7216
|
+
* @category Layout
|
|
7217
|
+
*/
|
|
7218
|
+
declare function HoverAction({ action, resting, children, ...row }: HoverActionProps): react_jsx_runtime.JSX.Element;
|
|
7219
|
+
/**
|
|
7220
|
+
* Props for {@link NoHoverOnly}: any `span` attribute, passed to the run it
|
|
7221
|
+
* draws. Useful for naming the run for assistive technology. Used by
|
|
7222
|
+
* {@link NoHoverOnly}.
|
|
7223
|
+
*
|
|
7224
|
+
* @category Layout
|
|
7225
|
+
*/
|
|
7226
|
+
interface NoHoverOnlyProps extends ComponentPropsWithoutRef<"span"> {
|
|
7227
|
+
/** What is drawn where there is no pointer to hover with. */
|
|
7228
|
+
children?: ReactNode;
|
|
7229
|
+
}
|
|
7230
|
+
/**
|
|
7231
|
+
* A run of content drawn only where there is no pointer to hover with, such as
|
|
7232
|
+
* on a phone. Useful for showing the operator there what a {@link HoverAction}
|
|
7233
|
+
* shows beside its control on a screen with a pointer. Used by the Flight Plan
|
|
7234
|
+
* editor's step numbers.
|
|
7235
|
+
*
|
|
7236
|
+
* @category Layout
|
|
7237
|
+
*/
|
|
7238
|
+
declare function NoHoverOnly(props: NoHoverOnlyProps): react_jsx_runtime.JSX.Element;
|
|
7239
|
+
|
|
6916
7240
|
/**
|
|
6917
7241
|
* The props of {@link HoverCard}.
|
|
6918
7242
|
* Useful for giving the operator detail on an item without leaving the list.
|
|
@@ -6991,6 +7315,30 @@ interface IconProps extends LucideProps {
|
|
|
6991
7315
|
* @category Icons
|
|
6992
7316
|
*/
|
|
6993
7317
|
declare const GripIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7318
|
+
/**
|
|
7319
|
+
* A path between two points with a turn in it. Useful for marking the control
|
|
7320
|
+
* that opens a craft's plan, where the operator works out a flight before it
|
|
7321
|
+
* is flown. Used by the dashboard header's Plan button.
|
|
7322
|
+
*
|
|
7323
|
+
* @category Icons
|
|
7324
|
+
*/
|
|
7325
|
+
declare const PlanIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7326
|
+
/**
|
|
7327
|
+
* A rocket pointing up and to the right. Useful for marking the control that
|
|
7328
|
+
* seats a screen as the pilot's, aboard the craft. Used by the dashboard
|
|
7329
|
+
* header's seat switch.
|
|
7330
|
+
*
|
|
7331
|
+
* @category Icons
|
|
7332
|
+
*/
|
|
7333
|
+
declare const RocketIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7334
|
+
/**
|
|
7335
|
+
* Three dots in a row. Useful for marking the button that opens a record's
|
|
7336
|
+
* less-used actions in a menu. Used by a dashboard tile's options and a
|
|
7337
|
+
* layout's actions in the Layouts window.
|
|
7338
|
+
*
|
|
7339
|
+
* @category Icons
|
|
7340
|
+
*/
|
|
7341
|
+
declare const MoreIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
6994
7342
|
/**
|
|
6995
7343
|
* A joystick on a base. Useful for marking the controls that map a game
|
|
6996
7344
|
* controller or serial device to dashboard actions.
|
|
@@ -7141,6 +7489,22 @@ declare const CloseIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref">
|
|
|
7141
7489
|
* @category Icons
|
|
7142
7490
|
*/
|
|
7143
7491
|
declare const PencilIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7492
|
+
/**
|
|
7493
|
+
* A floppy disk. Useful for the control that saves what the operator has
|
|
7494
|
+
* written. Used by a script editor's save control.
|
|
7495
|
+
*
|
|
7496
|
+
* @intent Published so an Uplink widget that edits text, such as a script editor, can draw its save control in the kit's icon set.
|
|
7497
|
+
* @category Icons
|
|
7498
|
+
*/
|
|
7499
|
+
declare const SaveIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7500
|
+
/**
|
|
7501
|
+
* A rubbish bin. Useful for the control that deletes an item, which should ask
|
|
7502
|
+
* before it acts. Used by a script editor's delete control.
|
|
7503
|
+
*
|
|
7504
|
+
* @intent Published so an Uplink widget that manages files or items, such as a script editor, can draw its delete control in the kit's icon set.
|
|
7505
|
+
* @category Icons
|
|
7506
|
+
*/
|
|
7507
|
+
declare const DeleteIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
7144
7508
|
/**
|
|
7145
7509
|
* A check mark. Useful for confirming or marking something done. Used by the
|
|
7146
7510
|
* space centre upgrade button and the research and development node facts.
|
|
@@ -7773,6 +8137,51 @@ interface LockMarkProps {
|
|
|
7773
8137
|
*/
|
|
7774
8138
|
declare function LockMark({ lock: given }: LockMarkProps): react_jsx_runtime.JSX.Element;
|
|
7775
8139
|
|
|
8140
|
+
/**
|
|
8141
|
+
* The share of its own strength a layer of predicted coverage is drawn at under
|
|
8142
|
+
* a map's predicted path and landing zone, so the path and the zone stay
|
|
8143
|
+
* readable over it. Useful for drawing the legend swatch of such a layer at
|
|
8144
|
+
* the strength the map draws it. Used by the Ground Track, which draws the
|
|
8145
|
+
* `ground-track.predicted` layer at it.
|
|
8146
|
+
*
|
|
8147
|
+
* @category Layout
|
|
8148
|
+
*/
|
|
8149
|
+
declare const PREDICTED_LAYER_OPACITY = 0.35;
|
|
8150
|
+
/**
|
|
8151
|
+
* Props for {@link MapLegendKey}.
|
|
8152
|
+
*
|
|
8153
|
+
* @category Layout
|
|
8154
|
+
*/
|
|
8155
|
+
interface MapLegendKeyProps {
|
|
8156
|
+
/** What the swatch stands for, such as "Predicted landing zone". */
|
|
8157
|
+
label: string;
|
|
8158
|
+
/** A short line, a small box or a wide ramp. */
|
|
8159
|
+
shape: "line" | "box" | "ramp";
|
|
8160
|
+
/** The swatch's colour as a CSS colour for a line, or a CSS background for a box or a ramp. */
|
|
8161
|
+
background: string;
|
|
8162
|
+
/** The words a screen reader reads for the swatch, where it says more than the label, such as "Predicted landing zone, low to high". The label is then not read twice. */
|
|
8163
|
+
swatchLabel?: string;
|
|
8164
|
+
}
|
|
8165
|
+
/**
|
|
8166
|
+
* One key of a map's legend: a swatch and the words for what it draws. Useful
|
|
8167
|
+
* for telling the operator what a mark or a colour over a map means, such as
|
|
8168
|
+
* the landing spread heat. Used inside {@link MapLegend}, under the Ground
|
|
8169
|
+
* Track map.
|
|
8170
|
+
*
|
|
8171
|
+
* @category Layout
|
|
8172
|
+
*/
|
|
8173
|
+
declare function MapLegendKey({ label, shape, background, swatchLabel, }: Readonly<MapLegendKeyProps>): react_jsx_runtime.JSX.Element;
|
|
8174
|
+
/**
|
|
8175
|
+
* The legend under a map: the keys for everything drawn over it, in one row
|
|
8176
|
+
* that wraps. Useful for keeping the map itself free of captions. Used by the
|
|
8177
|
+
* Ground Track widget, whose own keys and an Uplink's share it.
|
|
8178
|
+
*
|
|
8179
|
+
* @category Layout
|
|
8180
|
+
*/
|
|
8181
|
+
declare function MapLegend({ children }: {
|
|
8182
|
+
children: ReactNode;
|
|
8183
|
+
}): react_jsx_runtime.JSX.Element;
|
|
8184
|
+
|
|
7776
8185
|
/**
|
|
7777
8186
|
* Props for the navball marker icons ({@link ProgradeIcon} and the rest). Useful
|
|
7778
8187
|
* for sizing and labelling a marker that shows the operator a direction.
|
|
@@ -8383,10 +8792,15 @@ interface MissionDateParts {
|
|
|
8383
8792
|
*/
|
|
8384
8793
|
declare function utOfParts(parts: MissionDateParts): number;
|
|
8385
8794
|
/**
|
|
8386
|
-
* A universal time entered as a calendar instant
|
|
8387
|
-
*
|
|
8388
|
-
*
|
|
8389
|
-
*
|
|
8795
|
+
* A universal time entered as a calendar instant in one box of parts: year,
|
|
8796
|
+
* day, hour, minute and second, or day, month and year where the game has a
|
|
8797
|
+
* real-world epoch, plus coarse steps. Useful for letting the operator type an
|
|
8798
|
+
* instant they know, or step to one they are looking for. Used by the warp
|
|
8799
|
+
* control to warp to a chosen time.
|
|
8800
|
+
*
|
|
8801
|
+
* Digits are typed straight through: a full part moves to the next, and space,
|
|
8802
|
+
* colon or period moves early. The up and down arrow keys step the focused part
|
|
8803
|
+
* and carry into the larger ones.
|
|
8390
8804
|
*
|
|
8391
8805
|
* Calendar lengths come from the running game's calendar, so day 300 means
|
|
8392
8806
|
* what the game's own clock calls day 300. Edits round to the second, so the
|
|
@@ -8396,8 +8810,8 @@ declare function utOfParts(parts: MissionDateParts): number;
|
|
|
8396
8810
|
* calendar): `null` comes up empty with {@link NULL_DISPLAY}, the dash that
|
|
8397
8811
|
* stands for no value, and nothing is committed until a component is typed.
|
|
8398
8812
|
*
|
|
8399
|
-
* Given a `command`, a nudge sends at once and
|
|
8400
|
-
*
|
|
8813
|
+
* Given a `command`, a nudge sends at once and typed parts send together when
|
|
8814
|
+
* focus leaves the field or the operator presses Enter. Escape drops them.
|
|
8401
8815
|
*
|
|
8402
8816
|
* {@link UnitInput} with a `ut` unit renders this for you and emits a `Value`;
|
|
8403
8817
|
* use this directly when you hold the instant as a bare number of seconds.
|
|
@@ -8418,10 +8832,14 @@ interface ModalOpenOptions {
|
|
|
8418
8832
|
title?: string;
|
|
8419
8833
|
/** Drawn beside the `title`, outside the name it gives the dialog. Ignored without a `title`. */
|
|
8420
8834
|
titleAdornment?: ReactNode;
|
|
8835
|
+
/** Controls drawn in the header's row of buttons, beside Close. They do not take the focus when the dialog opens. */
|
|
8836
|
+
headerActions?: ReactNode;
|
|
8421
8837
|
/** Names a dialog that has no visible `title`. Ignored when `title` is given. */
|
|
8422
8838
|
"aria-label"?: string;
|
|
8423
|
-
/** CSS length for the dialog max-width. Defaults to 560px. */
|
|
8839
|
+
/** CSS length for the dialog max-width. Defaults to 560px. Ignored when `expanded`. */
|
|
8424
8840
|
width?: string;
|
|
8841
|
+
/** Fills the window apart from a small margin, so a content that needs room (a chart, a map, an editor) has it. */
|
|
8842
|
+
expanded?: boolean;
|
|
8425
8843
|
}
|
|
8426
8844
|
/**
|
|
8427
8845
|
* The functions that open and close modal dialogs. Useful for showing the
|
|
@@ -8704,18 +9122,6 @@ interface NoticeProps extends BlockProps {
|
|
|
8704
9122
|
*/
|
|
8705
9123
|
declare function Notice({ tone, assertive, role, children, ...props }: NoticeProps): ReactNode;
|
|
8706
9124
|
|
|
8707
|
-
/**
|
|
8708
|
-
* The null token, the dash that means "no value to show": nothing has arrived
|
|
8709
|
-
* yet, or the game confirmed there is none. It does not say which, so a widget
|
|
8710
|
-
* that has to tell them apart reads the reading's `state` and says so in
|
|
8711
|
-
* words. Useful for showing the operator an empty figure wherever only a string
|
|
8712
|
-
* fits: a formatter's return value, a template fallback, an attribute value.
|
|
8713
|
-
* Used by the tape and the band instruments. For a bare JSX node use
|
|
8714
|
-
* {@link NullValue}. {@link Unit} already draws it for an absent value.
|
|
8715
|
-
*
|
|
8716
|
-
* @category Unit
|
|
8717
|
-
*/
|
|
8718
|
-
declare const NULL_DISPLAY = "\u2014";
|
|
8719
9125
|
/**
|
|
8720
9126
|
* The null token {@link NULL_DISPLAY} as muted text, so an empty figure reads
|
|
8721
9127
|
* as having no value rather than as ordinary body text. Useful for showing the
|
|
@@ -8727,6 +9133,124 @@ declare const NULL_DISPLAY = "\u2014";
|
|
|
8727
9133
|
*/
|
|
8728
9134
|
declare function NullValue(): ReactNode;
|
|
8729
9135
|
|
|
9136
|
+
/**
|
|
9137
|
+
* Where an objective stands, as {@link ObjectiveGlyph} draws it: not yet
|
|
9138
|
+
* reached, being worked on, reached, or failed. Taken by
|
|
9139
|
+
* {@link ObjectiveGlyph}.
|
|
9140
|
+
*
|
|
9141
|
+
* @category Display
|
|
9142
|
+
*/
|
|
9143
|
+
type ObjectiveGlyphState = "pending" | "active" | "reached" | "failed";
|
|
9144
|
+
/**
|
|
9145
|
+
* The small round mark that says where an objective stands: an empty circle
|
|
9146
|
+
* for one not yet reached, a half circle for one under way, a filled circle for
|
|
9147
|
+
* one reached and a cross for one failed. It is decorative, so the objective's
|
|
9148
|
+
* state is also given to a screen reader in words beside it. For an objective
|
|
9149
|
+
* that is still open but is expected to fail, `expectedToFail` draws a solid
|
|
9150
|
+
* circle in the strong no-go colour in place of the open mark; it changes nothing for
|
|
9151
|
+
* an objective already reached or failed. Useful for showing
|
|
9152
|
+
* the operator, at a glance down a list, which objectives are done. Used by the
|
|
9153
|
+
* Objectives widget and by the Flight Plan's tick box for a manual step.
|
|
9154
|
+
*
|
|
9155
|
+
* @category Display
|
|
9156
|
+
*/
|
|
9157
|
+
declare function ObjectiveGlyph({ state, expectedToFail, }: {
|
|
9158
|
+
state: ObjectiveGlyphState;
|
|
9159
|
+
expectedToFail?: boolean;
|
|
9160
|
+
}): react_jsx_runtime.JSX.Element;
|
|
9161
|
+
|
|
9162
|
+
/**
|
|
9163
|
+
* Props for {@link ObjectiveRow}. Useful for listing one objective the way the
|
|
9164
|
+
* Objectives widget does. Taken by {@link ObjectiveRow}.
|
|
9165
|
+
*
|
|
9166
|
+
* @category Display
|
|
9167
|
+
*/
|
|
9168
|
+
interface ObjectiveRowProps {
|
|
9169
|
+
/** Where the objective stands, drawn as its {@link ObjectiveGlyph} and given to a screen reader in words. */
|
|
9170
|
+
state: ObjectiveGlyphState;
|
|
9171
|
+
/** Marks an objective that is still open as expected to fail, drawn as the mark's solid no-go circle and worded for a screen reader as "expected to fail". Not expected to fail when omitted. */
|
|
9172
|
+
expectedToFail?: boolean;
|
|
9173
|
+
/** What the objective asks for. It is dimmed while the objective is pending. */
|
|
9174
|
+
title: string;
|
|
9175
|
+
/** Marks the objective as one that need not be met, with "(optional)" after its title. */
|
|
9176
|
+
optional?: boolean;
|
|
9177
|
+
/** How deeply the objective is nested under another, in steps of an indent. None when omitted. */
|
|
9178
|
+
depth?: number;
|
|
9179
|
+
/** A caption under the title, such as the contract or mission the objective belongs to. */
|
|
9180
|
+
source?: ReactNode;
|
|
9181
|
+
/** The author's longer words for the objective, under the caption. */
|
|
9182
|
+
description?: string;
|
|
9183
|
+
/** The grade the objective's reading is held at, drawn as the held square over the mark. Not held when omitted. */
|
|
9184
|
+
held?: HeldGrade;
|
|
9185
|
+
/** What sits before the mark, such as a {@link Tag}. */
|
|
9186
|
+
lead?: ReactNode;
|
|
9187
|
+
/** What sits at the end of the row, after the title: a value, or a control. */
|
|
9188
|
+
trailing?: ReactNode;
|
|
9189
|
+
/** The element drawn. `li` inside a list, which is the default, or `div` for a row on its own. */
|
|
9190
|
+
as?: "li" | "div";
|
|
9191
|
+
}
|
|
9192
|
+
/**
|
|
9193
|
+
* One objective as a row: the round mark of its state, its title with an
|
|
9194
|
+
* optional caption and description beneath, and whatever the caller puts at
|
|
9195
|
+
* either end. Useful for listing objectives from any source in one look.
|
|
9196
|
+
* Used by the Objectives widget, and by the Flight Plan's step card for the
|
|
9197
|
+
* objective a step was added for.
|
|
9198
|
+
*
|
|
9199
|
+
* @category Display
|
|
9200
|
+
*/
|
|
9201
|
+
declare function ObjectiveRow({ state, expectedToFail, title, optional, depth, source, description, held, lead, trailing, as: Element, }: ObjectiveRowProps): react_jsx_runtime.JSX.Element;
|
|
9202
|
+
|
|
9203
|
+
/**
|
|
9204
|
+
* One side of a {@link Paddle}: the value it stands for, the word on it, and
|
|
9205
|
+
* the fill it takes while chosen. Listed in a {@link PaddleProps}'s `options`.
|
|
9206
|
+
*
|
|
9207
|
+
* @category Form
|
|
9208
|
+
*/
|
|
9209
|
+
interface PaddleOption<Choice extends string> {
|
|
9210
|
+
/** The setting this side stands for, which `onChange` is called with when the operator chooses it. */
|
|
9211
|
+
value: Choice;
|
|
9212
|
+
/** The word on this side of the paddle. */
|
|
9213
|
+
label: string;
|
|
9214
|
+
/** The fill while this side is chosen. Defaults to `neutral`. */
|
|
9215
|
+
tone?: Tone;
|
|
9216
|
+
}
|
|
9217
|
+
/**
|
|
9218
|
+
* Props for {@link Paddle}. Useful for letting the operator choose between two
|
|
9219
|
+
* settings while seeing both. Taken by {@link Paddle}.
|
|
9220
|
+
*
|
|
9221
|
+
* @category Form
|
|
9222
|
+
*/
|
|
9223
|
+
interface PaddleProps<Choice extends string> {
|
|
9224
|
+
/** The two sides, in the order drawn. */
|
|
9225
|
+
options: readonly [PaddleOption<Choice>, PaddleOption<Choice>];
|
|
9226
|
+
/** The side chosen now. The paddle is controlled: it shows this and changes only when the caller changes it. */
|
|
9227
|
+
value: Choice;
|
|
9228
|
+
/** Called with the side the operator chose. */
|
|
9229
|
+
onChange: (value: Choice) => void;
|
|
9230
|
+
/** The paddle's accessible name, for a paddle whose row shows its own label. Give this or `aria-labelledby`. */
|
|
9231
|
+
"aria-label"?: string;
|
|
9232
|
+
/** The id of the element that names the paddle. */
|
|
9233
|
+
"aria-labelledby"?: string;
|
|
9234
|
+
/** Why the paddle cannot be moved now. It is drawn dimmed with this as its tip, and neither side can be chosen. */
|
|
9235
|
+
disabledReason?: string;
|
|
9236
|
+
}
|
|
9237
|
+
/**
|
|
9238
|
+
* A two-position switch with both of its settings written on it, as two
|
|
9239
|
+
* buttons side by side in one well, and the chosen one lit in its own tone.
|
|
9240
|
+
* Useful for a choice between two named settings where the operator should
|
|
9241
|
+
* see the one not chosen as well, such as whether the craft fires a plan step
|
|
9242
|
+
* itself. Used by the Flight Plan's Action group step dialog.
|
|
9243
|
+
*
|
|
9244
|
+
* It only shows and changes a value its caller holds, and sends nothing to
|
|
9245
|
+
* the craft.
|
|
9246
|
+
*
|
|
9247
|
+
* A radio group of two: the chosen side is the tab stop, and the arrow keys
|
|
9248
|
+
* move to the other side.
|
|
9249
|
+
*
|
|
9250
|
+
* @category Form
|
|
9251
|
+
*/
|
|
9252
|
+
declare function Paddle<Choice extends string>({ options, value, onChange, disabledReason, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: PaddleProps<Choice>): react_jsx_runtime.JSX.Element;
|
|
9253
|
+
|
|
8730
9254
|
/**
|
|
8731
9255
|
* The panel's delay rail: a strip along the top edge that shows each command
|
|
8732
9256
|
* the widget has sent, through {@link CommandDelay}, reading them from the
|
|
@@ -8742,7 +9266,8 @@ declare function NullValue(): ReactNode;
|
|
|
8742
9266
|
* It is a disclosure: a native `<button>` laid over the strip controls the
|
|
8743
9267
|
* detail beside it. Activating it (Esc collapses) pins the rail, and pinning
|
|
8744
9268
|
* grows it: each command switches to its `expanded` view and the title and
|
|
8745
|
-
* body are pushed down
|
|
9269
|
+
* body are pushed down, or on a short panel the rail lies over them and
|
|
9270
|
+
* scrolls inside a share of the body's height. Opened while the body is already scrolled, it extends
|
|
8746
9271
|
* over the content instead, so the scroll position is kept. `aria-expanded`
|
|
8747
9272
|
* carries the pin; hover is a transient preview that says nothing to assistive
|
|
8748
9273
|
* tech. Pinned, the detail takes its own clicks and only the collapse hint
|
|
@@ -8895,7 +9420,8 @@ interface PanelTitleProps extends Omit<ComponentPropsWithoutRef<"h3">, "title">
|
|
|
8895
9420
|
*
|
|
8896
9421
|
* When the title and aside no longer fit side by side, the aside collapses to
|
|
8897
9422
|
* the panel's per-severity status dots (worst first) plus a chevron, and the
|
|
8898
|
-
* full aside floats open on toggle.
|
|
9423
|
+
* full aside floats open on toggle. Badges with no severity add a neutral dot
|
|
9424
|
+
* where the title fits beside it. A hand-composed header gets this too.
|
|
8899
9425
|
*/
|
|
8900
9426
|
declare function PanelHeader({ title, compactTitle, aside, toolbar, ...rest }: Omit<ComponentPropsWithoutRef<"div">, "title"> & {
|
|
8901
9427
|
title?: ReactNode;
|
|
@@ -9879,6 +10405,100 @@ declare function Readout({ size, tone, ...rest }: ReadoutProps): react_jsx_runti
|
|
|
9879
10405
|
*/
|
|
9880
10406
|
declare const ReadoutCaption: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
9881
10407
|
|
|
10408
|
+
/**
|
|
10409
|
+
* Props for {@link ReorderItem}: the entry, and its part in a drag. Any other
|
|
10410
|
+
* `div` attribute passes through. Useful for showing the operator which entry
|
|
10411
|
+
* is being dragged and where it would be dropped. Used by {@link ReorderItem}.
|
|
10412
|
+
*
|
|
10413
|
+
* @category Layout
|
|
10414
|
+
*/
|
|
10415
|
+
interface ReorderItemProps extends ComponentPropsWithoutRef<"div"> {
|
|
10416
|
+
/** Draws the drop marker above or below this entry. Absent draws none. */
|
|
10417
|
+
drop?: "before" | "after";
|
|
10418
|
+
/** Raises the entry while it is the one being dragged. */
|
|
10419
|
+
lifted?: boolean;
|
|
10420
|
+
/** How far, in CSS pixels down the page, a lifted entry is drawn from its place, so that it follows the pointer. */
|
|
10421
|
+
offset?: number;
|
|
10422
|
+
/**
|
|
10423
|
+
* Lets the entry be picked up, and is called when it is, with the pointer's
|
|
10424
|
+
* `clientY`. The caller then follows the pointer until it is released.
|
|
10425
|
+
* Absent leaves the entry where it is.
|
|
10426
|
+
*/
|
|
10427
|
+
onPickUp?: (clientY: number) => void;
|
|
10428
|
+
/** The gap of the list the entry sits in, so the marker is drawn midway between two entries. */
|
|
10429
|
+
gap: GapToken;
|
|
10430
|
+
/** The entry. */
|
|
10431
|
+
children?: ReactNode;
|
|
10432
|
+
}
|
|
10433
|
+
/**
|
|
10434
|
+
* One entry of a list the operator can rearrange, with the line that marks
|
|
10435
|
+
* where a dragged entry would be dropped. Useful for showing the operator the
|
|
10436
|
+
* new place before the entry is moved there. Used by the Flight Plan's steps.
|
|
10437
|
+
*
|
|
10438
|
+
* With `onPickUp` the whole entry is picked up, apart from the controls inside
|
|
10439
|
+
* it. A mouse drags it from anywhere but its words, where it shows a grab
|
|
10440
|
+
* cursor; holding a mouse or a finger still for 400 ms picks it up from
|
|
10441
|
+
* anywhere. A mouse dragged across words selects them, and a finger that moves
|
|
10442
|
+
* before then scrolls. Words in the entry cannot be selected by touch.
|
|
10443
|
+
*
|
|
10444
|
+
* It moves nothing itself, and it has no keyboard path of its own: give the
|
|
10445
|
+
* entry a `tabIndex`, an accessible name and keys that move it, and offer
|
|
10446
|
+
* buttons that do the same.
|
|
10447
|
+
*
|
|
10448
|
+
* @example
|
|
10449
|
+
* ```tsx
|
|
10450
|
+
* import { ReorderItem, Stack } from "@ksp-gonogo/ui-kit";
|
|
10451
|
+
*
|
|
10452
|
+
* <Stack gap="related-compact">
|
|
10453
|
+
* <ReorderItem gap="related-compact" lifted offset={24}>
|
|
10454
|
+
* Launch
|
|
10455
|
+
* </ReorderItem>
|
|
10456
|
+
* <ReorderItem gap="related-compact" drop="after">
|
|
10457
|
+
* Reach orbit
|
|
10458
|
+
* </ReorderItem>
|
|
10459
|
+
* </Stack>
|
|
10460
|
+
* ```
|
|
10461
|
+
*
|
|
10462
|
+
* @category Layout
|
|
10463
|
+
*/
|
|
10464
|
+
declare const ReorderItem: react.ForwardRefExoticComponent<ReorderItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
10465
|
+
|
|
10466
|
+
/**
|
|
10467
|
+
* Props for {@link ReservedLines}.
|
|
10468
|
+
*
|
|
10469
|
+
* @category Layout
|
|
10470
|
+
*/
|
|
10471
|
+
interface ReservedLinesProps {
|
|
10472
|
+
/** How many lines of the `sm` text step the block's height holds. */
|
|
10473
|
+
lines: number;
|
|
10474
|
+
/** The words drawn, or nothing while there are none. */
|
|
10475
|
+
children?: ReactNode;
|
|
10476
|
+
/** The full words as a tooltip, for a sentence longer than the lines held. */
|
|
10477
|
+
title?: string;
|
|
10478
|
+
}
|
|
10479
|
+
/**
|
|
10480
|
+
* A block that always takes the height of `lines` lines of the `sm` text step,
|
|
10481
|
+
* with words in it or without, and ends what runs past them with an ellipsis. Useful for a
|
|
10482
|
+
* caution that comes and goes under a figure, so its arrival moves nothing
|
|
10483
|
+
* else in the widget. Used by the Rendezvous widget's refusal caution.
|
|
10484
|
+
*
|
|
10485
|
+
* @example
|
|
10486
|
+
* ```tsx
|
|
10487
|
+
* import { ReservedLines, Text } from "@ksp-gonogo/ui-kit";
|
|
10488
|
+
*
|
|
10489
|
+
* function Caution(props: { words?: string }) {
|
|
10490
|
+
* return (
|
|
10491
|
+
* <ReservedLines lines={2} title={props.words}>
|
|
10492
|
+
* {props.words !== undefined && <Text size="sm" tone="caution">{props.words}</Text>}
|
|
10493
|
+
* </ReservedLines>
|
|
10494
|
+
* );
|
|
10495
|
+
* }
|
|
10496
|
+
* ```
|
|
10497
|
+
*
|
|
10498
|
+
* @category Layout
|
|
10499
|
+
*/
|
|
10500
|
+
declare function ReservedLines({ lines, children, title, }: Readonly<ReservedLinesProps>): react_jsx_runtime.JSX.Element;
|
|
10501
|
+
|
|
9882
10502
|
/**
|
|
9883
10503
|
* Props for {@link ReservedText}.
|
|
9884
10504
|
*
|
|
@@ -10079,6 +10699,44 @@ declare const Row: typeof RowBase & {
|
|
|
10079
10699
|
Name: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<react.DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
10080
10700
|
};
|
|
10081
10701
|
|
|
10702
|
+
/**
|
|
10703
|
+
* How a widget draws values over a stretch of time, against a value at one
|
|
10704
|
+
* moment. Useful for a map trail or a plotted series whose source holds more
|
|
10705
|
+
* than the moment on screen, as a recorded flight or a predicted one does, so
|
|
10706
|
+
* the operator reads which part has happened by that moment and which has
|
|
10707
|
+
* not. Used by the ground track's trail.
|
|
10708
|
+
*
|
|
10709
|
+
* A range is a line in the series' own colour. The part up to the moment on
|
|
10710
|
+
* screen (`reached`) is drawn at full strength. The part after it (`ahead`)
|
|
10711
|
+
* is the same line, dimmer and thinner: the same data, not yet reached. A
|
|
10712
|
+
* value at one moment is a mark, never a line. A dashed line is not a range:
|
|
10713
|
+
* it stays a model's own path, such as a reckoned orbit.
|
|
10714
|
+
*
|
|
10715
|
+
* Each part is a pair of multipliers on the line's own opacity and width.
|
|
10716
|
+
*
|
|
10717
|
+
* @category Unit
|
|
10718
|
+
*/
|
|
10719
|
+
declare const RANGE_MARK: {
|
|
10720
|
+
/** The part of a range at or before the moment on screen. */
|
|
10721
|
+
readonly reached: {
|
|
10722
|
+
readonly alpha: 1;
|
|
10723
|
+
readonly width: 1;
|
|
10724
|
+
};
|
|
10725
|
+
/** The part of a range after the moment on screen. */
|
|
10726
|
+
readonly ahead: {
|
|
10727
|
+
readonly alpha: 0.6;
|
|
10728
|
+
readonly width: 0.5;
|
|
10729
|
+
};
|
|
10730
|
+
};
|
|
10731
|
+
/**
|
|
10732
|
+
* Which part of a range a value at `ut` belongs to, for the moment on screen
|
|
10733
|
+
* `atUt`. Useful for picking a line's strength from {@link RANGE_MARK} point
|
|
10734
|
+
* by point.
|
|
10735
|
+
*
|
|
10736
|
+
* @category Unit
|
|
10737
|
+
*/
|
|
10738
|
+
declare function rangePart(ut: number, atUt: number): keyof typeof RANGE_MARK;
|
|
10739
|
+
|
|
10082
10740
|
/**
|
|
10083
10741
|
* How a value was reckoned (held, or carried forward by a model), in words.
|
|
10084
10742
|
* Useful for naming a chart so a screen reader tells the operator how a line
|
|
@@ -10447,6 +11105,29 @@ interface SpinnerProps extends Omit<HTMLAttributes<HTMLSpanElement>, "color" | "
|
|
|
10447
11105
|
*/
|
|
10448
11106
|
declare function Spinner({ size, thickness, color, "aria-label": ariaLabel, ...rest }: Readonly<SpinnerProps>): react_jsx_runtime.JSX.Element;
|
|
10449
11107
|
|
|
11108
|
+
/**
|
|
11109
|
+
* Props for {@link SpokenAs}. Useful for giving a figure written short the
|
|
11110
|
+
* words the operator hears for it. Used by {@link SpokenAs}.
|
|
11111
|
+
*
|
|
11112
|
+
* @category Typography
|
|
11113
|
+
*/
|
|
11114
|
+
interface SpokenAsProps {
|
|
11115
|
+
/** What a screen reader reads in place of `children`. */
|
|
11116
|
+
words: string;
|
|
11117
|
+
/** What is drawn. */
|
|
11118
|
+
children: ReactNode;
|
|
11119
|
+
}
|
|
11120
|
+
/**
|
|
11121
|
+
* Draws its children and has a screen reader read `words` in their place, such
|
|
11122
|
+
* as "1 day 0 hours 17 minutes 25 seconds" for a duration drawn as `1d`.
|
|
11123
|
+
* Useful for giving an operator who uses assistive technology all of a figure
|
|
11124
|
+
* the tile has room to write only in part, without adding a tab stop. Used by
|
|
11125
|
+
* {@link Unit} and {@link Countdown}.
|
|
11126
|
+
*
|
|
11127
|
+
* @category Typography
|
|
11128
|
+
*/
|
|
11129
|
+
declare function SpokenAs({ words, children }: SpokenAsProps): react_jsx_runtime.JSX.Element;
|
|
11130
|
+
|
|
10450
11131
|
/**
|
|
10451
11132
|
* Props for {@link Stack}. Any other `div` attribute passes through. Useful for
|
|
10452
11133
|
* stacking a widget's rows so the operator reads them in order. Taken by
|
|
@@ -10854,6 +11535,38 @@ interface SubjectHeadingProps {
|
|
|
10854
11535
|
*/
|
|
10855
11536
|
declare function SubjectHeading({ children, status, gap, align, }: Readonly<SubjectHeadingProps>): react_jsx_runtime.JSX.Element;
|
|
10856
11537
|
|
|
11538
|
+
/**
|
|
11539
|
+
* Props for {@link SuggestField}.
|
|
11540
|
+
*
|
|
11541
|
+
* @category Form
|
|
11542
|
+
*/
|
|
11543
|
+
interface SuggestFieldProps {
|
|
11544
|
+
/** Shown above the field and tied to it, so the field is never unlabelled. */
|
|
11545
|
+
label: string;
|
|
11546
|
+
/** The text now in the field. */
|
|
11547
|
+
value: string;
|
|
11548
|
+
/** Called with the whole new text on every edit, and with an option's key when one is picked. */
|
|
11549
|
+
onChange: (next: string) => void;
|
|
11550
|
+
/** The values offered, listed under their `group` headings and narrowed to those matching what is typed. */
|
|
11551
|
+
suggestions: readonly ComboboxOption[];
|
|
11552
|
+
/** The message saying why the current text is refused, shown under the field; setting it marks the field invalid. */
|
|
11553
|
+
invalid?: string;
|
|
11554
|
+
/** Shown faint in the empty field. */
|
|
11555
|
+
placeholder?: string;
|
|
11556
|
+
}
|
|
11557
|
+
/**
|
|
11558
|
+
* A single line of free text with a list of values to pick from beneath it,
|
|
11559
|
+
* narrowed as the operator types. Any text is kept, listed or not. Useful
|
|
11560
|
+
* where the usual values are known, such as the bodies and craft a plan can
|
|
11561
|
+
* name, but another is allowed. Used by the Flight Plan's step editor.
|
|
11562
|
+
*
|
|
11563
|
+
* The list opens on focus or Arrow Down, Enter picks the highlighted value,
|
|
11564
|
+
* and Escape or leaving the field closes it.
|
|
11565
|
+
*
|
|
11566
|
+
* @category Form
|
|
11567
|
+
*/
|
|
11568
|
+
declare function SuggestField({ label, value, onChange, suggestions, invalid, placeholder, }: SuggestFieldProps): react_jsx_runtime.JSX.Element;
|
|
11569
|
+
|
|
10857
11570
|
/**
|
|
10858
11571
|
* The props every {@link Switch} takes. Useful for letting the operator turn a
|
|
10859
11572
|
* widget option on or off. Taken by {@link Switch}, whether it is given `label` or `aria-label`.
|
|
@@ -12152,7 +12865,10 @@ interface UnitInputProps<Unit extends string = string> {
|
|
|
12152
12865
|
* never emitted.
|
|
12153
12866
|
*
|
|
12154
12867
|
* - One number field in `unit` by default
|
|
12155
|
-
* - `rungs` splits the value across several fields that add up
|
|
12868
|
+
* - `rungs` splits the value across several fields that add up. On a duration
|
|
12869
|
+
* in seconds they are one box of parts typed straight through: a full part
|
|
12870
|
+
* moves to the next, space, colon or period moves early, and the up and down
|
|
12871
|
+
* arrow keys step a part and carry on the game's calendar
|
|
12156
12872
|
* - `range` adds a slider beside the field; `rate` adds a rate wheel
|
|
12157
12873
|
* - A point-like unit such as `ut` is entered as a game-calendar date through
|
|
12158
12874
|
* {@link MissionDateField}, and `rungs` is ignored
|
|
@@ -12215,6 +12931,8 @@ interface SharedFormat {
|
|
|
12215
12931
|
readonly as?: string;
|
|
12216
12932
|
/** The digit count every member is written at. */
|
|
12217
12933
|
readonly decimals?: number;
|
|
12934
|
+
/** The units every duration member is written in, when the group widened them to tell its members apart. */
|
|
12935
|
+
readonly durationUnits?: number;
|
|
12218
12936
|
}
|
|
12219
12937
|
/**
|
|
12220
12938
|
* What a scope pins for one group, typed by the unit it is addressed to: `of="m" as="kg"` is a compile error.
|
|
@@ -12952,11 +13670,31 @@ declare function splitAtPoleCrossings<Point extends GroundPoint>(points: readonl
|
|
|
12952
13670
|
* continuous line can be told apart from. Useful for drawing a track that
|
|
12953
13671
|
* leaves one edge of the map and carries on at the other. Used by the ground track widget.
|
|
12954
13672
|
*
|
|
13673
|
+
* @deprecated Removed at the next major version. Use {@link wrapPathInView}, which returns only the runs in view, so a track that goes round the world many times costs by its points and not by its laps.
|
|
13674
|
+
*
|
|
12955
13675
|
* @category Extensions
|
|
12956
13676
|
*/
|
|
12957
13677
|
declare function wrapPath<Point extends {
|
|
12958
13678
|
x: number;
|
|
12959
13679
|
}>(points: readonly Point[], period: number, viewMin: number, viewMax: number): Point[][];
|
|
13680
|
+
/**
|
|
13681
|
+
* The runs of a projected path that cross a view of a map repeating every
|
|
13682
|
+
* `period` pixels across, for a path that may go round the map many times. The
|
|
13683
|
+
* path is made continuous as {@link wrapPath} does, then cut for each whole
|
|
13684
|
+
* period that brings some of it into the view: only the points in view, and the
|
|
13685
|
+
* one point either side of them so a line to the edge of the view is drawn,
|
|
13686
|
+
* are kept, as one run for each stretch of the path that is in view. Useful for
|
|
13687
|
+
* drawing the track of a craft that circles the body hundreds of times, where
|
|
13688
|
+
* {@link wrapPath} returns a whole copy of the track for every lap and the cost
|
|
13689
|
+
* grows with the square of the laps; here it grows with the number of points.
|
|
13690
|
+
* Runs come west to east by period, each in the order of the path. Used by the
|
|
13691
|
+
* ground track widget.
|
|
13692
|
+
*
|
|
13693
|
+
* @category Extensions
|
|
13694
|
+
*/
|
|
13695
|
+
declare function wrapPathInView<Point extends {
|
|
13696
|
+
x: number;
|
|
13697
|
+
}>(points: readonly Point[], period: number, viewMin: number, viewMax: number): Point[][];
|
|
12960
13698
|
/**
|
|
12961
13699
|
* Every whole multiple of `period` that, added to the span `min` to `max`,
|
|
12962
13700
|
* puts some of it between `viewMin` and `viewMax`, west to east. On a
|
|
@@ -12970,4 +13708,4 @@ declare function wrapPath<Point extends {
|
|
|
12970
13708
|
*/
|
|
12971
13709
|
declare function repeatsInView(min: number, max: number, viewMin: number, viewMax: number, period: number): number[];
|
|
12972
13710
|
|
|
12973
|
-
export { ARM_TIMEOUT_MS, AWAITING_FIRST_SIGNAL, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AnchorPoint, type AnchoredPosition, AntiNormalIcon, AntiTargetIcon, type AnyAugment, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpIcon, type AudioCaptureSupport, type AudioCaptureUnsupportedReason, type AudioInputControls, type AudioInputDevice, type AudioInputFailure, AudioInputPicker, type AudioInputPickerProps, type AudioInputState, type AudioInputStatus, type AugmentSegmentProps, type AugmentSegmentRegistry, type AugmentSettingsContextValue, AugmentSettingsPanel, type AugmentSettingsPanelProps, AugmentSettingsProvider, AugmentSlot, AutoEmptyState, type AutoEmptyStateProps, AvatarStack, type AvatarStackItem, type AvatarStackProps, AwaitingSignal, type AwaitingSignalProps, type AxisScale, Badge, type BadgeFace, type BadgeProps, type BadgeSize, Band, type BandProps, BellIcon, BinormalIcon, Block, type BlockProps, type BlockTitleRowProps, type BoundControlCommand, Box, type BoxPad, type BoxProps, type BoxRadius, type BoxSurface, BroadcastIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonTone, type ButtonVariant, Card, type CardProps, type ChartSeries, type ChartSeriesData, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, Cluster, type ClusterAlign, type ClusterJustify, type ClusterProps, ComboboxListbox, type ComboboxListboxProps, type ComboboxOption, type CommandButtonHandle, type CommandButtonPhase, type CommandButtonSize, type CommandButtonTone, type CommandControlState, CommandDelay, type CommandDelayHandle, type CommandDelayProps, type CommandFailedEntry, type CommandFailedLike, type CommandFoundEntry, type CommandFoundLike, type CommandGateLike, type CommandHandle, type CommandInput, CommandList, type CommandListKind, type CommandListProps, type CommandLossEntry, type CommandLossLike, type CommandOutcomes, type CommandRefusalEntry, type CommandRefusalLike, type CommandReplyLike, type CommandToggle, type CommandUndeliveredEntry, type CommandUndeliveredLike, type CommandWarningEntry, type CommandWarningLike, type CommandedButtonProps, type CommandedMissionDateFieldProps, type CommandedSelectProps, type CommandedStepperProps, type CommandedSwitchProps, type CommandedTextFieldProps, type CommandedToggleProps, ComposerBar, type ComposerBarProps, ComputerIcon, ConfigForm, Console, type ConsoleProps, type ConsoleTone, ContainerBreak, type ContainerBreakProps, type ContributedEntries, Contribution, type ContributionProps, type ContributionSlotEntry, ContributionsPanelStore, ContributionsProvider, ControlDelayStream, type ControlDelayStreamProps, type ControlDelayStreamVariant, type ControlRibbonDatum, type ControlStreamDatum, type ControlStreamSample, Countdown, type CountdownProps, type CurrencyOptions, DataKeyPicker, type DataKeyPickerProps, DataLine, DataLineGroup, type DataLineProps, DataTable, type DataTableColumn, type DataTableColumnBase, type DataTableProps, type DataTableSection, DatabaseIcon, DeclinedEmptyState, DefaultThemeProvider, DelayRailContext, DelayRailProvider, DiagnosticsIcon, Dial, type DialProps, type DialTick, type DialZone, Disclosure, type DisclosureProps, DivergingBar, type DivergingBarProps, Divider, type DividerProps, DomainAvailabilityContext, DomainAvailabilityProvider, type DomainAvailabilityStore, type DrawnPrecision, type EdgeCue, type EdgeCueTone, type ElementSize, EmptyState, type EmptyStateLayout, type EmptyStateProps, type EphemerisFigure, ExpandableText, type ExpandableTextProps, FAINT_TEXT_STYLE, FRAMEWORK_AUGMENT_SEGMENTS, FRAMEWORK_CONTRIBUTION_SEGMENTS, Field, FieldHint, FieldLabel, FieldRow, type FillQuantity, FilterChip, type FilterChipProps, FilterList, type FilterListProps, FilterRegion, type FilterRegionProps, type FilterRow, FitLabelButton, type FitLabelButtonProps, Floating, type FloatingProps, FlowChevrons, type FlowChevronsProps, FormActions, FormatQuantityOptions, FormatsFor, FormatsForKind, FramedDisplay, type FramedDisplayProps, type FramedDisplayShape, FrenetNormalIcon, FullHeightIcon, FullWidthIcon, FullscreenEnterIcon, FullscreenExitIcon, type GapToken, Graph, GraphNotice, type GraphNoticePlacement, type GraphNoticeProps, type GraphNoticeSpace, type GraphProps, type GraphThreshold, Grid, type GridAlign, type GridProps, GripIcon, type GroundPoint, GroundStationIcon, HalfHeightIcon, HalfWidthIcon, HeartIcon, HeldFigure, type HeldFigureProps, HelmetIcon, HelmetVisorUpIcon, HistoryIcon, HomeIcon, HoverCard, type HoverCardProps, INTERVAL_DASH, IconButton, type IconButtonProps, type IconProps, type InFlightCommandLike, InFlightList, type InFlightListDensity, type InFlightListItem, type InFlightListMode, type InFlightListProps, InfoIcon, Inline, type InlineProps, Input, type InsetToken, InstrumentHeldMark, JogWheel, type JogWheelCommandedCommon, type JogWheelCommon, type JogWheelProps, JoystickIcon, Kbd, type KeyOption, KindOfGroup, KitIcon, LampIcon, LampOffIcon, LayersIcon, LevelBars, type LevelBarsProps, type LimitSide, LiveRegion, type LiveRegionProps, LockIcon, LockMark, type LockMarkProps, LockScope, type LockScopeProps, type LockSummary, MARKER_ICONS, MARKER_IDS, ManeuverIcon, type MarkKind, type MarkedSliderProps, type MarkerIconProps, type MarkerId, MenuIcon, Meter, type MeterLayout, type MeterProps, MeterRowGroup, MeterStack, MicroscopeIcon, MissionDate, MissionDateField, type MissionDateFieldBaseProps, type MissionDateFieldProps, type MissionDateParts, type MissionDateProps, ModalChromeContext, type ModalChromeValue, type ModalContextValue, type ModalOpenOptions, ModalProvider, type ModalSaveBarOptions, ModelledAlongside, type ModelledFigureAlongsideProps, type ModelledQuantityAlongsideProps, MutedIcon, NULL_DISPLAY, NormalIcon, Notice, type NoticeProps, NullValue, type PaintReckoningMarkOptions, type PaintVesselMarkOptions, type PanZoomCamera, PanZoomViewport, type PanZoomViewportProps, Panel, type PanelAsideSize, type PanelBadge, PanelBadgesProvider, type PanelInactiveReason, type PanelProps, type PanelSidebarPlacement, type PanelSidebarSide, type PanelStatusStore, PanelStatusStoreProvider, type PanelTitleProps, ParallelMinusIcon, ParallelPlusIcon, PauseIcon, PencilIcon, Pips, type PipsProps, type PlainAdvice, type PlainMissionDateFieldProps, PlayIcon, PlotCrosshair, type PlotCrosshairProps, type PlotCrosshairRow, type PlotReadoutPlacement, type PlotReadoutSpace, PlusIcon, type PredictedOutcome, type PresentPoint, PresentableAs, PresentableAsKind, ProgradeIcon, PullDownIcon, PushUpIcon, RECKONING_MARK, REFUSAL_TIMEOUT_MS, RETIRED_SLOT_IDS, RadialInIcon, RadialOutIcon, type RailEntry, type RailFailed, type RailFound, type RailLoss, type RailRefusal, type RailUndelivered, type RailWarning, type RateControl, ReadFrameControl, type ReadFrameControlProps, type ReadFrameOption, ReadOnlyField, type ReadOnlyFieldProps, type ReadOnlyFieldValue, Readout, ReadoutCaption, type ReadoutProps, type ReadoutRoom, type ReadoutSize, RecallIcon, type ReckonedPosition, ReckonedUnit, type ReckoningKind, ReckoningMark, ReckoningMarkSvg, type ReckoningMarking, type ReferenceCurve, RelativeMinusIcon, RelativePlusIcon, ReservedText, type ReservedTextProps, type Resolved, ResourceFlowRow, type ResourceFlowRowProps, ResourceTransferPicker, type ResourceTransferPickerProps, RetrogradeIcon, RotateAnticlockwiseIcon, RotateClockwiseIcon, Row, type RowFilter, RowName, type RowProps, SENT_FLASH_MS, STREAM_DOWN_TIP, STREAM_MIN_DELAY_SECONDS, SatelliteIcon, ScrollArea, type ScrollAreaProps, SearchBox, type SearchBoxProps, Section, type SectionProps, SectionTitle, Select, SelectableRow, type SelectableRowProps, SendIcon, type SeriesType, SettingsIcon, type Severity, type SharedFormat, SignalDelayBadge, type SignalDelayBadgeProps, type SizeBucket, type SlidableRange, Slider, type SliderProps, Sparkline, type SparklineProps, SpeakerIcon, Spinner, type SpinnerProps, Stack, type StackProps, StarIcon, Stat, StatContributions, type StatContributionsProps, type StatProps, type StaticElement, type StatusBreakdownEntry, type StatusContribution, StatusIndicator, type StatusIndicatorProps, type StatusSummary, Stepper, type StepperBaseProps, type StepperMarks, type StepperProps, type StepperSteps, StopIcon, StreamStatusBadge, type StreamStatusBadgeProps, SubjectHeading, type SubjectHeadingProps, Switch, type SwitchBaseProps, type SwitchProps, TABS_PANEL_MIN_WIDTH, TINY_BELOW, TONE_LABEL, TONE_MARK, TONE_ON_STATUS, TONE_STATUS, TONE_TEXT, type TabDescriptor, Tabs, type TabsProps, Tag, type TagProps, TangentIcon, Tape, type TapeMarker, type TapeProps, type TapeZone, TargetIcon, Text, TextButton, TextField, type TextFieldBaseProps, type TextFieldProps, type TextLevel, type TextProps, type TextSize, type TextWeight, Textarea, type ThresholdKind, type TimeContext, TinyEssentials, type TinyEssentialsProps, ToggleButton, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonTone, type ToggleState, Tooltip, type TooltipAnchorProps, type TooltipProps, Truncate, UiKitThemeProvider, type UiKitThemeProviderProps, type UiResourceTransferModel, Unit, UnitGroupKey, type UnitGroupPins, UnitInput, type UnitInputProps, type UnitPins, type UnitPinsByGroup, type UnitProps, UnitSharedFormat, type UnitSharedFormatMixedProps, type UnitSharedFormatProps, type UnitValue, type UseAudioInputOptions, type UseCommandControlOptions, type UsePanZoomOptions, type UsePanZoomResult, type UseRowFilterOptions, type UseTooltipResult, VESSEL_MARK, type VesselMarkState, VesselMarkSvg, type VesselMarkSvgProps, type VesselPositions, VisuallyHidden, WAVE_HALF_H, WAVE_MID_Y, type WaveBlock, type WheelGesture, type WheelGestureOptions, type WheelOwner, type WheelZoomHandler, WidgetMetaContext, type WidgetMetaContextValue, WidgetScopeProvider, type WidgetShape, type WidgetShapeInfo, type WidgetTopicDeclaration, adviceFor, anchoredPosition, audioCaptureSupport, badgeFace, clearAugments, commandFailedSentence, commandFoundSentence, commandGateSentence, commandLossSentence, commandOutcomes, commandRefusalSentence, commandUndeliveredSentence, commandValueMarks, commandWarningSentence, configEqual, createDelayRailStore, createDomainAvailabilityStore, createWheelGesture, declinedState, defaultDarkTheme, derivedMarking, describeAudioInput, describeSendStatus, ephemerisFigureOf, faintText, filterComboboxOptions, flattenComboboxGroups, formatStreamStatus, getAugmentSettings, getAugments, getAugmentsForSlot, getSizeBucket, getWidgetShape, gridFloor, groupComboboxOptions, heldFigureOf, heldGradeOf, heldMarking, heldWord, initialsOf, modelledBeyondReceived, moveComboboxActiveIndex, onAugmentsChange, paintReckonedPosition, paintReckoningMark, paintVesselMark, paintVesselPositions, placeGraphNotice, placePlotReadouts, placedOnScale, plotCrosshairCardBox, plotCrosshairShowsCard, plotLayerExtent, predictedOutcomeOf, railTagKey, reckoningBasisPhrase, registerAugment, repeatsInView, resolveCurrency, resourceColor, ribbonBoundaryX, sayHeld, severityFromStreamStatus, shouldExpandTabs, showsTiny, sizeDeltaFor, splitAtPoleCrossings, standsApart, toInFlightListItems, toneEdge, useActiveHandles, useAllAugmentSettings, useAudioInput, useAugmentAvailable, useAugmentSettings, useCommandControl, useContributions, useContributionsBySlotId, useDelayRailStore, useDomainAvailabilityStore, useElementSize, useModal, useModalChrome, useModalSaveBar, usePanZoom, usePanelAsideSize, usePanelStatusStore, usePrefersReducedMotion, useRailEntry, useRowFilter, useSizeDeltaFor, useSlotBound, useSlotLabel, useStatusBreakdown, useStatusContribution, useStatusSummary, useTooltip, useWheelGesture, useWidgetBadges, useWidgetMeta, useWidgetScope, useWidgetSegmentBound, utOfParts, utXTickFormat, waveformBand, waveformPath, wheelZoomFactor, widgetDeclaredTopics, widgetDrawnFamilies, widgetDrawnFields, withSizeDelta, worstSeverity, wrapPath, writtenAs, writtenQuantity };
|
|
13711
|
+
export { ARM_TIMEOUT_MS, AWAITING_FIRST_SIGNAL, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AnchorPoint, type AnchoredPosition, AntiNormalIcon, AntiTargetIcon, type AnyAugment, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpIcon, type AudioCaptureSupport, type AudioCaptureUnsupportedReason, type AudioInputControls, type AudioInputDevice, type AudioInputFailure, AudioInputPicker, type AudioInputPickerProps, type AudioInputState, type AudioInputStatus, type AugmentSegmentProps, type AugmentSegmentRegistry, type AugmentSettingsContextValue, AugmentSettingsPanel, type AugmentSettingsPanelProps, AugmentSettingsProvider, AugmentSlot, AutoEmptyState, type AutoEmptyStateProps, AvatarStack, type AvatarStackItem, type AvatarStackProps, AwaitingSignal, type AwaitingSignalProps, type AxisScale, Badge, type BadgeFace, type BadgeProps, type BadgeSize, Band, type BandProps, BellIcon, BinormalIcon, Block, type BlockProps, type BlockTitleRowProps, type BoundControlCommand, Box, type BoxPad, type BoxProps, type BoxRadius, type BoxSurface, BroadcastIcon, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonTone, type ButtonVariant, Card, type CardProps, type ChartMark, ChartMarks, type ChartMarksProps, type ChartSeries, type ChartSeriesData, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, Cluster, type ClusterAlign, type ClusterJustify, type ClusterProps, ComboboxListbox, type ComboboxListboxProps, type ComboboxOption, type CommandButtonHandle, type CommandButtonPhase, type CommandButtonSize, type CommandButtonTone, type CommandControlState, CommandDelay, type CommandDelayHandle, type CommandDelayProps, type CommandFailedEntry, type CommandFailedLike, type CommandFoundEntry, type CommandFoundLike, type CommandGateLike, type CommandHandle, type CommandInput, CommandList, type CommandListKind, type CommandListProps, type CommandLossEntry, type CommandLossLike, type CommandOutcomes, type CommandRefusalEntry, type CommandRefusalLike, type CommandReplyLike, type CommandToggle, type CommandUndeliveredEntry, type CommandUndeliveredLike, type CommandWarningEntry, type CommandWarningLike, type CommandedButtonProps, type CommandedMissionDateFieldProps, CommandedPaddle, type CommandedPaddleProps, type CommandedSelectProps, type CommandedStepperProps, type CommandedSwitchProps, type CommandedTextFieldProps, type CommandedToggleProps, ComposerBar, type ComposerBarProps, ComputerIcon, ConfigForm, Console, type ConsoleProps, type ConsoleTone, ContainerBreak, type ContainerBreakProps, type ContributedEntries, Contribution, type ContributionProps, type ContributionSlotEntry, ContributionsPanelStore, ContributionsProvider, ControlDelayStream, type ControlDelayStreamProps, type ControlDelayStreamVariant, type ControlRibbonDatum, type ControlStreamDatum, type ControlStreamSample, Countdown, type CountdownProps, type CurrencyOptions, DataKeyPicker, type DataKeyPickerProps, DataLine, DataLineGroup, type DataLineProps, DataTable, type DataTableColumn, type DataTableColumnBase, type DataTableProps, type DataTableSection, DatabaseIcon, DeclinedEmptyState, DefaultThemeProvider, DelayRailContext, DelayRailProvider, DeleteIcon, DiagnosticsIcon, Dial, type DialProps, type DialTick, type DialZone, Disclosure, type DisclosureProps, DivergingBar, type DivergingBarProps, Divider, type DividerProps, DomainAvailabilityContext, DomainAvailabilityProvider, type DomainAvailabilityStore, type DrawnPrecision, type EdgeCue, type EdgeCueTone, type ElementSize, EmptyState, type EmptyStateLayout, type EmptyStateProps, type EphemerisFigure, ExpandableText, type ExpandableTextProps, FAINT_TEXT_STYLE, FRAMEWORK_AUGMENT_SEGMENTS, FRAMEWORK_CONTRIBUTION_SEGMENTS, Field, FieldHint, FieldLabel, FieldRow, type FillQuantity, FilterChip, type FilterChipProps, type FilterGroup, type FilterGroupItem, FilterList, type FilterListProps, FilterRegion, type FilterRegionProps, type FilterRow, FitLabelButton, type FitLabelButtonProps, Floating, type FloatingProps, FlowChevrons, type FlowChevronsProps, FormActions, FormatQuantityOptions, FormatsFor, FormatsForKind, FramedDisplay, type FramedDisplayProps, type FramedDisplayShape, FrenetNormalIcon, FullHeightIcon, FullWidthIcon, FullscreenEnterIcon, FullscreenExitIcon, type GapToken, Graph, GraphNotice, type GraphNoticePlacement, type GraphNoticeProps, type GraphNoticeSpace, type GraphProps, type GraphThreshold, Grid, type GridAlign, type GridProps, GripIcon, type GroundPoint, GroundStationIcon, GroupedFilterList, type GroupedFilterListProps, HalfHeightIcon, HalfWidthIcon, HeartIcon, HeldFigure, type HeldFigureProps, HelmetIcon, HelmetVisorUpIcon, HistoryIcon, HomeIcon, HoverAction, type HoverActionProps, HoverCard, type HoverCardProps, INTERVAL_DASH, IconButton, type IconButtonMark, type IconButtonProps, type IconProps, type InFlightCommandLike, InFlightList, type InFlightListDensity, type InFlightListItem, type InFlightListMode, type InFlightListProps, InfoIcon, Inline, type InlineProps, Input, type InsetToken, InstrumentHeldMark, JogWheel, type JogWheelCommandedCommon, type JogWheelCommon, type JogWheelProps, JoystickIcon, Kbd, type KeyOption, KindOfGroup, KitIcon, LampIcon, LampOffIcon, LayersIcon, LevelBars, type LevelBarsProps, type LimitSide, LiveRegion, type LiveRegionProps, LockIcon, LockMark, type LockMarkProps, LockScope, type LockScopeProps, type LockSummary, MARKER_ICONS, MARKER_IDS, ManeuverIcon, MapLegend, MapLegendKey, type MapLegendKeyProps, type MarkKind, MarkedIconButton, type MarkedIconButtonProps, type MarkedSliderProps, type MarkerIconProps, type MarkerId, MenuIcon, Meter, type MeterLayout, type MeterProps, MeterRowGroup, MeterStack, MicroscopeIcon, MissionDate, MissionDateField, type MissionDateFieldBaseProps, type MissionDateFieldProps, type MissionDateParts, type MissionDateProps, ModalChromeContext, type ModalChromeValue, type ModalContextValue, type ModalOpenOptions, ModalProvider, type ModalSaveBarOptions, ModelledAlongside, type ModelledFigureAlongsideProps, type ModelledQuantityAlongsideProps, MoreIcon, MutedIcon, NoHoverOnly, type NoHoverOnlyProps, NormalIcon, Notice, type NoticeProps, NullValue, ObjectiveGlyph, type ObjectiveGlyphState, ObjectiveRow, type ObjectiveRowProps, PREDICTED_LAYER_OPACITY, Paddle, type PaddleOption, type PaddleProps, type PaintReckoningMarkOptions, type PaintVesselMarkOptions, type PanZoomCamera, PanZoomViewport, type PanZoomViewportProps, Panel, type PanelAsideSize, type PanelBadge, PanelBadgesProvider, type PanelInactiveReason, type PanelProps, type PanelSidebarPlacement, type PanelSidebarSide, type PanelStatusStore, PanelStatusStoreProvider, type PanelTitleProps, ParallelMinusIcon, ParallelPlusIcon, PauseIcon, PencilIcon, Pips, type PipsProps, type PlainAdvice, type PlainMissionDateFieldProps, PlanIcon, PlayIcon, PlotCrosshair, type PlotCrosshairProps, type PlotCrosshairRow, type PlotReadoutPlacement, type PlotReadoutSpace, PlusIcon, type PredictedOutcome, type PresentPoint, PresentableAs, PresentableAsKind, ProgradeIcon, PullDownIcon, PushUpIcon, RANGE_MARK, RECKONING_MARK, REFUSAL_TIMEOUT_MS, RETIRED_SLOT_IDS, RadialInIcon, RadialOutIcon, type RailEntry, type RailFailed, type RailFound, type RailLoss, type RailRefusal, type RailUndelivered, type RailWarning, type RateControl, ReadFrameControl, type ReadFrameControlProps, type ReadFrameOption, ReadOnlyField, type ReadOnlyFieldProps, type ReadOnlyFieldValue, Readout, ReadoutCaption, type ReadoutProps, type ReadoutRoom, type ReadoutSize, RecallIcon, type ReckonedPosition, ReckonedUnit, type ReckoningKind, ReckoningMark, ReckoningMarkSvg, type ReckoningMarking, type ReferenceCurve, RelativeMinusIcon, RelativePlusIcon, ReorderItem, type ReorderItemProps, ReservedLines, type ReservedLinesProps, ReservedText, type ReservedTextProps, type Resolved, ResourceFlowRow, type ResourceFlowRowProps, ResourceTransferPicker, type ResourceTransferPickerProps, RetrogradeIcon, RocketIcon, RotateAnticlockwiseIcon, RotateClockwiseIcon, Row, type RowFilter, RowName, type RowProps, SENT_FLASH_MS, STREAM_DOWN_TIP, STREAM_MIN_DELAY_SECONDS, SatelliteIcon, SaveIcon, ScrollArea, type ScrollAreaProps, SearchBox, type SearchBoxProps, Section, type SectionProps, SectionTitle, Select, SelectableRow, type SelectableRowProps, SendIcon, type SeriesType, SettingsIcon, type Severity, type SharedFormat, SignalDelayBadge, type SignalDelayBadgeProps, type SizeBucket, type SlidableRange, Slider, type SliderProps, Sparkline, type SparklineProps, SpeakerIcon, Spinner, type SpinnerProps, SpokenAs, type SpokenAsProps, Stack, type StackProps, StarIcon, Stat, StatContributions, type StatContributionsProps, type StatProps, type StaticElement, type StatusBreakdownEntry, type StatusContribution, StatusIndicator, type StatusIndicatorProps, type StatusSummary, Stepper, type StepperBaseProps, type StepperMarks, type StepperProps, type StepperSteps, StopIcon, StreamStatusBadge, type StreamStatusBadgeProps, SubjectHeading, type SubjectHeadingProps, SuggestField, type SuggestFieldProps, Switch, type SwitchBaseProps, type SwitchProps, TABS_PANEL_MIN_WIDTH, TINY_BELOW, TONE_LABEL, TONE_MARK, TONE_ON_STATUS, TONE_STATUS, TONE_TEXT, type TabDescriptor, Tabs, type TabsProps, Tag, type TagProps, TangentIcon, Tape, type TapeMarker, type TapeProps, type TapeZone, TargetIcon, Text, TextButton, TextField, type TextFieldBaseProps, type TextFieldProps, type TextLevel, type TextProps, type TextSize, type TextWeight, Textarea, type ThresholdKind, type TimeContext, TinyEssentials, type TinyEssentialsProps, ToggleButton, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonTone, type ToggleState, Tooltip, type TooltipAnchorProps, type TooltipProps, Truncate, UiKitThemeProvider, type UiKitThemeProviderProps, type UiResourceTransferModel, UnframedGraph, type UnframedGraphProps, Unit, UnitGroupKey, type UnitGroupPins, UnitInput, type UnitInputProps, type UnitPins, type UnitPinsByGroup, type UnitProps, UnitSharedFormat, type UnitSharedFormatMixedProps, type UnitSharedFormatProps, type UnitValue, type UseAudioInputOptions, type UseCommandControlOptions, type UsePanZoomOptions, type UsePanZoomResult, type UseRowFilterOptions, type UseTooltipResult, VESSEL_MARK, type VesselMarkState, VesselMarkSvg, type VesselMarkSvgProps, type VesselPositions, VisuallyHidden, WAVE_HALF_H, WAVE_MID_Y, type WaveBlock, type WheelGesture, type WheelGestureOptions, type WheelOwner, type WheelZoomHandler, WidgetMetaContext, type WidgetMetaContextValue, WidgetScopeProvider, type WidgetShape, type WidgetShapeInfo, type WidgetTopicDeclaration, adviceFor, anchoredPosition, audioCaptureSupport, badgeFace, clearAugments, commandFailedSentence, commandFoundSentence, commandGateSentence, commandLossSentence, commandOutcomes, commandRefusalSentence, commandUndeliveredSentence, commandValueMarks, commandWarningSentence, configEqual, createDelayRailStore, createDomainAvailabilityStore, createWheelGesture, declinedState, defaultDarkTheme, derivedMarking, describeAudioInput, describeSendStatus, ephemerisFigureOf, faintText, filterComboboxOptions, flattenComboboxGroups, formatStreamStatus, getAugmentSettings, getAugments, getAugmentsForSlot, getSizeBucket, getWidgetShape, gridFloor, groupComboboxOptions, heldFigureOf, heldGradeOf, heldMarking, heldWord, initialsOf, modelledBeyondReceived, moveComboboxActiveIndex, onAugmentsChange, paintReckonedPosition, paintReckoningMark, paintVesselMark, paintVesselPositions, placeGraphNotice, placePlotReadouts, placedOnScale, plotCrosshairCardBox, plotCrosshairShowsCard, plotLayerExtent, predictedOutcomeOf, railTagKey, rangePart, reckoningBasisPhrase, registerAugment, repeatsInView, resolveCurrency, resourceColor, ribbonBoundaryX, sayHeld, severityFromStreamStatus, shouldExpandTabs, showsTiny, sizeDeltaFor, splitAtPoleCrossings, standsApart, toInFlightListItems, toneEdge, useActiveHandles, useAllAugmentSettings, useAudioInput, useAugmentAvailable, useAugmentSettings, useCommandControl, useContributions, useContributionsBySlotId, useDelayRailStore, useDomainAvailabilityStore, useElementSize, useModal, useModalChrome, useModalSaveBar, usePanZoom, usePanelAsideSize, usePanelStatusStore, usePrefersReducedMotion, useRailEntry, useRowFilter, useSizeDeltaFor, useSlotBound, useSlotLabel, useStatusBreakdown, useStatusContribution, useStatusSummary, useTooltip, useWheelGesture, useWidgetBadges, useWidgetMeta, useWidgetScope, useWidgetSegmentBound, utOfParts, utXTickFormat, waveformBand, waveformPath, wheelZoomFactor, widgetDeclaredTopics, widgetDrawnFamilies, widgetDrawnFields, withSizeDelta, worstSeverity, wrapPath, wrapPathInView, writtenAs, writtenQuantity };
|