@knpkv/rly 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -3
- package/dist/{Dialog-B9Ub_gMT.js → Dialog-CU66FqWD.js} +325 -257
- package/dist/Dialog-CU66FqWD.js.map +1 -0
- package/dist/{PortalProvider-CN_81Fy3.js → PortalProvider-op07u8na.js} +20 -18
- package/dist/PortalProvider-op07u8na.js.map +1 -0
- package/dist/components.css +1 -1
- package/dist/dts/foundations/Icon.d.ts +1 -1
- package/dist/dts/foundations/Icon.d.ts.map +1 -1
- package/dist/dts/internal/composedFocus.d.ts +11 -0
- package/dist/dts/internal/composedFocus.d.ts.map +1 -0
- package/dist/dts/internal/relaySummon.d.ts +50 -0
- package/dist/dts/internal/relaySummon.d.ts.map +1 -0
- package/dist/dts/patterns/RelayComposer.d.ts +65 -0
- package/dist/dts/patterns/RelayComposer.d.ts.map +1 -0
- package/dist/dts/patterns/RelayDock.d.ts.map +1 -1
- package/dist/dts/patterns/RelayLauncher.d.ts +32 -1
- package/dist/dts/patterns/RelayLauncher.d.ts.map +1 -1
- package/dist/dts/patterns/RelayPanel.d.ts +91 -0
- package/dist/dts/patterns/RelayPanel.d.ts.map +1 -0
- package/dist/dts/patterns/index.d.ts +6 -2
- package/dist/dts/patterns/index.d.ts.map +1 -1
- package/dist/dts/tokens/fonts.d.ts +13 -0
- package/dist/dts/tokens/fonts.d.ts.map +1 -0
- package/dist/dts/tokens/index.d.ts +2 -0
- package/dist/dts/tokens/index.d.ts.map +1 -1
- package/dist/fonts.css +7 -2
- package/dist/foundations/index.js +1 -1
- package/dist/index.js +6 -6
- package/dist/patterns/index.js +2 -2
- package/dist/{patterns-ChmGSFqO.js → patterns-CDBnXTUD.js} +1705 -1280
- package/dist/patterns-CDBnXTUD.js.map +1 -0
- package/dist/primitives/index.js +3 -3
- package/dist/{primitives-Bd6WhE78.js → primitives-DgQybTyq.js} +254 -322
- package/dist/primitives-DgQybTyq.js.map +1 -0
- package/dist/tokens/index.js +2 -2
- package/dist/{tokens-B075JP3Z.js → tokens-Cf0jXIRg.js} +14 -8
- package/dist/tokens-Cf0jXIRg.js.map +1 -0
- package/package.json +1 -1
- package/registry/components.json +206 -1
- package/registry/search.json +45 -0
- package/dist/Dialog-B9Ub_gMT.js.map +0 -1
- package/dist/PortalProvider-CN_81Fy3.js.map +0 -1
- package/dist/patterns-ChmGSFqO.js.map +0 -1
- package/dist/primitives-Bd6WhE78.js.map +0 -1
- package/dist/tokens-B075JP3Z.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
/** Stable, presentation-only glyph names supported by rly. */
|
|
3
|
-
export declare const RLY_ICON_NAMES: readonly ["arrow-down", "arrow-left", "arrow-right", "arrow-up", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "alert", "clock", "external-link", "file", "link", "loader", "menu", "minus", "plus", "search", "user", "close"];
|
|
3
|
+
export declare const RLY_ICON_NAMES: readonly ["arrow-down", "arrow-left", "arrow-right", "arrow-up", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "alert", "clock", "external-link", "file", "link", "loader", "menu", "minus", "plus", "search", "user", "close", "pin"];
|
|
4
4
|
/** A stable glyph name owned by rly rather than its icon implementation. */
|
|
5
5
|
export type RlyIconName = (typeof RLY_ICON_NAMES)[number];
|
|
6
6
|
/** Machine-readable icon size variants. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/foundations/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAY,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/foundations/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAY,MAAM,OAAO,CAAA;AA6BlE,8DAA8D;A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asShadowRootHost: (value: Node) => value is ShadowRootHost;
|
|
5
|
+
export declare const activeElementFor: (panel: HTMLElement) => Element | null;
|
|
6
|
+
export declare const composedParentFor: (node: Node, composedParents?: ReadonlyMap<Node, Node | null>) => Element | null;
|
|
7
|
+
export declare const isWithinComposedElement: (ancestor: Element, descendant: Node | null, composedParents?: ReadonlyMap<Node, Node | null>) => boolean;
|
|
8
|
+
export declare const isWithinPanel: (panel: HTMLElement, active: Element | null) => boolean;
|
|
9
|
+
export declare const focusRestoreTarget: (ownerDocument: Document) => HTMLElement | null;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=composedFocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composedFocus.d.ts","sourceRoot":"","sources":["../../../src/internal/composedFocus.ts"],"names":[],"mappings":"AAMA,UAAU,cAAe,SAAQ,IAAI;IACnC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,iBAAiB,UAAW,IAAI,KAAG,KAAK,IAAI,cACC,CAAA;AAS1D,eAAO,MAAM,gBAAgB,UAAW,WAAW,KAAG,OAAO,GAAG,IAG/D,CAAA;AAgBD,eAAO,MAAM,iBAAiB,SAAU,IAAI,oBAAoB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,KAAG,OAAO,GAAG,IAO1G,CAAA;AAED,eAAO,MAAM,uBAAuB,aACxB,OAAO,cACL,IAAI,GAAG,IAAI,oBACL,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,KAC/C,OAaF,CAAA;AAED,eAAO,MAAM,aAAa,UAAW,WAAW,UAAU,OAAO,GAAG,IAAI,KAAG,OACnC,CAAA;AAQxC,eAAO,MAAM,kBAAkB,kBAAmB,QAAQ,KAAG,WAAW,GAAG,IAG1E,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/** A key the summon machine listens for: the bound chord (Ctrl/⌘+J) or Escape. */
|
|
2
|
+
export type RelaySummonKey = "chord" | "escape";
|
|
3
|
+
/** What the machine needs to know at the moment a key arrives. */
|
|
4
|
+
export interface RelaySummonContext {
|
|
5
|
+
readonly open: boolean;
|
|
6
|
+
/** Focus is inside the Relay region. */
|
|
7
|
+
readonly focusInRelay: boolean;
|
|
8
|
+
/** Relay is a full-screen dialog (phone), where the chord and Escape both close it. */
|
|
9
|
+
readonly fullscreen: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* What a key does (Relay UX decision): closed → Open (focus the composer); open with focus on the page →
|
|
13
|
+
* FocusComposer; open with focus in Relay → ReturnFocus (back to where you were, Relay stays open);
|
|
14
|
+
* full screen, the chord closes. Escape closes when focus is in Relay or Relay is full screen, and is
|
|
15
|
+
* left to the page otherwise. Ignore means the event is not handled and must not be prevented.
|
|
16
|
+
*/
|
|
17
|
+
export type RelaySummonEffect = "Open" | "FocusComposer" | "ReturnFocus" | "Close" | "Ignore";
|
|
18
|
+
export declare const relaySummonTransition: (context: RelaySummonContext, key: RelaySummonKey) => RelaySummonEffect;
|
|
19
|
+
/** The parts of a keyboard event the summon reads. */
|
|
20
|
+
export interface RelaySummonKeyEvent {
|
|
21
|
+
readonly altKey: boolean;
|
|
22
|
+
readonly code: string;
|
|
23
|
+
readonly ctrlKey: boolean;
|
|
24
|
+
readonly isComposing: boolean;
|
|
25
|
+
readonly key: string;
|
|
26
|
+
/** Deprecated, but 229 is still how some browsers mark a key that belongs to an IME. */
|
|
27
|
+
readonly keyCode: number;
|
|
28
|
+
readonly metaKey: boolean;
|
|
29
|
+
readonly repeat: boolean;
|
|
30
|
+
readonly shiftKey: boolean;
|
|
31
|
+
}
|
|
32
|
+
/** A key that belongs to an IME composition; Escape there cancels the composition, never Relay. */
|
|
33
|
+
export declare const isImeKey: (event: RelaySummonKeyEvent) => boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether an event is exactly the shortcut's ARIA keys ("Control+J", "Meta+J"): the named modifiers and
|
|
36
|
+
* no others, so Ctrl+Shift+J, Alt chords, an IME composition or a held key's repeats never match. A
|
|
37
|
+
* Latin layout matches the letter the user sees (Dvorak, AZERTY); a non-Latin one (Russian, Greek), where
|
|
38
|
+
* the key is no ASCII letter, matches the physical key instead.
|
|
39
|
+
*/
|
|
40
|
+
export declare const matchesShortcutKeys: (keys: string, event: RelaySummonKeyEvent) => boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether a key event belongs to a layer nested in or opened from Relay: a dialog, a listbox or menu
|
|
43
|
+
* while it is an open popup (Radix's data-state, or the target of an expanded aria-controls), or an
|
|
44
|
+
* expanded popup controller inside Relay that keeps focus while its popup is open (a combobox). It reads
|
|
45
|
+
* the event's composed path up to Relay's region, so layers inside shadow roots and layers portaled out
|
|
46
|
+
* of Relay (whose path never reaches the region) count. Relay's own surface, marked
|
|
47
|
+
* data-rly-relay-surface (the full-screen dialog), and always-rendered lists never count.
|
|
48
|
+
*/
|
|
49
|
+
export declare const hasNestedLayer: (region: HTMLElement | null, path: ReadonlyArray<EventTarget>) => boolean;
|
|
50
|
+
//# sourceMappingURL=relaySummon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relaySummon.d.ts","sourceRoot":"","sources":["../../../src/internal/relaySummon.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE/C,kEAAkE;AAClE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,wCAAwC;IACxC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,uFAAuF;IACvF,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;CAC7B;AAED;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,eAAe,GAAG,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE7F,eAAO,MAAM,qBAAqB,YAAa,kBAAkB,OAAO,cAAc,KAAG,iBAKxF,CAAA;AAED,sDAAsD;AACtD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,wFAAwF;IACxF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC3B;AAED,mGAAmG;AACnG,eAAO,MAAM,QAAQ,UAAW,mBAAmB,KAAG,OAAqD,CAAA;AAI3G;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,SAAU,MAAM,SAAS,mBAAmB,KAAG,OAe9E,CAAA;AAKD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,WAAY,WAAW,GAAG,IAAI,QAAQ,aAAa,CAAC,WAAW,CAAC,KAAG,OAU7F,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode, Ref } from "react";
|
|
2
|
+
/** Something the message is about, shown as a removable chip ("patch-reader.ts lines 14 to 19"). */
|
|
3
|
+
export interface RlyRelayContextRef {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly label: string;
|
|
6
|
+
}
|
|
7
|
+
/** One accepted-message request: the text and the client request id a retry must reuse. */
|
|
8
|
+
export interface RlyRelaySubmission {
|
|
9
|
+
readonly requestId: string;
|
|
10
|
+
readonly text: string;
|
|
11
|
+
}
|
|
12
|
+
/** Inputs for the composer. */
|
|
13
|
+
export interface RelayComposerProps {
|
|
14
|
+
/** Why Send is unavailable (a run in flight); shown, and announced with Send. */
|
|
15
|
+
readonly busyReason?: string | undefined;
|
|
16
|
+
readonly contextRefs?: ReadonlyArray<RlyRelayContextRef>;
|
|
17
|
+
/** The textarea's name, "Message Relay" unless the host names it. */
|
|
18
|
+
readonly label?: string;
|
|
19
|
+
readonly onRemoveContextRef?: (id: string) => void;
|
|
20
|
+
/** Called with Ctrl/⌘+Enter or Send when there is text and nothing blocks it. */
|
|
21
|
+
readonly onSend: () => void;
|
|
22
|
+
/** Stop the run; pass it only while a run is in flight and the session offers cancel. */
|
|
23
|
+
readonly onStop?: (() => void) | undefined;
|
|
24
|
+
readonly onValueChange: (value: string) => void;
|
|
25
|
+
readonly placeholder?: string;
|
|
26
|
+
/** One run preset control, usually a menu trigger ("Thorough review, Codex"). */
|
|
27
|
+
readonly preset?: ReactNode;
|
|
28
|
+
/** The textarea, for useRelaySummon's composerRef. */
|
|
29
|
+
readonly ref?: Ref<HTMLTextAreaElement>;
|
|
30
|
+
readonly value: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Relay's message box (Relay UX decision). It grows with its text up to min(12 lines, 40% of the
|
|
34
|
+
* viewport), then scrolls. Enter is a newline and Ctrl/⌘+Enter sends, said as visible text beside Send;
|
|
35
|
+
* an IME composition never sends. While `busyReason` is set, Send stays focusable (aria-disabled) so
|
|
36
|
+
* its reason is heard, and pressing it does nothing. Keep the value with `useRelayDraft`, keyed by the
|
|
37
|
+
* object Relay is about, so it survives closing, reopening and resizing.
|
|
38
|
+
*/
|
|
39
|
+
export declare const RelayComposer: ({ busyReason, contextRefs, label, onRemoveContextRef, onSend, onStop, onValueChange, placeholder, preset, ref, value }: RelayComposerProps) => ReactElement;
|
|
40
|
+
/** A per-object draft: the value for the composer and the submission a send makes. */
|
|
41
|
+
export interface RlyRelayDraft {
|
|
42
|
+
/** The request with this id was accepted: clear the draft, unless the user has typed since. */
|
|
43
|
+
readonly accepted: (requestId: string) => void;
|
|
44
|
+
readonly onValueChange: (value: string) => void;
|
|
45
|
+
/** The current text with a request id that stays the same until the text changes or is accepted. */
|
|
46
|
+
readonly submission: () => RlyRelaySubmission;
|
|
47
|
+
readonly value: string;
|
|
48
|
+
}
|
|
49
|
+
/** Storage a draft may survive a reload in; session storage, never local storage (drafts may be sensitive). */
|
|
50
|
+
export type RlyRelayDraftStorage = Pick<Storage, "getItem" | "removeItem" | "setItem">;
|
|
51
|
+
/** Inputs for {@link useRelayDraft}. */
|
|
52
|
+
export interface UseRelayDraftOptions {
|
|
53
|
+
/** Mints a client request id (the host's own, e.g. a UUID from its runtime); rly owns no id source. */
|
|
54
|
+
readonly newRequestId: () => string;
|
|
55
|
+
/** Opt in to surviving a reload; read lazily, and any refusal keeps the draft in memory only. */
|
|
56
|
+
readonly storage?: () => RlyRelayDraftStorage;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The composer's draft for one object (the JSON ObjectRef, so PR A's draft can never send as PR B's).
|
|
60
|
+
* It lives in memory for the page, so closing, reopening or resizing Relay keeps it; with `storage`
|
|
61
|
+
* (session storage) it also survives a reload. A send reuses one request id until the text is edited,
|
|
62
|
+
* so a retry after an uncertain outcome is deduplicated and an edited message is a new one.
|
|
63
|
+
*/
|
|
64
|
+
export declare const useRelayDraft: (objectKey: string, options: UseRelayDraftOptions) => RlyRelayDraft;
|
|
65
|
+
//# sourceMappingURL=RelayComposer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelayComposer.d.ts","sourceRoot":"","sources":["../../../src/patterns/RelayComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoD,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAY3G,oGAAoG;AACpG,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,2FAA2F;AAC3F,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,SA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CAAA;IAC7C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,+GAA+G;AAC/G,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,CAAC,CAAA;AAEtF,wCAAwC;AACxC,MAAM,WAAW,oBAAoB;IACnC,uGAAuG;IACvG,QAAQ,CAAC,YAAY,EAAE,MAAM,MAAM,CAAA;IACnC,iGAAiG;IACjG,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,oBAAoB,CAAA;CAC9C;AAqDD;;;;;GAKG;AACH,eAAO,MAAM,aAAa,cAAe,MAAM,WAAW,oBAAoB,KAAG,aAsDhF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelayDock.d.ts","sourceRoot":"","sources":["../../../src/patterns/RelayDock.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE1B,KAAK,YAAY,EACjB,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"RelayDock.d.ts","sourceRoot":"","sources":["../../../src/patterns/RelayDock.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE1B,KAAK,YAAY,EACjB,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;AA0Bd,OAAO,EAAU,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAwWtE,4FAA4F;AAC5F,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,8EAA8E;AAC9E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAA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CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC3F,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,uBAAuB,CAAC,CAAA;IACxD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,mBAAmB,CAAC,EAAE,+BAA+B,CAAA;IAC9D,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAA;IAC3B,QAAQ,CAAC,SAAS,EAAE,qBAAqB,CAAA;IACzC,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAA;IACjC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED,KAAK,wBAAwB,GAAG,kBAAkB,GAAG;IACnD,QAAQ,CAAC,WAAW,CAAC,EAAE,KAAK,CAAA;IAC5B,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,KAAK,qBAAqB,GAAG,kBAAkB,GAAG;IAChD,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC/C,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CACtB,CAAA;AAED,yEAAyE;AACzE,MAAM,MAAM,cAAc,GAAG,wBAAwB,GAAG,qBAAqB,CAAA;AAuW7E;;;GAGG;AACH,eAAO,MAAM,SAAS,mBAAoB,cAAc,KAAG,YAoG1D,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentPropsWithRef, ReactElement } from "react";
|
|
1
|
+
import type { ComponentPropsWithRef, ReactElement, RefCallback, RefObject } from "react";
|
|
2
2
|
/** The keyboard shortcut a launcher advertises: the visible hint and its `aria-keyshortcuts` value. */
|
|
3
3
|
export interface RlyRelayShortcut {
|
|
4
4
|
/** Shown beside the label on wider screens, for example "⌘J" or "Ctrl J". */
|
|
@@ -14,6 +14,37 @@ export declare const relayShortcut: (apple: boolean) => RlyRelayShortcut;
|
|
|
14
14
|
* key must also prevent the browser's own Ctrl+J (Downloads in Chrome on Windows and Linux).
|
|
15
15
|
*/
|
|
16
16
|
export declare const useRelayShortcut: () => RlyRelayShortcut;
|
|
17
|
+
/** Inputs for {@link useRelaySummon}. */
|
|
18
|
+
export interface UseRelaySummonOptions {
|
|
19
|
+
readonly open: boolean;
|
|
20
|
+
readonly onOpenChange: (open: boolean) => void;
|
|
21
|
+
/** Relay is the full-screen dialog (phone): the shortcut closes it. */
|
|
22
|
+
readonly fullscreen: boolean;
|
|
23
|
+
/** The launcher: where focus returns when the element Relay was summoned from is gone. */
|
|
24
|
+
readonly launcher: RefObject<HTMLElement | null>;
|
|
25
|
+
/**
|
|
26
|
+
* The shortcut to listen for, the same value the launcher advertises; `null` while the host's own
|
|
27
|
+
* surface owns the key (a live terminal). Escape inside Relay keeps working either way.
|
|
28
|
+
*/
|
|
29
|
+
readonly shortcut: RlyRelayShortcut | null;
|
|
30
|
+
}
|
|
31
|
+
/** Refs a host attaches so the summon knows Relay's region and composer. */
|
|
32
|
+
export interface RlyRelaySummon {
|
|
33
|
+
/** Attach to the composer; a pending summon focuses it as soon as it mounts, however late. */
|
|
34
|
+
readonly composerRef: RefCallback<HTMLElement>;
|
|
35
|
+
/** Attach to Relay's region (RelayPanel's `ref`); focus inside it counts as being in Relay. */
|
|
36
|
+
readonly regionRef: RefCallback<HTMLElement>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Relay's keyboard summon (Relay UX decision). The shortcut opens Relay and focuses the composer; open
|
|
40
|
+
* with focus on the page, it moves focus to the composer; open with focus in Relay, it returns focus to
|
|
41
|
+
* where it came from and Relay stays open; full screen, it closes. Escape closes when focus is in Relay
|
|
42
|
+
* or Relay is full screen, and focus returns once Relay has actually closed (after a modal has released
|
|
43
|
+
* the page). Only the exact chord is handled and prevented, so Ctrl+K, `?`, g-sequences and the browser's
|
|
44
|
+
* other keys pass through. It listens on the launcher's document and on Relay's, if Relay is portaled
|
|
45
|
+
* into another (an iframe).
|
|
46
|
+
*/
|
|
47
|
+
export declare const useRelaySummon: (options: UseRelaySummonOptions) => RlyRelaySummon;
|
|
17
48
|
/** Inputs for the launcher. */
|
|
18
49
|
export type RelayLauncherProps = Omit<ComponentPropsWithRef<"button">, "children" | "type"> & {
|
|
19
50
|
/** Whether Relay is open; announced as the button's expanded state. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelayLauncher.d.ts","sourceRoot":"","sources":["../../../src/patterns/RelayLauncher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"RelayLauncher.d.ts","sourceRoot":"","sources":["../../../src/patterns/RelayLauncher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxF,uGAAuG;AACvG,MAAM,WAAW,gBAAgB;IAC/B,6EAA6E;IAC7E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED,iEAAiE;AACjE,eAAO,MAAM,aAAa,UAAW,OAAO,KAAG,gBACiC,CAAA;AAShF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,QAAO,gBAC+C,CAAA;AAEnF,yCAAyC;AACzC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,uEAAuE;IACvE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,0FAA0F;IAC1F,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IAChD;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAC3C;AAED,4EAA4E;AAC5E,MAAM,WAAW,cAAc;IAC7B,8FAA8F;IAC9F,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;IAC9C,+FAA+F;IAC/F,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;CAC7C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,YAAa,qBAAqB,KAAG,cAmH/D,CAAA;AAWD,+BAA+B;AAC/B,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG;IAC5F,uEAAuE;IACvE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,mFAAmF;IACnF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAC3C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,uDAMvB,kBAAkB,KAAG,YAoBvB,CAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode, Ref, RefObject } from "react";
|
|
2
|
+
/** How Relay is laid out: over the page, pinned beside it, or full screen. */
|
|
3
|
+
export declare const RLY_RELAY_PANEL_PRESENTATIONS: readonly ["overlay", "pinned", "fullscreen"];
|
|
4
|
+
/** One Relay presentation. */
|
|
5
|
+
export type RlyRelayPanelPresentation = (typeof RLY_RELAY_PANEL_PRESENTATIONS)[number];
|
|
6
|
+
/** The overlay's width, and the column a pinned Relay takes, in CSS pixels. */
|
|
7
|
+
export declare const RLY_RELAY_PANEL_WIDTH = 440;
|
|
8
|
+
/** What Relay is looking at: a label and, when it has one, the exact revision (shown in mono). */
|
|
9
|
+
export interface RlyRelayScope {
|
|
10
|
+
readonly label: string;
|
|
11
|
+
readonly revision?: string;
|
|
12
|
+
}
|
|
13
|
+
/** One of Relay's views; a count is part of its name ("Findings 3"), never announced on change. */
|
|
14
|
+
export interface RlyRelayPanelTab {
|
|
15
|
+
readonly content: ReactNode;
|
|
16
|
+
readonly count?: number;
|
|
17
|
+
readonly label: string;
|
|
18
|
+
readonly value: string;
|
|
19
|
+
}
|
|
20
|
+
/** The pin toggle, passed only when the host can pin Relay beside its page at this width. */
|
|
21
|
+
export interface RlyRelayPanelPin {
|
|
22
|
+
readonly onPinnedChange: (pinned: boolean) => void;
|
|
23
|
+
readonly pinned: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface RelayPanelBaseProps {
|
|
26
|
+
/** Status line under the header (freshness of what Relay read); not a live region. */
|
|
27
|
+
readonly freshness?: ReactNode;
|
|
28
|
+
/** Kept on screen under the body: the composer. */
|
|
29
|
+
readonly footer?: ReactNode;
|
|
30
|
+
/** Where focus returns when the panel closes itself (close button, Escape, full-screen dismissal). */
|
|
31
|
+
readonly launcher: RefObject<HTMLElement | null>;
|
|
32
|
+
/**
|
|
33
|
+
* Called by the close button and Escape. Closing hides Relay in every presentation; whether it was
|
|
34
|
+
* pinned is the host's remembered preference, restored when Relay opens again.
|
|
35
|
+
*/
|
|
36
|
+
readonly onClose: () => void;
|
|
37
|
+
/** Thread options, usually one menu trigger. */
|
|
38
|
+
readonly options?: ReactNode;
|
|
39
|
+
readonly pin?: RlyRelayPanelPin | undefined;
|
|
40
|
+
readonly presentation: RlyRelayPanelPresentation;
|
|
41
|
+
/** The panel's region, for useRelaySummon. */
|
|
42
|
+
readonly ref?: Ref<HTMLElement>;
|
|
43
|
+
readonly scope: RlyRelayScope;
|
|
44
|
+
/** The panel's name, "Relay" unless the host names it more specifically. */
|
|
45
|
+
readonly title?: string;
|
|
46
|
+
}
|
|
47
|
+
interface RelayPanelTabsProps extends RelayPanelBaseProps {
|
|
48
|
+
readonly children?: never;
|
|
49
|
+
readonly onTabChange: (value: string) => void;
|
|
50
|
+
readonly selectedTab: string;
|
|
51
|
+
readonly tabs: ReadonlyArray<RlyRelayPanelTab>;
|
|
52
|
+
}
|
|
53
|
+
interface RelayPanelBodyProps extends RelayPanelBaseProps {
|
|
54
|
+
/** A single view (setup, for example), shown without tabs. */
|
|
55
|
+
readonly children: ReactNode;
|
|
56
|
+
readonly onTabChange?: never;
|
|
57
|
+
readonly selectedTab?: never;
|
|
58
|
+
readonly tabs?: never;
|
|
59
|
+
}
|
|
60
|
+
/** Inputs for the panel: tabbed views, or one body. */
|
|
61
|
+
export type RelayPanelProps = RelayPanelTabsProps | RelayPanelBodyProps;
|
|
62
|
+
/**
|
|
63
|
+
* Relay's frame (Relay UX decision). `overlay` floats over the right of the page with no backdrop and no
|
|
64
|
+
* focus trap; render it right after the launcher so Tab order follows. `pinned` is a sticky column for
|
|
65
|
+
* the host's grid. `fullscreen` is a modal dialog with the page inert. Only the body scrolls, so the
|
|
66
|
+
* header and the footer's composer stay on screen. Escape and the close button call `onClose` and return
|
|
67
|
+
* focus to the launcher; Escape is left to an IME composition and to dialogs or open popups inside.
|
|
68
|
+
* Changing presentation remounts the views and footer, so state that must survive (a composer draft)
|
|
69
|
+
* lives with the host or the composer, keyed by the object Relay is about.
|
|
70
|
+
*/
|
|
71
|
+
export declare const RelayPanel: (props: RelayPanelProps) => ReactElement;
|
|
72
|
+
/** Inputs for {@link useRelayPresentation}. */
|
|
73
|
+
export interface UseRelayPresentationOptions {
|
|
74
|
+
/** The user's pin preference, remembered by the host per product and viewport class. */
|
|
75
|
+
readonly pinned: boolean;
|
|
76
|
+
/** The narrowest width the host's own page stays usable at, beside a pinned Relay. */
|
|
77
|
+
readonly minHostWidth: number;
|
|
78
|
+
}
|
|
79
|
+
/** The presentation to render, and whether to offer the pin toggle. */
|
|
80
|
+
export interface RlyRelayPresentation {
|
|
81
|
+
readonly canPin: boolean;
|
|
82
|
+
readonly presentation: RlyRelayPanelPresentation;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The presentation for the viewport (Relay UX decision): full screen at phone width; pinned when the user
|
|
86
|
+
* pinned it and the viewport is wide enough (≥1440 and the host's minimum beside the column); otherwise
|
|
87
|
+
* the overlay. The server renders the overlay. A host may still choose its own presentation.
|
|
88
|
+
*/
|
|
89
|
+
export declare const useRelayPresentation: ({ minHostWidth, pinned }: UseRelayPresentationOptions) => RlyRelayPresentation;
|
|
90
|
+
export {};
|
|
91
|
+
//# sourceMappingURL=RelayPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelayPanel.d.ts","sourceRoot":"","sources":["../../../src/patterns/RelayPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAuC,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAmBzG,8EAA8E;AAC9E,eAAO,MAAM,6BAA6B,EAAE,SAAS,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAItF,CAAA;AACD,8BAA8B;AAC9B,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAA;AAEtF,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAExC,kGAAkG;AAClG,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,mGAAmG;AACnG,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACv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,mBAAmB;IACvD,8DAA8D;IAC9D,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;IAC5B,QAAQ,CAAC,WAAW,CAAC,EAAE,KAAK,CAAA;IAC5B,QAAQ,CAAC,WAAW,CAAC,EAAE,KAAK,CAAA;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CACtB;AAED,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,mBAAmB,CAAA;AAOvE;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,UAAW,eAAe,KAAG,YAmGnD,CAAA;AAsFD,+CAA+C;AAC/C,MAAM,WAAW,2BAA2B;IAC1C,wFAAwF;IACxF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,sFAAsF;IACtF,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAC9B;AAED,uEAAuE;AACvE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAA;CACjD;AAwBD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,6BAA8B,2BAA2B,KAAG,oBAK5F,CAAA"}
|
|
@@ -34,12 +34,16 @@ export { RelationshipChain, RLY_RELATIONSHIP_DIRECTION_PRESENTATION, RLY_RELATIO
|
|
|
34
34
|
export type { RelationshipChainProps, RlyMissingRelationshipEndpoint, RlyPresentRelationshipEndpoint, RlyRelationship, RlyRelationshipDirection, RlyRelationshipEndpoint, RlyRelationshipLifecycle } from "./RelationshipChain.js";
|
|
35
35
|
export { RelationshipTable } from "./RelationshipTable.js";
|
|
36
36
|
export type { RelationshipTableProps } from "./RelationshipTable.js";
|
|
37
|
+
export { RelayComposer, useRelayDraft } from "./RelayComposer.js";
|
|
38
|
+
export type { RelayComposerProps, RlyRelayContextRef, RlyRelayDraft, RlyRelayDraftStorage, RlyRelaySubmission, UseRelayDraftOptions } from "./RelayComposer.js";
|
|
37
39
|
export { RelayDock } from "./RelayDock.js";
|
|
38
40
|
export type { RelayDockProps, RlyRelayDockContextChip, RlyRelayDockDesktopPresentation, RlyRelayDockSelection, RlyRelayDockSelectionControl, RlyRelayDockState } from "./RelayDock.js";
|
|
39
|
-
export { RelayLauncher, relayShortcut, useRelayShortcut } from "./RelayLauncher.js";
|
|
40
|
-
export type { RelayLauncherProps, RlyRelayShortcut } from "./RelayLauncher.js";
|
|
41
|
+
export { RelayLauncher, relayShortcut, useRelayShortcut, useRelaySummon } from "./RelayLauncher.js";
|
|
42
|
+
export type { RelayLauncherProps, RlyRelayShortcut, RlyRelaySummon, UseRelaySummonOptions } from "./RelayLauncher.js";
|
|
41
43
|
export { RelayMark, RLY_RELAY_MARK_SIZES, RLY_RELAY_MARK_TILE_SIZES } from "./RelayMark.js";
|
|
42
44
|
export type { RelayMarkProps, RelayMarkTileProps, RlyRelayMarkSize, RlyRelayMarkTileSize } from "./RelayMark.js";
|
|
45
|
+
export { RelayPanel, RLY_RELAY_PANEL_PRESENTATIONS, RLY_RELAY_PANEL_WIDTH, useRelayPresentation } from "./RelayPanel.js";
|
|
46
|
+
export type { RelayPanelProps, RlyRelayPanelPin, RlyRelayPanelPresentation, RlyRelayPanelTab, RlyRelayPresentation, RlyRelayScope, UseRelayPresentationOptions } from "./RelayPanel.js";
|
|
43
47
|
export { ReleasePreview } from "./ReleasePreview.js";
|
|
44
48
|
export type { ReleasePreviewProps, RlyReleasePreviewPresentation } from "./ReleasePreview.js";
|
|
45
49
|
export { ReleaseRelay, RLY_RELEASE_RELAY_DEFAULT_VARIANTS, RLY_RELEASE_RELAY_SYMBOLS, RLY_RELEASE_RELAY_VARIANTS } from "./ReleaseRelay.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,YAA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AAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACrE,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,EAC1B,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC5D,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,EAC1B,gBAAgB,EACjB,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** One web font rly's styles.css loads: its CSS family and the woff2 file a shell preloads. */
|
|
2
|
+
export interface RlyFontFace {
|
|
3
|
+
readonly family: string;
|
|
4
|
+
readonly file: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Every web font rly's styles.css loads, as Fontsource names the files. The faces use
|
|
8
|
+
* `font-display: optional`, so a shell must preload each of these files (from its own origin, with
|
|
9
|
+
* `crossorigin`) for Geist to render on first load; otherwise the metric-matched fallback stays for
|
|
10
|
+
* that page view and nothing swaps. Shells read this list instead of hardcoding file names.
|
|
11
|
+
*/
|
|
12
|
+
export declare const RLY_FONT_FACES: readonly [RlyFontFace, RlyFontFace];
|
|
13
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../src/tokens/fonts.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,CAAC,WAAW,EAAE,WAAW,CAG9D,CAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { RLY_FONT_FACES } from "./fonts.js";
|
|
2
|
+
export type { RlyFontFace } from "./fonts.js";
|
|
1
3
|
export { RLY_COLOR_TOKEN_NAMES, RLY_CONTROL_HEIGHT_TOKEN_NAMES, RLY_MOTION_TOKEN_NAMES, RLY_RADIUS_TOKEN_NAMES, RLY_SPACE_TOKEN_NAMES, RLY_TYPE_TOKEN_NAMES } from "./semantic-tokens.js";
|
|
2
4
|
export type { RlyColorToken, RlyControlHeightToken, RlyMotionToken, RlyRadiusToken, RlySpaceToken, RlyTypeToken } from "./semantic-tokens.js";
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tokens/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAC7B,YAAY,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,aAAa,EACb,YAAY,EACb,MAAM,sBAAsB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tokens/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAC7B,YAAY,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,aAAa,EACb,YAAY,EACb,MAAM,sBAAsB,CAAA"}
|
package/dist/fonts.css
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* optional: a preloaded face (served from the shell's origin) is ready within the short block period and
|
|
3
|
+
* renders from first paint; a face that is late stays on the metric-matched fallback for this page
|
|
4
|
+
* view, so text never swaps and never shifts. Shells preload every face in RLY_FONT_FACES.
|
|
5
|
+
*/
|
|
1
6
|
@font-face {
|
|
2
|
-
font-display:
|
|
7
|
+
font-display: optional;
|
|
3
8
|
font-family: "Geist Variable";
|
|
4
9
|
font-style: normal;
|
|
5
10
|
font-weight: 100 900;
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
}
|
|
8
13
|
|
|
9
14
|
@font-face {
|
|
10
|
-
font-display:
|
|
15
|
+
font-display: optional;
|
|
11
16
|
font-family: "Geist Mono Variable";
|
|
12
17
|
font-style: normal;
|
|
13
18
|
font-weight: 100 900;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as e, i as t, n, o as r, r as i, t as a } from "../ThemeProvider-BFeldMeE.js";
|
|
3
|
-
import { a as o, i as s, n as c, o as l, s as u } from "../PortalProvider-
|
|
3
|
+
import { a as o, i as s, n as c, o as l, s as u } from "../PortalProvider-op07u8na.js";
|
|
4
4
|
import { t as d } from "../LinkProvider-DMkhwZ3P.js";
|
|
5
5
|
export { r as GlobalStyles, s as Icon, d as LinkProvider, c as PortalProvider, o as RLY_ICON_DEFAULT_VARIANTS, l as RLY_ICON_NAMES, u as RLY_ICON_VARIANTS, a as RLY_THEME_NAMES, n as ThemeProvider, i as decodeRlyTheme, t as useDocumentTheme, e as useStoredTheme };
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./ThemeProvider-BFeldMeE.js";
|
|
3
|
-
import { a as o, i as s, n as c, o as l, s as u } from "./PortalProvider-
|
|
3
|
+
import { a as o, i as s, n as c, o as l, s as u } from "./PortalProvider-op07u8na.js";
|
|
4
4
|
import { t as d } from "./LinkProvider-DMkhwZ3P.js";
|
|
5
5
|
import "./foundations/index.js";
|
|
6
|
-
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as w, M as T, N as E, O as D, P as O, Q as k, R as A, S as j, T as M, U as N, V as P, W as F, X as I, Y as L, Z as R, _ as z, a as B, at as V, b as H, c as U, ct as W, d as G,
|
|
7
|
-
import { A as
|
|
8
|
-
import { C as
|
|
9
|
-
import { a as
|
|
10
|
-
export {
|
|
6
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as w, M as T, N as E, O as D, P as O, Q as k, R as A, S as j, T as M, U as N, V as P, W as F, X as I, Y as L, Z as R, _ as z, a as B, at as V, b as H, c as U, ct as W, d as G, dt as K, et as q, f as J, ft as Y, g as X, h as Z, ht as Q, i as $, it as ee, j as te, k as ne, l as re, lt as ie, m as ae, mt as oe, n as se, nt as ce, o as le, ot as ue, p as de, pt as fe, q as pe, r as me, rt as he, s as ge, st as _e, t as ve, tt as ye, u as be, ut as xe, v as Se, w as Ce, x as we, y as Te, z as Ee } from "./patterns-CDBnXTUD.js";
|
|
7
|
+
import { A as De, C as Oe, D as ke, E as Ae, M as je, N as Me, O as Ne, S as Pe, T as Fe, _ as Ie, a as Le, b as Re, c as ze, d as Be, f as Ve, g as He, h as Ue, i as We, j as Ge, k as Ke, l as qe, m as Je, n as Ye, o as Xe, p as Ze, r as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, y as at } from "./Dialog-CU66FqWD.js";
|
|
8
|
+
import { C as ot, E as st, S as ct, T as lt, _ as ut, a as dt, b as ft, c as pt, d as mt, f as ht, g as gt, h as _t, i as vt, l as yt, m as bt, n as xt, o as St, p as Ct, r as wt, s as Tt, t as Et, u as Dt, v as Ot, w as kt, x as At, y as jt } from "./primitives-DgQybTyq.js";
|
|
9
|
+
import { a as Mt, i as Nt, n as Pt, o as Ft, r as It, s as Lt, t as Rt } from "./tokens-Cf0jXIRg.js";
|
|
10
|
+
export { Q as AgentContextButton, oe as AgentDrawer, fe as AgentJob, Y as AgentProposal, K as AgentThread, Pe as Avatar, Ne as Button, kt as ChartLegend, ce as CollaboratorGroup, f as DecisionBar, et as Dialog, At as Divider, F as EntityShell, P as EntityTable, m as EvidenceStamp, $e as Field, I as FreshnessStamp, r as GlobalStyles, Ee as GovernedActionReview, O as Hero, v as HeroWord, s as Icon, at as IconButton, ut as LimitTrack, d as LinkProvider, bt as Notice, V as PeopleStrip, W as Person, c as PortalProvider, Oe as RLY_AVATAR_DEFAULT_VARIANTS, rt as RLY_AVATAR_VARIANTS, Ke as RLY_BUTTON_DEFAULT_VARIANTS, De as RLY_BUTTON_VARIANTS, he as RLY_COLLABORATOR_GROUP_DEFAULT_VARIANTS, ee as RLY_COLLABORATOR_GROUP_VARIANTS, Rt as RLY_COLOR_TOKEN_NAMES, Pt as RLY_CONTROL_HEIGHT_TOKEN_NAMES, q as RLY_DECISION_BAR_DEFAULT_VARIANTS, ye as RLY_DECISION_BAR_VARIANTS, Ye as RLY_DIALOG_DEFAULT_VARIANTS, Qe as RLY_DIALOG_VARIANTS, ct as RLY_DIVIDER_DEFAULT_VARIANTS, ot as RLY_DIVIDER_VARIANTS, b as RLY_ENTITY_TABLE_DEFAULT_VARIANTS, N as RLY_ENTITY_TABLE_VARIANTS, ze as RLY_FIELD_DEFAULT_VARIANTS, qe as RLY_FIELD_VARIANTS, Lt as RLY_FONT_FACES, R as RLY_FRESHNESS_STAMP_DEFAULT_VARIANTS, k as RLY_FRESHNESS_STAMP_VARIANTS, x as RLY_HERO_DEFAULT_VARIANTS, w as RLY_HERO_VARIANTS, A as RLY_HERO_WORD_VARIANTS, Re as RLY_ICON_BUTTON_DEFAULT_VARIANTS, it as RLY_ICON_BUTTON_VARIANTS, o as RLY_ICON_DEFAULT_VARIANTS, l as RLY_ICON_NAMES, u as RLY_ICON_VARIANTS, Ot as RLY_LIMIT_TRACK_DEFAULT_VARIANTS, jt as RLY_LIMIT_TRACK_VARIANTS, It as RLY_MOTION_TOKEN_NAMES, _t as RLY_NOTICE_DEFAULT_VARIANTS, gt as RLY_NOTICE_VARIANTS, ue as RLY_PEOPLE_STRIP_DEFAULT_VARIANTS, _e as RLY_PEOPLE_STRIP_VARIANTS, ie as RLY_PERSON_DEFAULT_VARIANTS, xe as RLY_PERSON_VARIANTS, Nt as RLY_RADIUS_TOKEN_NAMES, te as RLY_REGION_DEFAULT_VARIANTS, T as RLY_REGION_VARIANTS, ne as RLY_RELATIONSHIP_DIRECTION_PRESENTATION, p as RLY_RELATIONSHIP_LIFECYCLE_PRESENTATION, Ce as RLY_RELAY_MARK_SIZES, M as RLY_RELAY_MARK_TILE_SIZES, de as RLY_RELAY_PANEL_PRESENTATIONS, ae as RLY_RELAY_PANEL_WIDTH, re as RLY_RELEASE_RELAY_DEFAULT_VARIANTS, be as RLY_RELEASE_RELAY_SYMBOLS, G as RLY_RELEASE_RELAY_VARIANTS, He as RLY_SELECT_DEFAULT_VARIANTS, Ie as RLY_SELECT_VARIANTS, lt as RLY_SERIES, pe as RLY_SERVICE_MARK_DEFAULT_VARIANTS, S as RLY_SERVICE_MARK_VARIANTS, Ge as RLY_SHEET_DEFAULT_VARIANTS, je as RLY_SHEET_VARIANTS, Ze as RLY_SKELETON_DEFAULT_VARIANTS, Je as RLY_SKELETON_VARIANTS, Mt as RLY_SPACE_TOKEN_NAMES, $ as RLY_STAGE_RAIL_DEFAULT_VARIANTS, B as RLY_STAGE_RAIL_VARIANTS, Fe as RLY_STATE_LABEL_DEFAULT_VARIANTS, Ae as RLY_STATE_LABEL_VARIANTS, tt as RLY_STATE_PANEL_DEFAULT_VARIANTS, Be as RLY_STATE_PANEL_VARIANTS, Dt as RLY_SURFACE_DEFAULT_VARIANTS, mt as RLY_SURFACE_VARIANTS, We as RLY_TABS_DEFAULT_VARIANTS, Le as RLY_TABS_VARIANTS, Tt as RLY_TEXT_DEFAULT_VARIANTS, pt as RLY_TEXT_VARIANTS, a as RLY_THEME_NAMES, wt as RLY_TOGGLE_GROUP_DEFAULT_VARIANTS, vt as RLY_TOGGLE_GROUP_VARIANTS, Et as RLY_TRACK_KEY_MARKS, Ft as RLY_TYPE_TOKEN_NAMES, y as RLY_VERDICT_VARIANTS, E as Region, D as RelationshipChain, g as RelationshipTable, Se as RelayComposer, z as RelayDock, H as RelayLauncher, _ as RelayMark, Z as RelayPanel, U as ReleasePreview, J as ReleaseRelay, ge as ReleaseRow, nt as Select, L as ServiceMark, Me as Sheet, Ue as Skeleton, Ct as StackedBars, le as StageRail, ke as StateLabel, Ve as StatePanel, ht as Surface, Xe as Tabs, yt as Text, n as ThemeProvider, St as ThemeSelect, se as TimelineProvenanceKey, me as TimelineRow, dt as ToggleGroup, xt as TrackKey, C as Verdict, ve as WorksetCard, i as decodeRlyTheme, ft as limitTrackTone, we as relayShortcut, st as rlySeriesColor, t as useDocumentTheme, Te as useRelayDraft, X as useRelayPresentation, j as useRelayShortcut, h as useRelaySummon, e as useStoredTheme };
|
|
11
11
|
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
package/dist/patterns/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as A, c as j, ct as M, d as N,
|
|
3
|
-
export {
|
|
2
|
+
import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as A, c as j, ct as M, d as N, dt as P, et as F, f as I, ft as L, g as R, h as z, ht as B, i as V, it as H, j as U, k as W, l as G, lt as K, m as q, mt as J, n as Y, nt as X, o as Z, ot as Q, p as $, pt as ee, q as te, r as ne, rt as re, s as ie, st as ae, t as oe, tt as se, u as ce, ut as le, v as ue, w as de, x as fe, y as pe, z as me } from "../patterns-CDBnXTUD.js";
|
|
3
|
+
export { B as AgentContextButton, J as AgentDrawer, ee as AgentJob, L as AgentProposal, P as AgentThread, X as CollaboratorGroup, e as DecisionBar, C as EntityShell, S as EntityTable, n as EvidenceStamp, w as FreshnessStamp, me as GovernedActionReview, g as Hero, o as HeroWord, k as PeopleStrip, M as Person, re as RLY_COLLABORATOR_GROUP_DEFAULT_VARIANTS, H as RLY_COLLABORATOR_GROUP_VARIANTS, F as RLY_DECISION_BAR_DEFAULT_VARIANTS, se as RLY_DECISION_BAR_VARIANTS, c as RLY_ENTITY_TABLE_DEFAULT_VARIANTS, x as RLY_ENTITY_TABLE_VARIANTS, E as RLY_FRESHNESS_STAMP_DEFAULT_VARIANTS, _ as RLY_FRESHNESS_STAMP_VARIANTS, l as RLY_HERO_DEFAULT_VARIANTS, f as RLY_HERO_VARIANTS, v as RLY_HERO_WORD_VARIANTS, Q as RLY_PEOPLE_STRIP_DEFAULT_VARIANTS, ae as RLY_PEOPLE_STRIP_VARIANTS, K as RLY_PERSON_DEFAULT_VARIANTS, le as RLY_PERSON_VARIANTS, U as RLY_REGION_DEFAULT_VARIANTS, p as RLY_REGION_VARIANTS, W as RLY_RELATIONSHIP_DIRECTION_PRESENTATION, t as RLY_RELATIONSHIP_LIFECYCLE_PRESENTATION, de as RLY_RELAY_MARK_SIZES, b as RLY_RELAY_MARK_TILE_SIZES, $ as RLY_RELAY_PANEL_PRESENTATIONS, q as RLY_RELAY_PANEL_WIDTH, G as RLY_RELEASE_RELAY_DEFAULT_VARIANTS, ce as RLY_RELEASE_RELAY_SYMBOLS, N as RLY_RELEASE_RELAY_VARIANTS, te as RLY_SERVICE_MARK_DEFAULT_VARIANTS, u as RLY_SERVICE_MARK_VARIANTS, V as RLY_STAGE_RAIL_DEFAULT_VARIANTS, O as RLY_STAGE_RAIL_VARIANTS, s as RLY_VERDICT_VARIANTS, m as Region, h as RelationshipChain, i as RelationshipTable, ue as RelayComposer, D as RelayDock, A as RelayLauncher, a as RelayMark, z as RelayPanel, j as ReleasePreview, I as ReleaseRelay, ie as ReleaseRow, T as ServiceMark, Z as StageRail, Y as TimelineProvenanceKey, ne as TimelineRow, d as Verdict, oe as WorksetCard, fe as relayShortcut, pe as useRelayDraft, R as useRelayPresentation, y as useRelayShortcut, r as useRelaySummon };
|
|
4
4
|
|
|
5
5
|
//# sourceMappingURL=index.js.map
|