@ag2/weave 0.16.1 → 0.18.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.
@@ -6,7 +6,6 @@ export declare const Face: string;
6
6
  export declare const Name: string;
7
7
  export declare const What: string;
8
8
  export declare const Time: string;
9
- export declare const UnreadDot: string;
10
9
  export declare const Indented: string;
11
10
  export declare const Body: string;
12
11
  export declare const Replies: string;
@@ -14,5 +13,6 @@ export declare const RepliesUnread: string;
14
13
  export declare const ObjectRow: string;
15
14
  export declare const Actions: string;
16
15
  export declare const Attention: string;
16
+ export declare const UnreadDot: string;
17
17
  export declare const AttentionBreathing: string;
18
18
  export declare const Action: string;
@@ -9,6 +9,7 @@ export declare type ActivityItemProps = {
9
9
  time: string;
10
10
  /** The message, three lines at most. */
11
11
  body?: ReactNode;
12
+ /** Unread: a blue dot in the margin, unless it needs you. */
12
13
  unread?: boolean;
13
14
  /** Read items set their text in a quieter ink. */
14
15
  read?: boolean;
@@ -6,4 +6,9 @@ export declare const Name: string;
6
6
  export declare const Time: string;
7
7
  export declare const Snippet: string;
8
8
  export declare const FileRow: string;
9
- export declare const Deleted: string;
9
+ export declare const Notice: string;
10
+ export declare const Retry: string;
11
+ export declare const Lines: string;
12
+ export declare const Line: string;
13
+ export declare const ShortLine: string;
14
+ export declare const NameLine: string;
@@ -1,7 +1,11 @@
1
1
  import React, { ReactNode } from "react";
2
- export declare type QuoteCardContext = "Reply" | "File" | "Forwarded" | "Deleted";
2
+ export declare type QuoteCardContext = "Reply" | "File" | "Forwarded" | "Deleted" | "Loading" | "Failed" | "Unavailable";
3
3
  export declare type QuoteCardProps = {
4
- /** Reply, a file-only parent, a forwarded message, or a parent that was deleted. */
4
+ /**
5
+ * Reply, a file-only parent, a forwarded message, or a parent that was deleted. A parent not
6
+ * here yet: Loading (grey lines), Failed (couldn't load, with Retry) or Unavailable (you can't
7
+ * see it).
8
+ */
5
9
  context?: QuoteCardContext;
6
10
  /** 20px: a photo, an initial, or an agent's mark. */
7
11
  avatar?: ReactNode;
@@ -12,10 +16,12 @@ export declare type QuoteCardProps = {
12
16
  source?: string;
13
17
  /** The parent's text, flattened, at most two lines. For a file: "Type · title". */
14
18
  snippet?: ReactNode;
19
+ /** Failed: try loading the parent again. */
20
+ onRetry?: () => void;
15
21
  };
16
22
  /**
17
23
  * The parent of a reply, or a forwarded message, as one card you can't mistake for the reply.
18
24
  * A button that jumps to the message (`as="div"` for a card that isn't a target); a deleted
19
- * parent is never a target.
25
+ * parent is never a target, nor is one that hasn't loaded.
20
26
  */
21
27
  export declare const QuoteCard: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, QuoteCardProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
package/dist/index.js CHANGED
@@ -5,9 +5,9 @@ import classNames from "classnames";
5
5
  import * as ReactDOM from "react-dom";
6
6
  import ReactDOM__default, { createPortal } from "react-dom";
7
7
  const color_css_ts_vanilla = "";
8
- var color = { Identity: { OnMain: "var(--_19in3xh0)", Yellow: "var(--_19in3xh1)", Green: "var(--_19in3xh2)", Mint: "var(--_19in3xh3)", Blue: "var(--_19in3xh4)", Indigo: "var(--_19in3xh5)", Wine: "var(--_19in3xh6)", Red: "var(--_19in3xh7)", Orange: "var(--_19in3xh8)", Brown: "var(--_19in3xh9)", Pink: "var(--_19in3xha)", Peach: "var(--_19in3xhb)", Ochre: "var(--_19in3xhc)" }, IdentityFill: { Yellow: "var(--_19in3xhd)", Green: "var(--_19in3xhe)", Mint: "var(--_19in3xhf)", Blue: "var(--_19in3xhg)", Indigo: "var(--_19in3xhh)", Wine: "var(--_19in3xhi)", Red: "var(--_19in3xhj)", Orange: "var(--_19in3xhk)", Brown: "var(--_19in3xhl)", Pink: "var(--_19in3xhm)", Peach: "var(--_19in3xhn)", Ochre: "var(--_19in3xho)" }, IdentityTint: { Yellow: "var(--_19in3xhp)", Green: "var(--_19in3xhq)", Mint: "var(--_19in3xhr)", Blue: "var(--_19in3xhs)", Indigo: "var(--_19in3xht)", Wine: "var(--_19in3xhu)", Red: "var(--_19in3xhv)", Orange: "var(--_19in3xhw)", Brown: "var(--_19in3xhx)", Pink: "var(--_19in3xhy)", Peach: "var(--_19in3xhz)", Ochre: "var(--_19in3xh10)" }, Media: { Container: "var(--_19in3xh11)", Raised: "var(--_19in3xh12)", Elevated: "var(--_19in3xh13)", Text: "var(--_19in3xh14)", TextSecondary: "var(--_19in3xh15)", TextQuiet: "var(--_19in3xh16)", Line: "var(--_19in3xh17)", Success: "var(--_19in3xh18)", Warning: "var(--_19in3xh19)", Critical: "var(--_19in3xh1a)", Action: "var(--_19in3xh1b)", ActionFill: "var(--_19in3xh1c)", OnActionFill: "var(--_19in3xh1d)", CriticalFill: "var(--_19in3xh1e)", OnCriticalFill: "var(--_19in3xh1f)" }, Syntax: { Comment: "var(--_19in3xh1g)", Punctuation: "var(--_19in3xh1h)", Property: "var(--_19in3xh1i)", Selector: "var(--_19in3xh1j)", String: "var(--_19in3xh1k)", Operator: "var(--_19in3xh1l)", Keyword: "var(--_19in3xh1m)", Function: "var(--_19in3xh1n)", Variable: "var(--_19in3xh1o)", Number: "var(--_19in3xh1p)" }, Notification: { Indicator: "var(--_19in3xh1q)", Text: "var(--_19in3xh1r)", Fill: "var(--_19in3xh1s)", OnFill: "var(--_19in3xh1t)" }, Reason: { you: "var(--_19in3xh1u)", agent: "var(--_19in3xh1v)", participant: "var(--_19in3xh1w)" }, Background: { Container: "var(--_19in3xh1x)", ContainerHover: "var(--_19in3xh1y)", ContainerActive: "var(--_19in3xh1z)", ContainerLine: "var(--_19in3xh20)", OnContainer: "var(--_19in3xh21)" }, Surface: { Container: "var(--_19in3xh22)", ContainerHover: "var(--_19in3xh23)", ContainerActive: "var(--_19in3xh24)", ContainerLine: "var(--_19in3xh25)", OnContainer: "var(--_19in3xh26)" }, SurfaceVariant: { Container: "var(--_19in3xh27)", ContainerHover: "var(--_19in3xh28)", ContainerActive: "var(--_19in3xh29)", ContainerLine: "var(--_19in3xh2a)", OnContainer: "var(--_19in3xh2b)" }, Destructive: { Main: "var(--_19in3xh2c)", MainHover: "var(--_19in3xh2d)", MainActive: "var(--_19in3xh2e)", OnMain: "var(--_19in3xh2f)" }, Action: { Main: "var(--_19in3xh2g)", MainHover: "var(--_19in3xh2h)", MainActive: "var(--_19in3xh2i)", OnMain: "var(--_19in3xh2j)" }, Primary: { ContainerSubtle: "var(--_19in3xh2k)", TagContainer: "var(--_19in3xh2l)", Main: "var(--_19in3xh2m)", MainHover: "var(--_19in3xh2n)", MainActive: "var(--_19in3xh2o)", MainLine: "var(--_19in3xh2p)", OnMain: "var(--_19in3xh2q)", Container: "var(--_19in3xh2r)", ContainerHover: "var(--_19in3xh2s)", ContainerActive: "var(--_19in3xh2t)", ContainerLine: "var(--_19in3xh2u)", OnContainer: "var(--_19in3xh2v)" }, Secondary: { Main: "var(--_19in3xh2w)", MainHover: "var(--_19in3xh2x)", MainActive: "var(--_19in3xh2y)", MainLine: "var(--_19in3xh2z)", OnMain: "var(--_19in3xh30)", Container: "var(--_19in3xh31)", ContainerHover: "var(--_19in3xh32)", ContainerActive: "var(--_19in3xh33)", ContainerLine: "var(--_19in3xh34)", OnContainer: "var(--_19in3xh35)" }, Success: { TagContainer: "var(--_19in3xh36)", TagHover: "var(--_19in3xh37)", TagActive: "var(--_19in3xh38)", OnTag: "var(--_19in3xh39)", Main: "var(--_19in3xh3a)", MainHover: "var(--_19in3xh3b)", MainActive: "var(--_19in3xh3c)", MainLine: "var(--_19in3xh3d)", OnMain: "var(--_19in3xh3e)", Container: "var(--_19in3xh3f)", ContainerHover: "var(--_19in3xh3g)", ContainerActive: "var(--_19in3xh3h)", ContainerLine: "var(--_19in3xh3i)", OnContainer: "var(--_19in3xh3j)" }, Warning: { TagContainer: "var(--_19in3xh3k)", TagHover: "var(--_19in3xh3l)", TagActive: "var(--_19in3xh3m)", OnTag: "var(--_19in3xh3n)", Main: "var(--_19in3xh3o)", MainHover: "var(--_19in3xh3p)", MainActive: "var(--_19in3xh3q)", MainLine: "var(--_19in3xh3r)", OnMain: "var(--_19in3xh3s)", Container: "var(--_19in3xh3t)", ContainerHover: "var(--_19in3xh3u)", ContainerActive: "var(--_19in3xh3v)", ContainerLine: "var(--_19in3xh3w)", OnContainer: "var(--_19in3xh3x)" }, Critical: { TagContainer: "var(--_19in3xh3y)", TagHover: "var(--_19in3xh3z)", TagActive: "var(--_19in3xh40)", OnTag: "var(--_19in3xh41)", Main: "var(--_19in3xh42)", MainHover: "var(--_19in3xh43)", MainActive: "var(--_19in3xh44)", MainLine: "var(--_19in3xh45)", OnMain: "var(--_19in3xh46)", Container: "var(--_19in3xh47)", ContainerHover: "var(--_19in3xh48)", ContainerActive: "var(--_19in3xh49)", ContainerLine: "var(--_19in3xh4a)", OnContainer: "var(--_19in3xh4b)" }, Info: { TagContainer: "var(--_19in3xh4c)", TagHover: "var(--_19in3xh4d)", TagActive: "var(--_19in3xh4e)", OnTag: "var(--_19in3xh4f)", Main: "var(--_19in3xh4g)", MainHover: "var(--_19in3xh4h)", MainActive: "var(--_19in3xh4i)", MainLine: "var(--_19in3xh4j)", OnMain: "var(--_19in3xh4k)", Container: "var(--_19in3xh4l)", ContainerHover: "var(--_19in3xh4m)", ContainerActive: "var(--_19in3xh4n)", ContainerLine: "var(--_19in3xh4o)", OnContainer: "var(--_19in3xh4p)" }, Accent: { Main: "var(--_19in3xh4q)", MainHover: "var(--_19in3xh4r)", MainActive: "var(--_19in3xh4s)", MainLine: "var(--_19in3xh4t)", OnMain: "var(--_19in3xh4u)", Container: "var(--_19in3xh4v)", ContainerHover: "var(--_19in3xh4w)", ContainerActive: "var(--_19in3xh4x)", ContainerLine: "var(--_19in3xh4y)", OnContainer: "var(--_19in3xh4z)" }, Highlight: { Container: "var(--_19in3xh50)", OnContainer: "var(--_19in3xh51)", Overlay: "var(--_19in3xh52)" }, Control: { DisabledBackground: "var(--_19in3xh53)", DisabledForeground: "var(--_19in3xh54)" }, Other: { FocusRing: "var(--_19in3xh55)", Shadow: "var(--_19in3xh56)", Overlay: "var(--_19in3xh57)" }, Text: { Disabled: "var(--_19in3xh58)", Primary: "var(--_19in3xh59)", Secondary: "var(--_19in3xh5a)", Link: "var(--_19in3xh5b)", Quiet: "var(--_19in3xh5c)" }, Border: { Focus: "var(--_19in3xh5d)", Subtle: "var(--_19in3xh5e)", Control: "var(--_19in3xh5f)" } };
9
- var lightTheme = "_19in3xh5g";
10
- var reason = { you: "var(--_19in3xh1u)", agent: "var(--_19in3xh1v)", participant: "var(--_19in3xh1w)" };
8
+ var color = { Identity: { OnMain: "var(--_19in3xh0)", Yellow: "var(--_19in3xh1)", Green: "var(--_19in3xh2)", Mint: "var(--_19in3xh3)", Blue: "var(--_19in3xh4)", Indigo: "var(--_19in3xh5)", Wine: "var(--_19in3xh6)", Red: "var(--_19in3xh7)", Orange: "var(--_19in3xh8)", Brown: "var(--_19in3xh9)", Pink: "var(--_19in3xha)", Peach: "var(--_19in3xhb)", Ochre: "var(--_19in3xhc)" }, IdentityFill: { Yellow: "var(--_19in3xhd)", Green: "var(--_19in3xhe)", Mint: "var(--_19in3xhf)", Blue: "var(--_19in3xhg)", Indigo: "var(--_19in3xhh)", Wine: "var(--_19in3xhi)", Red: "var(--_19in3xhj)", Orange: "var(--_19in3xhk)", Brown: "var(--_19in3xhl)", Pink: "var(--_19in3xhm)", Peach: "var(--_19in3xhn)", Ochre: "var(--_19in3xho)" }, IdentityTint: { Yellow: "var(--_19in3xhp)", Green: "var(--_19in3xhq)", Mint: "var(--_19in3xhr)", Blue: "var(--_19in3xhs)", Indigo: "var(--_19in3xht)", Wine: "var(--_19in3xhu)", Red: "var(--_19in3xhv)", Orange: "var(--_19in3xhw)", Brown: "var(--_19in3xhx)", Pink: "var(--_19in3xhy)", Peach: "var(--_19in3xhz)", Ochre: "var(--_19in3xh10)" }, Media: { Container: "var(--_19in3xh11)", Raised: "var(--_19in3xh12)", Elevated: "var(--_19in3xh13)", Text: "var(--_19in3xh14)", TextSecondary: "var(--_19in3xh15)", TextQuiet: "var(--_19in3xh16)", Line: "var(--_19in3xh17)", Success: "var(--_19in3xh18)", Warning: "var(--_19in3xh19)", Critical: "var(--_19in3xh1a)", Action: "var(--_19in3xh1b)", ActionFill: "var(--_19in3xh1c)", OnActionFill: "var(--_19in3xh1d)", CriticalFill: "var(--_19in3xh1e)", OnCriticalFill: "var(--_19in3xh1f)" }, Syntax: { Comment: "var(--_19in3xh1g)", Punctuation: "var(--_19in3xh1h)", Property: "var(--_19in3xh1i)", Selector: "var(--_19in3xh1j)", String: "var(--_19in3xh1k)", Operator: "var(--_19in3xh1l)", Keyword: "var(--_19in3xh1m)", Function: "var(--_19in3xh1n)", Variable: "var(--_19in3xh1o)", Number: "var(--_19in3xh1p)" }, Notification: { Indicator: "var(--_19in3xh1q)", Text: "var(--_19in3xh1r)", Fill: "var(--_19in3xh1s)", OnFill: "var(--_19in3xh1t)" }, Attention: { NeedsYou: "var(--_19in3xh1u)" }, Reason: { you: "var(--_19in3xh1v)", agent: "var(--_19in3xh1w)", participant: "var(--_19in3xh1x)" }, Background: { Container: "var(--_19in3xh1y)", ContainerHover: "var(--_19in3xh1z)", ContainerActive: "var(--_19in3xh20)", ContainerLine: "var(--_19in3xh21)", OnContainer: "var(--_19in3xh22)" }, Surface: { Container: "var(--_19in3xh23)", ContainerHover: "var(--_19in3xh24)", ContainerActive: "var(--_19in3xh25)", ContainerLine: "var(--_19in3xh26)", OnContainer: "var(--_19in3xh27)" }, SurfaceVariant: { Container: "var(--_19in3xh28)", ContainerHover: "var(--_19in3xh29)", ContainerActive: "var(--_19in3xh2a)", ContainerLine: "var(--_19in3xh2b)", OnContainer: "var(--_19in3xh2c)" }, Destructive: { Main: "var(--_19in3xh2d)", MainHover: "var(--_19in3xh2e)", MainActive: "var(--_19in3xh2f)", OnMain: "var(--_19in3xh2g)" }, Action: { Main: "var(--_19in3xh2h)", MainHover: "var(--_19in3xh2i)", MainActive: "var(--_19in3xh2j)", OnMain: "var(--_19in3xh2k)" }, Primary: { ContainerSubtle: "var(--_19in3xh2l)", TagContainer: "var(--_19in3xh2m)", Main: "var(--_19in3xh2n)", MainHover: "var(--_19in3xh2o)", MainActive: "var(--_19in3xh2p)", MainLine: "var(--_19in3xh2q)", OnMain: "var(--_19in3xh2r)", Container: "var(--_19in3xh2s)", ContainerHover: "var(--_19in3xh2t)", ContainerActive: "var(--_19in3xh2u)", ContainerLine: "var(--_19in3xh2v)", OnContainer: "var(--_19in3xh2w)" }, Secondary: { Main: "var(--_19in3xh2x)", MainHover: "var(--_19in3xh2y)", MainActive: "var(--_19in3xh2z)", MainLine: "var(--_19in3xh30)", OnMain: "var(--_19in3xh31)", Container: "var(--_19in3xh32)", ContainerHover: "var(--_19in3xh33)", ContainerActive: "var(--_19in3xh34)", ContainerLine: "var(--_19in3xh35)", OnContainer: "var(--_19in3xh36)" }, Success: { TagContainer: "var(--_19in3xh37)", TagHover: "var(--_19in3xh38)", TagActive: "var(--_19in3xh39)", OnTag: "var(--_19in3xh3a)", Main: "var(--_19in3xh3b)", MainHover: "var(--_19in3xh3c)", MainActive: "var(--_19in3xh3d)", MainLine: "var(--_19in3xh3e)", OnMain: "var(--_19in3xh3f)", Container: "var(--_19in3xh3g)", ContainerHover: "var(--_19in3xh3h)", ContainerActive: "var(--_19in3xh3i)", ContainerLine: "var(--_19in3xh3j)", OnContainer: "var(--_19in3xh3k)" }, Warning: { TagContainer: "var(--_19in3xh3l)", TagHover: "var(--_19in3xh3m)", TagActive: "var(--_19in3xh3n)", OnTag: "var(--_19in3xh3o)", Main: "var(--_19in3xh3p)", MainHover: "var(--_19in3xh3q)", MainActive: "var(--_19in3xh3r)", MainLine: "var(--_19in3xh3s)", OnMain: "var(--_19in3xh3t)", Container: "var(--_19in3xh3u)", ContainerHover: "var(--_19in3xh3v)", ContainerActive: "var(--_19in3xh3w)", ContainerLine: "var(--_19in3xh3x)", OnContainer: "var(--_19in3xh3y)" }, Critical: { TagContainer: "var(--_19in3xh3z)", TagHover: "var(--_19in3xh40)", TagActive: "var(--_19in3xh41)", OnTag: "var(--_19in3xh42)", Main: "var(--_19in3xh43)", MainHover: "var(--_19in3xh44)", MainActive: "var(--_19in3xh45)", MainLine: "var(--_19in3xh46)", OnMain: "var(--_19in3xh47)", Container: "var(--_19in3xh48)", ContainerHover: "var(--_19in3xh49)", ContainerActive: "var(--_19in3xh4a)", ContainerLine: "var(--_19in3xh4b)", OnContainer: "var(--_19in3xh4c)" }, Info: { TagContainer: "var(--_19in3xh4d)", TagHover: "var(--_19in3xh4e)", TagActive: "var(--_19in3xh4f)", OnTag: "var(--_19in3xh4g)", Main: "var(--_19in3xh4h)", MainHover: "var(--_19in3xh4i)", MainActive: "var(--_19in3xh4j)", MainLine: "var(--_19in3xh4k)", OnMain: "var(--_19in3xh4l)", Container: "var(--_19in3xh4m)", ContainerHover: "var(--_19in3xh4n)", ContainerActive: "var(--_19in3xh4o)", ContainerLine: "var(--_19in3xh4p)", OnContainer: "var(--_19in3xh4q)" }, Accent: { Main: "var(--_19in3xh4r)", MainHover: "var(--_19in3xh4s)", MainActive: "var(--_19in3xh4t)", MainLine: "var(--_19in3xh4u)", OnMain: "var(--_19in3xh4v)", Container: "var(--_19in3xh4w)", ContainerHover: "var(--_19in3xh4x)", ContainerActive: "var(--_19in3xh4y)", ContainerLine: "var(--_19in3xh4z)", OnContainer: "var(--_19in3xh50)" }, Highlight: { Container: "var(--_19in3xh51)", OnContainer: "var(--_19in3xh52)", Overlay: "var(--_19in3xh53)" }, Control: { DisabledBackground: "var(--_19in3xh54)", DisabledForeground: "var(--_19in3xh55)" }, Other: { FocusRing: "var(--_19in3xh56)", Shadow: "var(--_19in3xh57)", Overlay: "var(--_19in3xh58)" }, Text: { Disabled: "var(--_19in3xh59)", Primary: "var(--_19in3xh5a)", Secondary: "var(--_19in3xh5b)", Link: "var(--_19in3xh5c)", Quiet: "var(--_19in3xh5d)" }, Border: { Focus: "var(--_19in3xh5e)", Subtle: "var(--_19in3xh5f)", Control: "var(--_19in3xh5g)" } };
9
+ var lightTheme = "_19in3xh5h";
10
+ var reason = { you: "var(--_19in3xh1v)", agent: "var(--_19in3xh1w)", participant: "var(--_19in3xh1x)" };
11
11
  const config_css_ts_vanilla = "";
12
12
  var config = { font: { Inter: "var(--_1s7qa7e1)" }, fontSize: { D400: "var(--_1s7qa7e2)", H1: "var(--_1s7qa7e3)", H2: "var(--_1s7qa7e4)", H3: "var(--_1s7qa7e5)", H4: "var(--_1s7qa7e6)", H5: "var(--_1s7qa7e7)", H6: "var(--_1s7qa7e8)", T500: "var(--_1s7qa7e9)", T400: "var(--_1s7qa7ea)", T300: "var(--_1s7qa7eb)", T200: "var(--_1s7qa7ec)", B500: "var(--_1s7qa7ed)", B400: "var(--_1s7qa7ee)", B300: "var(--_1s7qa7ef)", L400: "var(--_1s7qa7eg)", O400: "var(--_1s7qa7eh)", C400: "var(--_1s7qa7ei)" }, lineHeight: { D400: "var(--_1s7qa7ej)", H1: "var(--_1s7qa7ek)", H2: "var(--_1s7qa7el)", H3: "var(--_1s7qa7em)", H4: "var(--_1s7qa7en)", H5: "var(--_1s7qa7eo)", H6: "var(--_1s7qa7ep)", T500: "var(--_1s7qa7eq)", T400: "var(--_1s7qa7er)", T300: "var(--_1s7qa7es)", T200: "var(--_1s7qa7et)", B500: "var(--_1s7qa7eu)", B400: "var(--_1s7qa7ev)", B300: "var(--_1s7qa7ew)", L400: "var(--_1s7qa7ex)", O400: "var(--_1s7qa7ey)", C400: "var(--_1s7qa7ez)" }, letterSpacing: { D400: "var(--_1s7qa7e10)", H1: "var(--_1s7qa7e11)", H2: "var(--_1s7qa7e12)", H3: "var(--_1s7qa7e13)", H4: "var(--_1s7qa7e14)", H5: "var(--_1s7qa7e15)", H6: "var(--_1s7qa7e16)", T500: "var(--_1s7qa7e17)", T400: "var(--_1s7qa7e18)", T300: "var(--_1s7qa7e19)", T200: "var(--_1s7qa7e1a)", B500: "var(--_1s7qa7e1b)", B400: "var(--_1s7qa7e1c)", B300: "var(--_1s7qa7e1d)", L400: "var(--_1s7qa7e1e)", O400: "var(--_1s7qa7e1f)", C400: "var(--_1s7qa7e1g)" }, fontWeight: { W100: "var(--_1s7qa7e1h)", W200: "var(--_1s7qa7e1i)", W300: "var(--_1s7qa7e1j)", W400: "var(--_1s7qa7e1k)", W500: "var(--_1s7qa7e1l)", W600: "var(--_1s7qa7e1m)", W700: "var(--_1s7qa7e1n)", W800: "var(--_1s7qa7e1o)", W900: "var(--_1s7qa7e1p)" }, space: { S0: "var(--_1s7qa7e1q)", S100: "var(--_1s7qa7e1r)", S200: "var(--_1s7qa7e1s)", S300: "var(--_1s7qa7e1t)", S400: "var(--_1s7qa7e1u)", S500: "var(--_1s7qa7e1v)", S600: "var(--_1s7qa7e1w)", S700: "var(--_1s7qa7e1x)" }, radii: { R0: "var(--_1s7qa7e1y)", R300: "var(--_1s7qa7e1z)", R400: "var(--_1s7qa7e20)", R500: "var(--_1s7qa7e21)", R600: "var(--_1s7qa7e22)", Round: "var(--_1s7qa7e23)", Pill: "var(--_1s7qa7e24)" }, borderWidth: { B0: "var(--_1s7qa7e25)", B300: "var(--_1s7qa7e26)", B400: "var(--_1s7qa7e27)", B500: "var(--_1s7qa7e28)", B600: "var(--_1s7qa7e29)", B700: "var(--_1s7qa7e2a)" }, zIndex: { Z100: "var(--_1s7qa7e2b)", Z200: "var(--_1s7qa7e2c)", Z300: "var(--_1s7qa7e2d)", Z400: "var(--_1s7qa7e2e)", Max: "var(--_1s7qa7e2f)" }, shadow: { Control: "var(--_1s7qa7e2g)", ControlHover: "var(--_1s7qa7e2h)", ControlPressed: "var(--_1s7qa7e2i)", DestructiveInner: "var(--_1s7qa7e2j)", ActionInner: "var(--_1s7qa7e2k)", ActionInnerHover: "var(--_1s7qa7e2l)", ActionInnerPressed: "var(--_1s7qa7e2m)", FieldActive: "var(--_1s7qa7e2n)", ToggleOffInner: "var(--_1s7qa7e2o)", ToggleInner: "var(--_1s7qa7e2p)", Thumb: "var(--_1s7qa7e2q)", E100: "var(--_1s7qa7e2r)", E200: "var(--_1s7qa7e2s)", E300: "var(--_1s7qa7e2t)", E400: "var(--_1s7qa7e2u)" }, size: { XInherit: "var(--_1s7qa7e2v)", X50: "var(--_1s7qa7e2w)", X100: "var(--_1s7qa7e2x)", X200: "var(--_1s7qa7e2y)", X300: "var(--_1s7qa7e2z)", X400: "var(--_1s7qa7e30)", X500: "var(--_1s7qa7e31)", X600: "var(--_1s7qa7e32)", DialogWidth: "var(--_1s7qa7e33)", ModalHeight300: "var(--_1s7qa7e34)", ModalHeight400: "var(--_1s7qa7e35)", ModalHeight500: "var(--_1s7qa7e36)", ModalWidth300: "var(--_1s7qa7e37)", ModalWidth400: "var(--_1s7qa7e38)", ModalWidth500: "var(--_1s7qa7e39)", ModalDrawerWidth: "var(--_1s7qa7e3a)" }, control: { FocusRing: "var(--_1s7qa7e3b)", ActiveRing: "var(--_1s7qa7e3c)", SelectionFill: "var(--_1s7qa7e3d)", OnSelection: "var(--_1s7qa7e3e)", PrimaryFill: "var(--_1s7qa7e3f)", PrimaryHover: "var(--_1s7qa7e3g)", PrimaryActive: "var(--_1s7qa7e3h)", OnPrimary: "var(--_1s7qa7e3i)" }, shell: { Canvas: "var(--_1s7qa7e3j)", OnCanvas: "var(--_1s7qa7e3k)", CanvasSecondary: "var(--_1s7qa7e3l)", CanvasHover: "var(--_1s7qa7e3m)", CanvasSelected: "var(--_1s7qa7e3n)", CanvasLine: "var(--_1s7qa7e3o)", PanelRadius: "var(--_1s7qa7e3p)", PanelInset: "var(--_1s7qa7e3q)" }, transition: { Toggle: "var(--_1s7qa7e3r)", Control: "var(--_1s7qa7e3s)" }, opacity: { P500: "var(--_1s7qa7e3t)", P400: "var(--_1s7qa7e3u)", P300: "var(--_1s7qa7e3v)", Placeholder: "var(--_1s7qa7e3w)", Disabled: "var(--_1s7qa7e3x)" } };
13
13
  var configClass = "_1s7qa7e0";
@@ -293,10 +293,6 @@ const brandFamilies = [
293
293
  ]
294
294
  }
295
295
  ];
296
- const notificationRed = brandColors.Red.replace(
297
- /^oklch\(([\d.]+)/,
298
- (_, lightness) => `oklch(${(Number(lightness) * 0.98).toFixed(9)}`
299
- );
300
296
  const lightColorValues = {
301
297
  Identity: {
302
298
  OnMain: colorScale.Neutral[0],
@@ -370,12 +366,17 @@ const lightColorValues = {
370
366
  Variable: colorScale.Wine[700],
371
367
  Number: colorScale.Brown[700]
372
368
  },
369
+ // Unread is brand mid blue; red is kept for errors and destructive actions (Matty, Oct 27).
373
370
  Notification: {
374
- Indicator: notificationRed,
375
- Text: colorScale.SignalRed[600],
376
- Fill: notificationRed,
371
+ Indicator: colorScale.Blue[600],
372
+ Text: colorScale.Blue[700],
373
+ Fill: colorScale.Blue[600],
377
374
  OnFill: colorScale.Neutral[0]
378
375
  },
376
+ // Something waiting on you: dots and marks only, never text (4.0:1 on active rows).
377
+ Attention: {
378
+ NeedsYou: colorScale.Orange[600]
379
+ },
379
380
  Reason: {
380
381
  you: colorScale.Red[700],
381
382
  agent: colorScale.Indigo[700],
@@ -618,10 +619,13 @@ const darkColorValues = {
618
619
  Number: colorScale.Brown[200]
619
620
  },
620
621
  Notification: {
621
- Indicator: colorScale.SignalRed[400],
622
- Text: colorScale.SignalRed[300],
623
- Fill: notificationRed,
624
- OnFill: colorScale.Neutral[0]
622
+ Indicator: colorScale.Blue[200],
623
+ Text: colorScale.Blue[200],
624
+ Fill: colorScale.Blue[200],
625
+ OnFill: colorScale.Blue[950]
626
+ },
627
+ Attention: {
628
+ NeedsYou: colorScale.Orange[300]
625
629
  },
626
630
  Reason: {
627
631
  you: colorScale.Red[200],
@@ -12585,12 +12589,12 @@ const SelectLabel = forwardRef(
12585
12589
  );
12586
12590
  SelectLabel.displayName = "SelectLabel";
12587
12591
  const Line_css_ts_vanilla = "";
12588
- var Line$1 = createRuntimeFn({ defaultClassName: "_3qlw3b1 _8nex5a1 _8nex5a0", variantClassNames: { variant: { Subtle: "_3qlw3b2", Inherit: "_3qlw3b3", Background: "_3qlw3b4", Surface: "_3qlw3b5", SurfaceVariant: "_3qlw3b6", Primary: "_3qlw3b7", Secondary: "_3qlw3b8", Success: "_3qlw3b9", Warning: "_3qlw3ba", Critical: "_3qlw3bb" }, direction: { Horizontal: "_3qlw3bc", Vertical: "_3qlw3bd" }, size: { "300": "_3qlw3be", "400": "_3qlw3bf", "500": "_3qlw3bg", "600": "_3qlw3bh", "700": "_3qlw3bi" } }, defaultVariants: { variant: "Subtle", direction: "Horizontal", size: "400" }, compoundVariants: [] });
12589
- const Line = as(
12592
+ var Line$2 = createRuntimeFn({ defaultClassName: "_3qlw3b1 _8nex5a1 _8nex5a0", variantClassNames: { variant: { Subtle: "_3qlw3b2", Inherit: "_3qlw3b3", Background: "_3qlw3b4", Surface: "_3qlw3b5", SurfaceVariant: "_3qlw3b6", Primary: "_3qlw3b7", Secondary: "_3qlw3b8", Success: "_3qlw3b9", Warning: "_3qlw3ba", Critical: "_3qlw3bb" }, direction: { Horizontal: "_3qlw3bc", Vertical: "_3qlw3bd" }, size: { "300": "_3qlw3be", "400": "_3qlw3bf", "500": "_3qlw3bg", "600": "_3qlw3bh", "700": "_3qlw3bi" } }, defaultVariants: { variant: "Subtle", direction: "Horizontal", size: "400" }, compoundVariants: [] });
12593
+ const Line$1 = as(
12590
12594
  ({ as: AsLine = "div", className, variant, direction, size: size2, ...props }, ref) => /* @__PURE__ */ jsx(
12591
12595
  AsLine,
12592
12596
  {
12593
- className: classNames(Line$1({ variant, direction, size: size2 }), className),
12597
+ className: classNames(Line$2({ variant, direction, size: size2 }), className),
12594
12598
  ...props,
12595
12599
  ref
12596
12600
  }
@@ -15328,7 +15332,7 @@ const SidebarStack = as(
15328
15332
  ({ as: AsSidebarStack = "div", className, ...props }, ref) => /* @__PURE__ */ jsx(AsSidebarStack, { className: classNames(SidebarStack$1, className), ...props, ref })
15329
15333
  );
15330
15334
  const SidebarStackSeparator = () => /* @__PURE__ */ jsx(
15331
- Line,
15335
+ Line$1,
15332
15336
  {
15333
15337
  role: "separator",
15334
15338
  style: { width: toRem(24), margin: "0 auto" },
@@ -18111,21 +18115,21 @@ const InspectorTab = as(
18111
18115
  );
18112
18116
  const ActivityItem_css_ts_vanilla = "";
18113
18117
  var Action = "_1wyqgiii _8nex5a1 _8nex5a0 x4g6300";
18114
- var Actions = "_1wyqgiie _1wyqgii9";
18118
+ var Actions = "_1wyqgiid _1wyqgii8";
18115
18119
  var ActivityItem$1 = "_1wyqgii0 _8nex5a1 _8nex5a0";
18116
- var Attention = "_1wyqgiif";
18120
+ var Attention = "_1wyqgiie";
18117
18121
  var AttentionBreathing = "_1wyqgiih";
18118
- var Body = "_1wyqgiia _1wyqgii9";
18122
+ var Body = "_1wyqgii9 _1wyqgii8";
18119
18123
  var Face$1 = "_1wyqgii4";
18120
18124
  var Head$1 = "_1wyqgii3";
18121
18125
  var Main = "_1wyqgii2 _8nex5a1 _8nex5a0 x4g6300";
18122
18126
  var Name$3 = "_1wyqgii5";
18123
- var ObjectRow = "_1wyqgiid _1wyqgii9";
18124
- var Replies = "_1wyqgiib _8nex5a1 _8nex5a0 x4g6300 _1wyqgii9";
18125
- var RepliesUnread = "_1wyqgiic";
18127
+ var ObjectRow = "_1wyqgiic _1wyqgii8";
18128
+ var Replies = "_1wyqgiia _8nex5a1 _8nex5a0 x4g6300 _1wyqgii8";
18129
+ var RepliesUnread = "_1wyqgiib";
18126
18130
  var SelectedBar = "_1wyqgii1";
18127
18131
  var Time$1 = "_1wyqgii7";
18128
- var UnreadDot = "_1wyqgii8";
18132
+ var UnreadDot = "_1wyqgiif _1wyqgiie";
18129
18133
  var What$1 = "_1wyqgii6";
18130
18134
  const ActivityItem = as(
18131
18135
  ({
@@ -18157,13 +18161,13 @@ const ActivityItem = as(
18157
18161
  ref,
18158
18162
  children: [
18159
18163
  selected && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: SelectedBar }),
18160
- attention && /* @__PURE__ */ jsx(
18164
+ attention ? /* @__PURE__ */ jsx(
18161
18165
  "span",
18162
18166
  {
18163
18167
  "aria-hidden": true,
18164
18168
  className: classNames(Attention, attention === "breathing" && AttentionBreathing)
18165
18169
  }
18166
- ),
18170
+ ) : unread && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: UnreadDot }),
18167
18171
  /* @__PURE__ */ jsxs(
18168
18172
  "button",
18169
18173
  {
@@ -18181,8 +18185,7 @@ const ActivityItem = as(
18181
18185
  /* @__PURE__ */ jsx("span", { className: Face$1, children: avatar }),
18182
18186
  /* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name$3, children: name }),
18183
18187
  /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: What$1, children: what }),
18184
- /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Time$1, children: time }),
18185
- unread && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: UnreadDot })
18188
+ /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Time$1, children: time })
18186
18189
  ] }),
18187
18190
  body && /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: Body, children: body })
18188
18191
  ]
@@ -18237,15 +18240,25 @@ const ActivityHeader = as(
18237
18240
  ] })
18238
18241
  );
18239
18242
  const QuoteCard_css_ts_vanilla = "";
18240
- var Deleted = "amkbq18";
18241
18243
  var Face = "amkbq13";
18242
18244
  var FileRow = "amkbq17";
18243
18245
  var Glyph$1 = "amkbq12";
18244
18246
  var Head = "amkbq11";
18247
+ var Line = "amkbq1b";
18248
+ var Lines = "amkbq1a";
18245
18249
  var Name$2 = "amkbq14";
18250
+ var NameLine$1 = "amkbq1d";
18251
+ var Notice = "amkbq18";
18246
18252
  var QuoteCard$1 = "amkbq10 _8nex5a1 _8nex5a0 x4g6300";
18253
+ var Retry = "amkbq19 _8nex5a1 _8nex5a0 x4g6300";
18254
+ var ShortLine = "amkbq1c";
18247
18255
  var Snippet = "amkbq16";
18248
18256
  var Time = "amkbq15";
18257
+ const NOTICE = {
18258
+ Deleted: "Original message was deleted",
18259
+ Failed: "Couldn't load the original message",
18260
+ Unavailable: "Original message isn't available to you"
18261
+ };
18249
18262
  const QuoteCard = as(
18250
18263
  ({
18251
18264
  as: Component = "button",
@@ -18255,6 +18268,7 @@ const QuoteCard = as(
18255
18268
  time,
18256
18269
  source: source2,
18257
18270
  snippet,
18271
+ onRetry,
18258
18272
  onClick,
18259
18273
  className,
18260
18274
  ...props
@@ -18268,17 +18282,30 @@ const QuoteCard = as(
18268
18282
  "aria-hidden": true
18269
18283
  }
18270
18284
  );
18271
- if (context === "Deleted") {
18285
+ const notice = NOTICE[context];
18286
+ if (notice || context === "Loading") {
18272
18287
  return /* @__PURE__ */ jsx(
18273
18288
  "div",
18274
18289
  {
18275
18290
  ...props,
18276
18291
  ref,
18277
18292
  "data-context": context,
18293
+ "aria-busy": context === "Loading" || void 0,
18278
18294
  className: classNames(QuoteCard$1, className),
18279
- children: /* @__PURE__ */ jsxs("span", { className: Head, children: [
18295
+ children: notice ? /* @__PURE__ */ jsxs("span", { className: Head, children: [
18280
18296
  glyph,
18281
- /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: Deleted, children: "Original message was deleted" })
18297
+ /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: Notice, children: notice }),
18298
+ context === "Failed" && onRetry && /* @__PURE__ */ jsx("button", { type: "button", className: Retry, onClick: onRetry, children: "Retry" })
18299
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
18300
+ /* @__PURE__ */ jsxs("span", { className: Head, children: [
18301
+ glyph,
18302
+ avatar && /* @__PURE__ */ jsx("span", { className: Face, "aria-hidden": true, children: avatar }),
18303
+ name ? /* @__PURE__ */ jsx(Text, { as: "span", size: "L400", className: Name$2, children: name }) : /* @__PURE__ */ jsx("span", { className: classNames(Line, NameLine$1), "aria-hidden": true })
18304
+ ] }),
18305
+ /* @__PURE__ */ jsxs("span", { className: Lines, role: "img", "aria-label": "Loading the original message", children: [
18306
+ /* @__PURE__ */ jsx("span", { className: Line }),
18307
+ /* @__PURE__ */ jsx("span", { className: classNames(Line, ShortLine) })
18308
+ ] })
18282
18309
  ] })
18283
18310
  }
18284
18311
  );
@@ -18809,7 +18836,7 @@ export {
18809
18836
  Input,
18810
18837
  InspectorHeader,
18811
18838
  InspectorTab,
18812
- Line,
18839
+ Line$1 as Line,
18813
18840
  LobbyAgentChoice,
18814
18841
  LobbyAgentTile,
18815
18842
  LobbyButton,