@ag2/weave 0.15.1 → 0.16.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/dist/components/index.d.ts +1 -0
- package/dist/components/lobby/Lobby.css.d.ts +59 -0
- package/dist/components/lobby/LobbyCards.d.ts +86 -0
- package/dist/components/lobby/LobbyChecklist.d.ts +43 -0
- package/dist/components/lobby/LobbyLayout.d.ts +27 -0
- package/dist/components/lobby/index.d.ts +3 -0
- package/dist/index.js +422 -20
- package/dist/index.js.map +1 -1
- package/dist/style.css +542 -3
- package/dist/theme/color.css.d.ts +1 -0
- package/dist/theme/semantic.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ 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)" } };
|
|
9
|
-
var lightTheme = "
|
|
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
10
|
var reason = { you: "var(--_19in3xh1u)", agent: "var(--_19in3xh1v)", participant: "var(--_19in3xh1w)" };
|
|
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)" } };
|
|
@@ -539,7 +539,9 @@ const lightColorValues = {
|
|
|
539
539
|
},
|
|
540
540
|
Border: {
|
|
541
541
|
Focus: colorScale.Neutral[750],
|
|
542
|
-
Subtle: colorScale.Neutral[75]
|
|
542
|
+
Subtle: colorScale.Neutral[75],
|
|
543
|
+
// The edge of an Off control (switch, checkbox, radio): 3:1 on every card.
|
|
544
|
+
Control: colorScale.Neutral[550]
|
|
543
545
|
}
|
|
544
546
|
};
|
|
545
547
|
const darkColorValues = {
|
|
@@ -784,7 +786,8 @@ const darkColorValues = {
|
|
|
784
786
|
},
|
|
785
787
|
Border: {
|
|
786
788
|
Focus: colorScale.Neutral[200],
|
|
787
|
-
Subtle: colorScale.Neutral[825]
|
|
789
|
+
Subtle: colorScale.Neutral[825],
|
|
790
|
+
Control: colorScale.Neutral[550]
|
|
788
791
|
}
|
|
789
792
|
};
|
|
790
793
|
const colorValues = { light: lightColorValues, dark: darkColorValues };
|
|
@@ -1243,8 +1246,8 @@ const Box = as(
|
|
|
1243
1246
|
)
|
|
1244
1247
|
);
|
|
1245
1248
|
const Button_css_ts_vanilla = "";
|
|
1246
|
-
var Button$
|
|
1247
|
-
const Button = as(
|
|
1249
|
+
var Button$2 = createRuntimeFn({ defaultClassName: "_1atfpl9e _8nex5a1 _8nex5a0 _1atfpl9d x4g6301", variantClassNames: { size: { "300": "_1atfpl9f", "400": "_1atfpl9g", "500": "_1atfpl9h" }, variant: { Primary: "_1atfpl9i", Secondary: "_1atfpl9j", Success: "_1atfpl9k", Warning: "_1atfpl9l", Critical: "_1atfpl9m" }, fill: { Solid: "_1atfpl9n", Soft: "_1atfpl9o", None: "_1atfpl9p" }, outlined: { true: "_1atfpl9q" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { size: "400", variant: "Primary", fill: "Solid", radii: "Pill" }, compoundVariants: [[{ variant: "Secondary", fill: "Solid" }, "_1atfpl9x"], [{ variant: "Secondary", fill: "None" }, "_1atfpl9y"], [{ variant: "Critical", fill: "Soft" }, "_1atfpl9z"], [{ variant: "Critical", fill: "Solid" }, "_1atfpl910"], [{ fill: "Solid", outlined: true }, "_1atfpl911"], [{ variant: "Primary", fill: "Solid" }, "_1atfpl912"]] });
|
|
1250
|
+
const Button$1 = as(
|
|
1248
1251
|
({
|
|
1249
1252
|
as: AsButton = "button",
|
|
1250
1253
|
className,
|
|
@@ -1260,7 +1263,7 @@ const Button = as(
|
|
|
1260
1263
|
}, ref) => /* @__PURE__ */ jsxs(
|
|
1261
1264
|
AsButton,
|
|
1262
1265
|
{
|
|
1263
|
-
className: classNames(Button$
|
|
1266
|
+
className: classNames(Button$2({ size: size2, variant, fill, outlined, radii }), className),
|
|
1264
1267
|
"data-ui-before": before ? true : void 0,
|
|
1265
1268
|
"data-ui-after": after ? true : void 0,
|
|
1266
1269
|
...props,
|
|
@@ -16676,7 +16679,7 @@ const PageNavContent = ({
|
|
|
16676
16679
|
children: /* @__PURE__ */ jsx("div", { className: PageNavContent$1, children })
|
|
16677
16680
|
}
|
|
16678
16681
|
) });
|
|
16679
|
-
const Page = as(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
16682
|
+
const Page$1 = as(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
16680
16683
|
Box,
|
|
16681
16684
|
{
|
|
16682
16685
|
grow: "Yes",
|
|
@@ -17689,8 +17692,8 @@ const RoomHeader_css_ts_vanilla = "";
|
|
|
17689
17692
|
var Controls$1 = "cv0ofl6";
|
|
17690
17693
|
var Divider = "cv0ofl7";
|
|
17691
17694
|
var Identity = "cv0ofl3";
|
|
17692
|
-
var Mark = "cv0ofl2";
|
|
17693
|
-
var Name$
|
|
17695
|
+
var Mark$1 = "cv0ofl2";
|
|
17696
|
+
var Name$4 = "cv0ofl4";
|
|
17694
17697
|
var RoomHeader$1 = "cv0ofl0 _8nex5a1 _8nex5a0";
|
|
17695
17698
|
var Row = "cv0ofl1";
|
|
17696
17699
|
var Spacer$1 = "cv0ofl5";
|
|
@@ -17699,7 +17702,7 @@ const RoomHeaderMark = as(
|
|
|
17699
17702
|
Component,
|
|
17700
17703
|
{
|
|
17701
17704
|
"data-faces": faces || void 0,
|
|
17702
|
-
className: classNames(Mark, className),
|
|
17705
|
+
className: classNames(Mark$1, className),
|
|
17703
17706
|
...props,
|
|
17704
17707
|
ref
|
|
17705
17708
|
}
|
|
@@ -17719,7 +17722,7 @@ const RoomHeader = as(
|
|
|
17719
17722
|
}, ref) => /* @__PURE__ */ jsx(Component, { className: classNames(RoomHeader$1, className), ...props, ref, children: /* @__PURE__ */ jsxs("div", { className: Row, children: [
|
|
17720
17723
|
mark,
|
|
17721
17724
|
/* @__PURE__ */ jsxs("div", { className: Identity, children: [
|
|
17722
|
-
/* @__PURE__ */ jsx(Text, { as: nameAs, size: "H5", truncate: true, className: Name$
|
|
17725
|
+
/* @__PURE__ */ jsx(Text, { as: nameAs, size: "H5", truncate: true, className: Name$4, children: name }),
|
|
17723
17726
|
people
|
|
17724
17727
|
] }),
|
|
17725
17728
|
/* @__PURE__ */ jsx("div", { className: Spacer$1 }),
|
|
@@ -18116,7 +18119,7 @@ var Body = "_1wyqgiia _1wyqgii9";
|
|
|
18116
18119
|
var Face$1 = "_1wyqgii4";
|
|
18117
18120
|
var Head$1 = "_1wyqgii3";
|
|
18118
18121
|
var Main = "_1wyqgii2 _8nex5a1 _8nex5a0 x4g6300";
|
|
18119
|
-
var Name$
|
|
18122
|
+
var Name$3 = "_1wyqgii5";
|
|
18120
18123
|
var ObjectRow = "_1wyqgiid _1wyqgii9";
|
|
18121
18124
|
var Replies = "_1wyqgiib _8nex5a1 _8nex5a0 x4g6300 _1wyqgii9";
|
|
18122
18125
|
var RepliesUnread = "_1wyqgiic";
|
|
@@ -18176,7 +18179,7 @@ const ActivityItem = as(
|
|
|
18176
18179
|
children: [
|
|
18177
18180
|
/* @__PURE__ */ jsxs("span", { className: Head$1, children: [
|
|
18178
18181
|
/* @__PURE__ */ jsx("span", { className: Face$1, children: avatar }),
|
|
18179
|
-
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name$
|
|
18182
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name$3, children: name }),
|
|
18180
18183
|
/* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: What$1, children: what }),
|
|
18181
18184
|
/* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Time$1, children: time }),
|
|
18182
18185
|
unread && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: UnreadDot })
|
|
@@ -18239,7 +18242,7 @@ var Face = "amkbq13";
|
|
|
18239
18242
|
var FileRow = "amkbq17";
|
|
18240
18243
|
var Glyph$1 = "amkbq12";
|
|
18241
18244
|
var Head = "amkbq11";
|
|
18242
|
-
var Name$
|
|
18245
|
+
var Name$2 = "amkbq14";
|
|
18243
18246
|
var QuoteCard$1 = "amkbq10 _8nex5a1 _8nex5a0 x4g6300";
|
|
18244
18247
|
var Snippet = "amkbq16";
|
|
18245
18248
|
var Time = "amkbq15";
|
|
@@ -18294,7 +18297,7 @@ const QuoteCard = as(
|
|
|
18294
18297
|
/* @__PURE__ */ jsxs("span", { className: Head, children: [
|
|
18295
18298
|
glyph,
|
|
18296
18299
|
avatar && /* @__PURE__ */ jsx("span", { className: Face, "aria-hidden": true, children: avatar }),
|
|
18297
|
-
/* @__PURE__ */ jsx(Text, { as: "span", size: "L400", className: Name$
|
|
18300
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "L400", className: Name$2, children: name }),
|
|
18298
18301
|
/* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: Time, children: [time, source2].filter(Boolean).join(" · ") })
|
|
18299
18302
|
] }),
|
|
18300
18303
|
context === "File" ? /* @__PURE__ */ jsxs("span", { className: FileRow, children: [
|
|
@@ -18310,7 +18313,7 @@ const ReplyBar_css_ts_vanilla = "";
|
|
|
18310
18313
|
var Close = "_1p1kcxb6 _1p1kcxb4 _8nex5a1 _8nex5a0 x4g6300";
|
|
18311
18314
|
var Glyph = "_1p1kcxb1";
|
|
18312
18315
|
var Mention = "_1p1kcxb5 _1p1kcxb4 _8nex5a1 _8nex5a0 x4g6300";
|
|
18313
|
-
var Name = "_1p1kcxb3";
|
|
18316
|
+
var Name$1 = "_1p1kcxb3";
|
|
18314
18317
|
var ReplyBar$1 = "_1p1kcxb0 _8nex5a1 _8nex5a0";
|
|
18315
18318
|
var What = "_1p1kcxb2";
|
|
18316
18319
|
const ReplyBar = as(
|
|
@@ -18327,7 +18330,7 @@ const ReplyBar = as(
|
|
|
18327
18330
|
/* @__PURE__ */ jsx(Icon$2, { className: Glyph, src: Icons.ReplyArrow, size: "compact", "aria-hidden": true }),
|
|
18328
18331
|
/* @__PURE__ */ jsxs(Text, { as: "span", size: "T300", className: What, children: [
|
|
18329
18332
|
"Replying to ",
|
|
18330
|
-
/* @__PURE__ */ jsx("span", { className: Name, children: name }),
|
|
18333
|
+
/* @__PURE__ */ jsx("span", { className: Name$1, children: name }),
|
|
18331
18334
|
" ",
|
|
18332
18335
|
snippet
|
|
18333
18336
|
] }),
|
|
@@ -18349,6 +18352,389 @@ const ReplyBar = as(
|
|
|
18349
18352
|
/* @__PURE__ */ jsx("button", { type: "button", className: Close, "aria-label": "Cancel reply", onClick: onCancel, children: /* @__PURE__ */ jsx(Icon$2, { src: Icons.Cross, size: "compact", "aria-hidden": true }) })
|
|
18350
18353
|
] })
|
|
18351
18354
|
);
|
|
18355
|
+
const Lobby_css_ts_vanilla = "";
|
|
18356
|
+
var About = "pkh0681i";
|
|
18357
|
+
var AddAgentRow = "pkh0681u _8nex5a1 _8nex5a0 x4g6300";
|
|
18358
|
+
var AgentChoice = "pkh068w _8nex5a1 _8nex5a0";
|
|
18359
|
+
var AgentTile = "pkh06817 _8nex5a1 _8nex5a0";
|
|
18360
|
+
var AllSetCheck = "pkh068l";
|
|
18361
|
+
var Button = "pkh068e _8nex5a1 _8nex5a0 x4g6300";
|
|
18362
|
+
var ButtonFull = "pkh068h";
|
|
18363
|
+
var ButtonType = { Dark: "pkh068f", Outline: "pkh068g" };
|
|
18364
|
+
var CardText = "pkh06816";
|
|
18365
|
+
var ChoiceDescription = "pkh068x";
|
|
18366
|
+
var Dot = { live: "pkh0681b", off: "pkh0681c", needsYou: "pkh0681d" };
|
|
18367
|
+
var GetStarted = "pkh068i _8nex5a1 _8nex5a0";
|
|
18368
|
+
var GetStartedHead = "pkh068j";
|
|
18369
|
+
var GetStartedTitle = "pkh068k";
|
|
18370
|
+
var Glow = "pkh068t";
|
|
18371
|
+
var Hero = "pkh0686";
|
|
18372
|
+
var HeroAside = "pkh068a";
|
|
18373
|
+
var HeroText = "pkh0687";
|
|
18374
|
+
var HeroTitle = { large: "pkh0688", medium: "pkh0689" };
|
|
18375
|
+
var LastMessage = "pkh0681n";
|
|
18376
|
+
var Mark = { "32": "pkh068y", "36": "pkh068z", "40": "pkh06810", "44": "pkh06811" };
|
|
18377
|
+
var Name = "pkh06813";
|
|
18378
|
+
var NameLine = "pkh06812";
|
|
18379
|
+
var NeedsYouPill = "pkh0681t _8nex5a1 _8nex5a0 x4g6300";
|
|
18380
|
+
var Page = "pkh0683 _8nex5a1 _8nex5a0";
|
|
18381
|
+
var PageFrame = "pkh0684";
|
|
18382
|
+
var Person = "pkh0681q _8nex5a1 _8nex5a0 x4g6300";
|
|
18383
|
+
var PersonFace = "pkh0681r";
|
|
18384
|
+
var PersonName = "pkh0681s";
|
|
18385
|
+
var Progress = "pkh068m";
|
|
18386
|
+
var ProgressFill = "pkh068o";
|
|
18387
|
+
var ProgressTrack = "pkh068n";
|
|
18388
|
+
var Resume = "pkh0681f _8nex5a1 _8nex5a0 x4g6300";
|
|
18389
|
+
var RoomCard = "pkh0681g _8nex5a1 _8nex5a0";
|
|
18390
|
+
var RoomCardText = "pkh0681h";
|
|
18391
|
+
var RoomMark = { "36": "pkh0681j", "44": "pkh0681k" };
|
|
18392
|
+
var RoomRow = "pkh0681l _8nex5a1 _8nex5a0 x4g6300";
|
|
18393
|
+
var RoomRowMeta = "pkh0681o";
|
|
18394
|
+
var RoomRowText = "pkh0681m";
|
|
18395
|
+
var Secondary = "pkh0680";
|
|
18396
|
+
var Section = "pkh0685";
|
|
18397
|
+
var SectionLink = "pkh068d _8nex5a1 _8nex5a0 x4g6300";
|
|
18398
|
+
var SectionTitle = "pkh068b";
|
|
18399
|
+
var SectionTitleText = "pkh068c";
|
|
18400
|
+
var SetupChip = "pkh0681e";
|
|
18401
|
+
var StatusLine = "pkh06819";
|
|
18402
|
+
var StatusText = "pkh0681a";
|
|
18403
|
+
var Step = "pkh068p _8nex5a1 _8nex5a0 x4g6300";
|
|
18404
|
+
var StepEnd = "pkh068s";
|
|
18405
|
+
var StepMark = "pkh068q";
|
|
18406
|
+
var StepText = "pkh068r";
|
|
18407
|
+
var Tag = "pkh06814";
|
|
18408
|
+
var TileOpen = "pkh06818 _8nex5a1 _8nex5a0 x4g6300";
|
|
18409
|
+
var Upright = "pkh0682";
|
|
18410
|
+
var YourAgent = "pkh06815 _8nex5a1 _8nex5a0";
|
|
18411
|
+
const LobbyPage = as(
|
|
18412
|
+
({ as: Component = "div", className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: PageFrame, children: /* @__PURE__ */ jsx(Component, { className: classNames(Page, className), ...props, ref, children }) })
|
|
18413
|
+
);
|
|
18414
|
+
const LobbyHero = as(
|
|
18415
|
+
({ as: Component = "header", eyebrow, title, line, size: size2 = "large", aside, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(Hero, className), ...props, ref, children: [
|
|
18416
|
+
/* @__PURE__ */ jsxs("div", { className: HeroText, children: [
|
|
18417
|
+
eyebrow && /* @__PURE__ */ jsx(Text, { as: "span", size: "L400", className: Secondary, children: eyebrow }),
|
|
18418
|
+
/* @__PURE__ */ jsx(Text, { as: "h1", className: HeroTitle[size2], children: title }),
|
|
18419
|
+
line && /* @__PURE__ */ jsx(Text, { as: "p", size: "T400", className: Secondary, children: line })
|
|
18420
|
+
] }),
|
|
18421
|
+
aside && /* @__PURE__ */ jsx("div", { className: HeroAside, children: aside })
|
|
18422
|
+
] })
|
|
18423
|
+
);
|
|
18424
|
+
const LobbySectionTitle = as(
|
|
18425
|
+
({ as: Component = "div", title, link, onLink, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(SectionTitle, className), ...props, ref, children: [
|
|
18426
|
+
/* @__PURE__ */ jsx(Text, { as: "h2", size: "H5", className: SectionTitleText, children: title }),
|
|
18427
|
+
link && /* @__PURE__ */ jsx(Text, { as: "button", type: "button", size: "L400", className: SectionLink, onClick: onLink, children: link })
|
|
18428
|
+
] })
|
|
18429
|
+
);
|
|
18430
|
+
const LobbySection = as(
|
|
18431
|
+
({ as: Component = "section", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { className: classNames(Section, className), ...props, ref })
|
|
18432
|
+
);
|
|
18433
|
+
const LobbyButton = as(
|
|
18434
|
+
({ as: Component = "button", variant = "Outline", full, className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
18435
|
+
Component,
|
|
18436
|
+
{
|
|
18437
|
+
type: Component === "button" ? "button" : void 0,
|
|
18438
|
+
className: classNames(Button, ButtonType[variant], full && ButtonFull, className),
|
|
18439
|
+
...props,
|
|
18440
|
+
ref,
|
|
18441
|
+
children: /* @__PURE__ */ jsx(Text, { as: "span", size: "B300", children })
|
|
18442
|
+
}
|
|
18443
|
+
)
|
|
18444
|
+
);
|
|
18445
|
+
const LobbyProgress = as(
|
|
18446
|
+
({ as: Component = "div", done, total = 3, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(Progress, className), ...props, ref, children: [
|
|
18447
|
+
/* @__PURE__ */ jsx(
|
|
18448
|
+
"span",
|
|
18449
|
+
{
|
|
18450
|
+
className: ProgressTrack,
|
|
18451
|
+
role: "progressbar",
|
|
18452
|
+
"aria-valuemin": 0,
|
|
18453
|
+
"aria-valuemax": total,
|
|
18454
|
+
"aria-valuenow": done,
|
|
18455
|
+
"aria-label": "Get started progress",
|
|
18456
|
+
children: /* @__PURE__ */ jsx("span", { className: ProgressFill, style: { width: `${done / total * 100}%` } })
|
|
18457
|
+
}
|
|
18458
|
+
),
|
|
18459
|
+
/* @__PURE__ */ jsxs(Text, { as: "span", size: "C400", className: classNames(Secondary, Upright), children: [
|
|
18460
|
+
done,
|
|
18461
|
+
" of ",
|
|
18462
|
+
total
|
|
18463
|
+
] })
|
|
18464
|
+
] })
|
|
18465
|
+
);
|
|
18466
|
+
const LobbyStep = as(
|
|
18467
|
+
({ as: AsComponent, state, number, title, description, action: action2, onAction, className, ...props }, ref) => {
|
|
18468
|
+
const Component = AsComponent ?? (state === "Todo" ? "button" : "div");
|
|
18469
|
+
const mark = state === "Done" ? /* @__PURE__ */ jsx(Icon$2, { size: "100", src: Icons.Check, "aria-hidden": true }) : /* @__PURE__ */ jsx(Text, { as: "span", size: "L400", children: number });
|
|
18470
|
+
const text = /* @__PURE__ */ jsxs("span", { className: StepText, children: [
|
|
18471
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", children: title }),
|
|
18472
|
+
description && /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Secondary, children: description })
|
|
18473
|
+
] });
|
|
18474
|
+
return a__default.createElement(
|
|
18475
|
+
Component,
|
|
18476
|
+
{
|
|
18477
|
+
type: Component === "button" ? "button" : void 0,
|
|
18478
|
+
"data-state": state,
|
|
18479
|
+
className: classNames(Step, className),
|
|
18480
|
+
onClick: state === "Todo" ? onAction : void 0,
|
|
18481
|
+
...props,
|
|
18482
|
+
ref
|
|
18483
|
+
},
|
|
18484
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18485
|
+
/* @__PURE__ */ jsx("span", { className: StepMark, children: mark }),
|
|
18486
|
+
text,
|
|
18487
|
+
state === "Todo" && /* @__PURE__ */ jsx(Icon$2, { className: StepEnd, size: "200", src: Icons.ChevronRight, "aria-hidden": true }),
|
|
18488
|
+
state === "Done" && /* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(StepEnd, Upright), children: "Done" }),
|
|
18489
|
+
state === "Current" && action2 && /* @__PURE__ */ jsx(LobbyButton, { variant: "Dark", onClick: onAction, children: action2 })
|
|
18490
|
+
] })
|
|
18491
|
+
);
|
|
18492
|
+
}
|
|
18493
|
+
);
|
|
18494
|
+
const LobbyGetStarted = as(
|
|
18495
|
+
({
|
|
18496
|
+
as: Component = "section",
|
|
18497
|
+
done,
|
|
18498
|
+
total = 3,
|
|
18499
|
+
menu,
|
|
18500
|
+
allSet,
|
|
18501
|
+
onHide,
|
|
18502
|
+
className,
|
|
18503
|
+
children,
|
|
18504
|
+
...props
|
|
18505
|
+
}, ref) => /* @__PURE__ */ jsx(
|
|
18506
|
+
Component,
|
|
18507
|
+
{
|
|
18508
|
+
"aria-label": allSet ? "You're all set" : "Get started",
|
|
18509
|
+
className: classNames(GetStarted, className),
|
|
18510
|
+
...props,
|
|
18511
|
+
ref,
|
|
18512
|
+
children: allSet ? /* @__PURE__ */ jsxs("div", { className: GetStartedHead, children: [
|
|
18513
|
+
/* @__PURE__ */ jsx("span", { className: AllSetCheck, children: /* @__PURE__ */ jsx(Icon$2, { size: "50", src: Icons.Check, "aria-hidden": true }) }),
|
|
18514
|
+
/* @__PURE__ */ jsxs("span", { className: CardText, children: [
|
|
18515
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", children: "You’re all set" }),
|
|
18516
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(Secondary, Upright), children: "This goes away tomorrow. Your lobby becomes your everyday lobby." })
|
|
18517
|
+
] }),
|
|
18518
|
+
/* @__PURE__ */ jsx(LobbyButton, { onClick: onHide, children: "Hide now" })
|
|
18519
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18520
|
+
/* @__PURE__ */ jsxs("div", { className: GetStartedHead, children: [
|
|
18521
|
+
/* @__PURE__ */ jsx(Text, { as: "h2", size: "H6", className: GetStartedTitle, children: "Get started" }),
|
|
18522
|
+
/* @__PURE__ */ jsx(LobbyProgress, { done, total }),
|
|
18523
|
+
menu
|
|
18524
|
+
] }),
|
|
18525
|
+
children
|
|
18526
|
+
] })
|
|
18527
|
+
}
|
|
18528
|
+
)
|
|
18529
|
+
);
|
|
18530
|
+
const LobbyAgentChoice = as(
|
|
18531
|
+
({ as: Component = "div", mark, name, description, recommended, onAdd, className, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
18532
|
+
Component,
|
|
18533
|
+
{
|
|
18534
|
+
className: classNames(AgentChoice, recommended && Glow, className),
|
|
18535
|
+
...props,
|
|
18536
|
+
ref,
|
|
18537
|
+
children: [
|
|
18538
|
+
/* @__PURE__ */ jsx("span", { className: Mark["36"], children: mark }),
|
|
18539
|
+
/* @__PURE__ */ jsxs("span", { className: NameLine, children: [
|
|
18540
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name, children: name }),
|
|
18541
|
+
recommended && /* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(Tag, Upright), children: "Suggested" })
|
|
18542
|
+
] }),
|
|
18543
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: classNames(Secondary, ChoiceDescription), children: description }),
|
|
18544
|
+
/* @__PURE__ */ jsx(
|
|
18545
|
+
LobbyButton,
|
|
18546
|
+
{
|
|
18547
|
+
full: true,
|
|
18548
|
+
onClick: onAdd,
|
|
18549
|
+
"aria-label": typeof name === "string" ? `Add ${name}` : void 0,
|
|
18550
|
+
children: "Add"
|
|
18551
|
+
}
|
|
18552
|
+
)
|
|
18553
|
+
]
|
|
18554
|
+
}
|
|
18555
|
+
)
|
|
18556
|
+
);
|
|
18557
|
+
const LobbyYourAgentCard = as(
|
|
18558
|
+
({ as: Component = "div", mark, name, status, online = true, tip, onSayHi, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(YourAgent, className), ...props, ref, children: [
|
|
18559
|
+
/* @__PURE__ */ jsx("span", { className: Mark["40"], children: mark }),
|
|
18560
|
+
/* @__PURE__ */ jsxs("span", { className: CardText, children: [
|
|
18561
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name, children: name }),
|
|
18562
|
+
/* @__PURE__ */ jsxs("span", { className: StatusLine, children: [
|
|
18563
|
+
/* @__PURE__ */ jsx("span", { className: online ? Dot.live : Dot.off, "aria-hidden": true }),
|
|
18564
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(StatusText, Upright), children: status })
|
|
18565
|
+
] }),
|
|
18566
|
+
tip && /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Secondary, children: tip })
|
|
18567
|
+
] }),
|
|
18568
|
+
onSayHi && /* @__PURE__ */ jsx(LobbyButton, { onClick: onSayHi, children: "Say hi" })
|
|
18569
|
+
] })
|
|
18570
|
+
);
|
|
18571
|
+
const LobbyAgentTile = as(
|
|
18572
|
+
({ as: Component = "div", mark, name, status, detail, onOpen, onResume, className, ...props }, ref) => {
|
|
18573
|
+
let line;
|
|
18574
|
+
if (status === "Needs setup") {
|
|
18575
|
+
line = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18576
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(SetupChip, Upright), children: "Setup not finished" }),
|
|
18577
|
+
onResume && /* @__PURE__ */ jsx(
|
|
18578
|
+
Text,
|
|
18579
|
+
{
|
|
18580
|
+
as: "button",
|
|
18581
|
+
type: "button",
|
|
18582
|
+
size: "L400",
|
|
18583
|
+
className: Resume,
|
|
18584
|
+
onClick: onResume,
|
|
18585
|
+
"aria-label": `Resume setting up ${name}`,
|
|
18586
|
+
children: "Resume"
|
|
18587
|
+
}
|
|
18588
|
+
)
|
|
18589
|
+
] });
|
|
18590
|
+
} else {
|
|
18591
|
+
const label = status === "Working" ? void 0 : status;
|
|
18592
|
+
line = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18593
|
+
/* @__PURE__ */ jsx("span", { className: status === "Offline" ? Dot.off : Dot.live, "aria-hidden": true }),
|
|
18594
|
+
/* @__PURE__ */ jsxs(Text, { as: "span", size: "C400", className: classNames(StatusText, Upright), children: [
|
|
18595
|
+
label,
|
|
18596
|
+
label && detail ? " · " : null,
|
|
18597
|
+
detail
|
|
18598
|
+
] })
|
|
18599
|
+
] });
|
|
18600
|
+
}
|
|
18601
|
+
return /* @__PURE__ */ jsxs(
|
|
18602
|
+
Component,
|
|
18603
|
+
{
|
|
18604
|
+
"data-status": status,
|
|
18605
|
+
className: classNames(AgentTile, className),
|
|
18606
|
+
...props,
|
|
18607
|
+
ref,
|
|
18608
|
+
children: [
|
|
18609
|
+
onOpen && /* @__PURE__ */ jsx("button", { type: "button", className: TileOpen, onClick: onOpen, "aria-label": name }),
|
|
18610
|
+
/* @__PURE__ */ jsx("span", { className: Mark["32"], children: mark }),
|
|
18611
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: classNames(Name, ButtonFull), children: name }),
|
|
18612
|
+
/* @__PURE__ */ jsx("span", { className: StatusLine, children: line })
|
|
18613
|
+
]
|
|
18614
|
+
}
|
|
18615
|
+
);
|
|
18616
|
+
}
|
|
18617
|
+
);
|
|
18618
|
+
const LobbyRoomCard = as(
|
|
18619
|
+
({
|
|
18620
|
+
as: Component = "div",
|
|
18621
|
+
mark,
|
|
18622
|
+
name,
|
|
18623
|
+
about,
|
|
18624
|
+
live,
|
|
18625
|
+
suggested,
|
|
18626
|
+
tag = "You chose this at sign-up",
|
|
18627
|
+
joinLabel = "Join",
|
|
18628
|
+
onJoin,
|
|
18629
|
+
className,
|
|
18630
|
+
...props
|
|
18631
|
+
}, ref) => /* @__PURE__ */ jsxs(
|
|
18632
|
+
Component,
|
|
18633
|
+
{
|
|
18634
|
+
className: classNames(RoomCard, suggested && Glow, className),
|
|
18635
|
+
...props,
|
|
18636
|
+
ref,
|
|
18637
|
+
children: [
|
|
18638
|
+
/* @__PURE__ */ jsx("span", { className: RoomMark["44"], children: mark ?? /* @__PURE__ */ jsx(Icon$2, { size: "200", src: Icons.Hash, "aria-hidden": true }) }),
|
|
18639
|
+
/* @__PURE__ */ jsxs("span", { className: RoomCardText, children: [
|
|
18640
|
+
/* @__PURE__ */ jsxs("span", { className: NameLine, children: [
|
|
18641
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name, children: name }),
|
|
18642
|
+
suggested && /* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(Tag, Upright), children: tag })
|
|
18643
|
+
] }),
|
|
18644
|
+
about && /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: classNames(Secondary, About), children: about }),
|
|
18645
|
+
live && /* @__PURE__ */ jsxs("span", { className: StatusLine, children: [
|
|
18646
|
+
/* @__PURE__ */ jsx("span", { className: Dot.live, "aria-hidden": true }),
|
|
18647
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(StatusText, Upright), children: live })
|
|
18648
|
+
] })
|
|
18649
|
+
] }),
|
|
18650
|
+
onJoin && /* @__PURE__ */ jsx(LobbyButton, { onClick: onJoin, children: joinLabel })
|
|
18651
|
+
]
|
|
18652
|
+
}
|
|
18653
|
+
)
|
|
18654
|
+
);
|
|
18655
|
+
const LobbyRoomRow = as(
|
|
18656
|
+
({
|
|
18657
|
+
as: Component = "button",
|
|
18658
|
+
mark,
|
|
18659
|
+
name,
|
|
18660
|
+
lastMessage,
|
|
18661
|
+
time,
|
|
18662
|
+
unread = 0,
|
|
18663
|
+
highlight,
|
|
18664
|
+
className,
|
|
18665
|
+
...props
|
|
18666
|
+
}, ref) => /* @__PURE__ */ jsxs(
|
|
18667
|
+
Component,
|
|
18668
|
+
{
|
|
18669
|
+
type: Component === "button" ? "button" : void 0,
|
|
18670
|
+
"data-unread": unread > 0 || void 0,
|
|
18671
|
+
className: classNames(RoomRow, className),
|
|
18672
|
+
...props,
|
|
18673
|
+
ref,
|
|
18674
|
+
children: [
|
|
18675
|
+
/* @__PURE__ */ jsx("span", { className: RoomMark["36"], children: mark ?? /* @__PURE__ */ jsx(Icon$2, { size: "100", src: Icons.Hash, "aria-hidden": true }) }),
|
|
18676
|
+
/* @__PURE__ */ jsxs("span", { className: RoomRowText, children: [
|
|
18677
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: unread > 0 ? "H6" : "T300", className: Name, children: name }),
|
|
18678
|
+
lastMessage && /* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: LastMessage, children: lastMessage })
|
|
18679
|
+
] }),
|
|
18680
|
+
/* @__PURE__ */ jsxs("span", { className: RoomRowMeta, children: [
|
|
18681
|
+
time && /* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: Upright, children: time }),
|
|
18682
|
+
unread > 0 && /* @__PURE__ */ jsx(UnreadBadge, { count: unread, highlight })
|
|
18683
|
+
] })
|
|
18684
|
+
]
|
|
18685
|
+
}
|
|
18686
|
+
)
|
|
18687
|
+
);
|
|
18688
|
+
const LobbyPerson = as(
|
|
18689
|
+
({ as: Component = "button", avatar, name, className, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
18690
|
+
Component,
|
|
18691
|
+
{
|
|
18692
|
+
type: Component === "button" ? "button" : void 0,
|
|
18693
|
+
className: classNames(Person, className),
|
|
18694
|
+
...props,
|
|
18695
|
+
ref,
|
|
18696
|
+
children: [
|
|
18697
|
+
/* @__PURE__ */ jsx("span", { className: PersonFace, children: avatar }),
|
|
18698
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "C400", className: classNames(PersonName, Upright), children: name })
|
|
18699
|
+
]
|
|
18700
|
+
}
|
|
18701
|
+
)
|
|
18702
|
+
);
|
|
18703
|
+
const LobbyNeedsYouPill = as(
|
|
18704
|
+
({ as: Component = "button", count: count2, className, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
18705
|
+
Component,
|
|
18706
|
+
{
|
|
18707
|
+
type: Component === "button" ? "button" : void 0,
|
|
18708
|
+
className: classNames(NeedsYouPill, className),
|
|
18709
|
+
...props,
|
|
18710
|
+
ref,
|
|
18711
|
+
children: [
|
|
18712
|
+
/* @__PURE__ */ jsx("span", { className: Dot.needsYou, "aria-hidden": true }),
|
|
18713
|
+
/* @__PURE__ */ jsxs(Text, { as: "span", size: "L400", children: [
|
|
18714
|
+
count2,
|
|
18715
|
+
" ",
|
|
18716
|
+
count2 === 1 ? "needs" : "need",
|
|
18717
|
+
" you · Open Activity"
|
|
18718
|
+
] })
|
|
18719
|
+
]
|
|
18720
|
+
}
|
|
18721
|
+
)
|
|
18722
|
+
);
|
|
18723
|
+
const SidebarAddAgent = as(
|
|
18724
|
+
({ as: Component = "button", className, children = "Add an agent", ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
18725
|
+
Component,
|
|
18726
|
+
{
|
|
18727
|
+
type: Component === "button" ? "button" : void 0,
|
|
18728
|
+
className: classNames(AddAgentRow, className),
|
|
18729
|
+
...props,
|
|
18730
|
+
ref,
|
|
18731
|
+
children: [
|
|
18732
|
+
/* @__PURE__ */ jsx(Icon$2, { size: "200", src: Icons.Plus, "aria-hidden": true }),
|
|
18733
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "T300", children })
|
|
18734
|
+
]
|
|
18735
|
+
}
|
|
18736
|
+
)
|
|
18737
|
+
);
|
|
18352
18738
|
function ActionGroup({ actions, hint: hint$1 }) {
|
|
18353
18739
|
return /* @__PURE__ */ jsxs("div", { className: actionSection, children: [
|
|
18354
18740
|
/* @__PURE__ */ jsx("div", { className: actionGroup, role: "group", "aria-label": "Draft a PR request", children: actions.map((action$1) => /* @__PURE__ */ jsxs(
|
|
@@ -18387,7 +18773,7 @@ export {
|
|
|
18387
18773
|
AvatarImage,
|
|
18388
18774
|
Badge,
|
|
18389
18775
|
Box,
|
|
18390
|
-
Button,
|
|
18776
|
+
Button$1 as Button,
|
|
18391
18777
|
Checkbox,
|
|
18392
18778
|
Chip,
|
|
18393
18779
|
CommonsTab,
|
|
@@ -18424,6 +18810,21 @@ export {
|
|
|
18424
18810
|
InspectorHeader,
|
|
18425
18811
|
InspectorTab,
|
|
18426
18812
|
Line,
|
|
18813
|
+
LobbyAgentChoice,
|
|
18814
|
+
LobbyAgentTile,
|
|
18815
|
+
LobbyButton,
|
|
18816
|
+
LobbyGetStarted,
|
|
18817
|
+
LobbyHero,
|
|
18818
|
+
LobbyNeedsYouPill,
|
|
18819
|
+
LobbyPage,
|
|
18820
|
+
LobbyPerson,
|
|
18821
|
+
LobbyProgress,
|
|
18822
|
+
LobbyRoomCard,
|
|
18823
|
+
LobbyRoomRow,
|
|
18824
|
+
LobbySection,
|
|
18825
|
+
LobbySectionTitle,
|
|
18826
|
+
LobbyStep,
|
|
18827
|
+
LobbyYourAgentCard,
|
|
18427
18828
|
MOBILE_BREAKPOINT,
|
|
18428
18829
|
MemberTypeTag,
|
|
18429
18830
|
Menu,
|
|
@@ -18436,7 +18837,7 @@ export {
|
|
|
18436
18837
|
OverlayBackdrop,
|
|
18437
18838
|
OverlayCenter,
|
|
18438
18839
|
OverlayContainerProvider,
|
|
18439
|
-
Page,
|
|
18840
|
+
Page$1 as Page,
|
|
18440
18841
|
PageCanvas,
|
|
18441
18842
|
PageContent,
|
|
18442
18843
|
PageContentCenter,
|
|
@@ -18479,6 +18880,7 @@ export {
|
|
|
18479
18880
|
ServerBadge,
|
|
18480
18881
|
FormRow as SettingTile,
|
|
18481
18882
|
Sidebar,
|
|
18883
|
+
SidebarAddAgent,
|
|
18482
18884
|
SidebarAvatar,
|
|
18483
18885
|
SidebarContent,
|
|
18484
18886
|
SidebarFolder,
|