@ag2/weave 0.10.0 → 0.12.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/activity-item/ActivityHeader.css.d.ts +5 -0
- package/dist/components/activity-item/ActivityHeader.d.ts +11 -0
- package/dist/components/activity-item/ActivityItem.css.d.ts +18 -0
- package/dist/components/activity-item/ActivityItem.d.ts +43 -0
- package/dist/components/activity-item/index.d.ts +2 -0
- package/dist/components/avatar/Avatar.css.d.ts +36 -0
- package/dist/components/avatar/Avatar.d.ts +8 -3
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/tokens.d.ts +24 -0
- package/dist/components/badge/Badge.css.d.ts +1 -3
- package/dist/components/composer/Composer.css.d.ts +7 -0
- package/dist/components/composer/Composer.d.ts +13 -0
- package/dist/components/composer/index.d.ts +1 -0
- package/dist/components/icon/Icon.d.ts +1 -1
- package/dist/components/icon-button/IconButton.css.d.ts +12 -0
- package/dist/components/icon-button/IconButton.d.ts +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/page/Page.d.ts +35 -1
- package/dist/components/page/style.css.d.ts +6 -0
- package/dist/components/panel-switch/PanelSwitch.d.ts +2 -0
- package/dist/components/sidebar/SidebarItem.d.ts +1 -1
- package/dist/index.js +379 -100
- package/dist/index.js.map +1 -1
- package/dist/style.css +1695 -1188
- package/dist/theme/color.css.d.ts +6 -0
- package/dist/theme/config.css.d.ts +11 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/reading.d.ts +8 -0
- package/dist/theme/semantic.d.ts +92 -68
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,12 +5,13 @@ 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)" }, Reason: { you: "var(--
|
|
9
|
-
var lightTheme = "
|
|
10
|
-
var reason = { you: "var(--
|
|
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 = "_19in3xh5f";
|
|
10
|
+
var reason = { you: "var(--_19in3xh1u)", agent: "var(--_19in3xh1v)", participant: "var(--_19in3xh1w)" };
|
|
11
11
|
const config_css_ts_vanilla = "";
|
|
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)" }, transition: { Toggle: "var(--
|
|
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";
|
|
14
|
+
var uiFontFamily = "'Haas Recast Dense', InterVariable, 'Inter', var(--font-emoji, emoji), -apple-system, 'Segoe UI', 'Helvetica', 'Arial', sans-serif";
|
|
14
15
|
const vars_css_ts_vanilla = "";
|
|
15
16
|
var vars = { outline: { FocusRing: "var(--_63e9g81)" } };
|
|
16
17
|
var varsClass = "_63e9g80";
|
|
@@ -292,6 +293,10 @@ const brandFamilies = [
|
|
|
292
293
|
]
|
|
293
294
|
}
|
|
294
295
|
];
|
|
296
|
+
const notificationRed = brandColors.Red.replace(
|
|
297
|
+
/^oklch\(([\d.]+)/,
|
|
298
|
+
(_, lightness) => `oklch(${(Number(lightness) * 0.98).toFixed(9)}`
|
|
299
|
+
);
|
|
295
300
|
const lightColorValues = {
|
|
296
301
|
Identity: {
|
|
297
302
|
OnMain: colorScale.Neutral[0],
|
|
@@ -365,6 +370,12 @@ const lightColorValues = {
|
|
|
365
370
|
Variable: colorScale.Wine[700],
|
|
366
371
|
Number: colorScale.Brown[700]
|
|
367
372
|
},
|
|
373
|
+
Notification: {
|
|
374
|
+
Indicator: notificationRed,
|
|
375
|
+
Text: colorScale.SignalRed[600],
|
|
376
|
+
Fill: notificationRed,
|
|
377
|
+
OnFill: colorScale.Neutral[0]
|
|
378
|
+
},
|
|
368
379
|
Reason: {
|
|
369
380
|
you: colorScale.Red[700],
|
|
370
381
|
agent: colorScale.Indigo[700],
|
|
@@ -398,24 +409,24 @@ const lightColorValues = {
|
|
|
398
409
|
OnMain: colorScale.Neutral[0]
|
|
399
410
|
},
|
|
400
411
|
Action: {
|
|
401
|
-
Main: colorScale.
|
|
402
|
-
MainHover: colorScale.
|
|
403
|
-
MainActive: colorScale.
|
|
404
|
-
OnMain: colorScale.
|
|
412
|
+
Main: colorScale.Neutral[950],
|
|
413
|
+
MainHover: colorScale.Neutral[925],
|
|
414
|
+
MainActive: colorScale.Neutral[900],
|
|
415
|
+
OnMain: colorScale.Neutral[0]
|
|
405
416
|
},
|
|
406
417
|
Primary: {
|
|
407
|
-
ContainerSubtle: colorScale.
|
|
408
|
-
TagContainer: colorScale.
|
|
409
|
-
Main: colorScale.
|
|
410
|
-
MainHover: colorScale.
|
|
411
|
-
MainActive: colorScale.
|
|
412
|
-
MainLine: colorScale.
|
|
418
|
+
ContainerSubtle: colorScale.Neutral[50],
|
|
419
|
+
TagContainer: colorScale.Neutral[100],
|
|
420
|
+
Main: colorScale.Neutral[950],
|
|
421
|
+
MainHover: colorScale.Neutral[925],
|
|
422
|
+
MainActive: colorScale.Neutral[900],
|
|
423
|
+
MainLine: colorScale.Neutral[750],
|
|
413
424
|
OnMain: colorScale.Neutral[0],
|
|
414
|
-
Container: colorScale.
|
|
415
|
-
ContainerHover: colorScale.
|
|
416
|
-
ContainerActive: colorScale.
|
|
417
|
-
ContainerLine: colorScale.
|
|
418
|
-
OnContainer: colorScale.
|
|
425
|
+
Container: colorScale.Neutral[200],
|
|
426
|
+
ContainerHover: colorScale.Neutral[250],
|
|
427
|
+
ContainerActive: colorScale.Neutral[300],
|
|
428
|
+
ContainerLine: colorScale.Neutral[400],
|
|
429
|
+
OnContainer: colorScale.Neutral[950]
|
|
419
430
|
},
|
|
420
431
|
Secondary: {
|
|
421
432
|
Main: colorScale.Neutral[950],
|
|
@@ -478,7 +489,7 @@ const lightColorValues = {
|
|
|
478
489
|
OnContainer: colorScale.SignalRed[900]
|
|
479
490
|
},
|
|
480
491
|
Other: {
|
|
481
|
-
FocusRing: colorScale.
|
|
492
|
+
FocusRing: colorScale.Neutral[750],
|
|
482
493
|
Shadow: `color-mix(in srgb, ${colorScale.Neutral[1e3]} 20%, transparent)`,
|
|
483
494
|
Overlay: `color-mix(in srgb, ${colorScale.Neutral[1e3]} 50%, transparent)`
|
|
484
495
|
},
|
|
@@ -527,7 +538,7 @@ const lightColorValues = {
|
|
|
527
538
|
Quiet: colorScale.Neutral[575]
|
|
528
539
|
},
|
|
529
540
|
Border: {
|
|
530
|
-
Focus: colorScale.
|
|
541
|
+
Focus: colorScale.Neutral[750],
|
|
531
542
|
Subtle: colorScale.Neutral[75]
|
|
532
543
|
}
|
|
533
544
|
};
|
|
@@ -604,6 +615,12 @@ const darkColorValues = {
|
|
|
604
615
|
Variable: colorScale.Wine[200],
|
|
605
616
|
Number: colorScale.Brown[200]
|
|
606
617
|
},
|
|
618
|
+
Notification: {
|
|
619
|
+
Indicator: colorScale.SignalRed[400],
|
|
620
|
+
Text: colorScale.SignalRed[300],
|
|
621
|
+
Fill: notificationRed,
|
|
622
|
+
OnFill: colorScale.Neutral[0]
|
|
623
|
+
},
|
|
607
624
|
Reason: {
|
|
608
625
|
you: colorScale.Red[200],
|
|
609
626
|
agent: colorScale.Indigo[200],
|
|
@@ -637,24 +654,24 @@ const darkColorValues = {
|
|
|
637
654
|
OnMain: colorScale.Neutral[0]
|
|
638
655
|
},
|
|
639
656
|
Action: {
|
|
640
|
-
Main: colorScale.
|
|
641
|
-
MainHover: colorScale.
|
|
642
|
-
MainActive: colorScale.
|
|
643
|
-
OnMain: colorScale.
|
|
657
|
+
Main: colorScale.Neutral[50],
|
|
658
|
+
MainHover: colorScale.Neutral[100],
|
|
659
|
+
MainActive: colorScale.Neutral[200],
|
|
660
|
+
OnMain: colorScale.Neutral[950]
|
|
644
661
|
},
|
|
645
662
|
Primary: {
|
|
646
|
-
ContainerSubtle: colorScale.
|
|
647
|
-
TagContainer: colorScale.
|
|
648
|
-
Main: colorScale.
|
|
649
|
-
MainHover: colorScale.
|
|
650
|
-
MainActive: colorScale.
|
|
651
|
-
MainLine: colorScale.
|
|
663
|
+
ContainerSubtle: colorScale.Neutral[950],
|
|
664
|
+
TagContainer: colorScale.Neutral[800],
|
|
665
|
+
Main: colorScale.Neutral[50],
|
|
666
|
+
MainHover: colorScale.Neutral[100],
|
|
667
|
+
MainActive: colorScale.Neutral[200],
|
|
668
|
+
MainLine: colorScale.Neutral[300],
|
|
652
669
|
OnMain: colorScale.Neutral[950],
|
|
653
|
-
Container: colorScale.
|
|
654
|
-
ContainerHover: colorScale.
|
|
655
|
-
ContainerActive: colorScale.
|
|
656
|
-
ContainerLine: colorScale.
|
|
657
|
-
OnContainer: colorScale.
|
|
670
|
+
Container: colorScale.Neutral[750],
|
|
671
|
+
ContainerHover: colorScale.Neutral[700],
|
|
672
|
+
ContainerActive: colorScale.Neutral[650],
|
|
673
|
+
ContainerLine: colorScale.Neutral[600],
|
|
674
|
+
OnContainer: colorScale.Neutral[50]
|
|
658
675
|
},
|
|
659
676
|
Secondary: {
|
|
660
677
|
Main: colorScale.Neutral[50],
|
|
@@ -717,7 +734,7 @@ const darkColorValues = {
|
|
|
717
734
|
OnContainer: colorScale.SignalRed[100]
|
|
718
735
|
},
|
|
719
736
|
Other: {
|
|
720
|
-
FocusRing: colorScale.
|
|
737
|
+
FocusRing: colorScale.Neutral[200],
|
|
721
738
|
Shadow: `color-mix(in srgb, ${colorScale.Neutral[1e3]} 80%, transparent)`,
|
|
722
739
|
Overlay: `color-mix(in srgb, ${colorScale.Neutral[1e3]} 80%, transparent)`
|
|
723
740
|
},
|
|
@@ -766,7 +783,7 @@ const darkColorValues = {
|
|
|
766
783
|
Quiet: colorScale.Neutral[500]
|
|
767
784
|
},
|
|
768
785
|
Border: {
|
|
769
|
-
Focus: colorScale.
|
|
786
|
+
Focus: colorScale.Neutral[200],
|
|
770
787
|
Subtle: colorScale.Neutral[825]
|
|
771
788
|
}
|
|
772
789
|
};
|
|
@@ -831,6 +848,13 @@ const brandFamilyForHue = (hue) => {
|
|
|
831
848
|
};
|
|
832
849
|
const brandTone = (hue, step = 600) => colorScale[brandFamilyForHue(hue)][step];
|
|
833
850
|
const brandToneHex = (hue, step = 600) => toSrgbHex(brandTone(hue, step));
|
|
851
|
+
const readingTypography = {
|
|
852
|
+
body: {
|
|
853
|
+
fontSize: config.fontSize.B500,
|
|
854
|
+
lineHeight: 1.5,
|
|
855
|
+
measure: "75ch"
|
|
856
|
+
}
|
|
857
|
+
};
|
|
834
858
|
const canAlignXStart = (anchor, target, offset2) => anchor.x + offset2 + target.width <= document.documentElement.clientWidth;
|
|
835
859
|
const canAlignXCenter = (anchor, target, offset2) => {
|
|
836
860
|
const xCenter = anchor.x + anchor.width / 2;
|
|
@@ -1103,18 +1127,65 @@ var createRuntimeFn = (config2) => (options) => {
|
|
|
1103
1127
|
}
|
|
1104
1128
|
return className;
|
|
1105
1129
|
};
|
|
1106
|
-
var Avatar$2 = createRuntimeFn({ defaultClassName: "_8x64mz1 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { size: { "200": "_8x64mz2", "300": "_8x64mz3", "400": "_8x64mz4", "500": "_8x64mz5" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { size: "400", radii: "400" }, compoundVariants: [] });
|
|
1107
|
-
var AvatarFallback$1 = "
|
|
1108
|
-
var AvatarImage$1 = "
|
|
1130
|
+
var Avatar$2 = createRuntimeFn({ defaultClassName: "_8x64mz1 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { size: { "200": "_8x64mz2", "300": "_8x64mz3", "400": "_8x64mz4", "500": "_8x64mz5", inline: "_8x64mz6", stack: "_8x64mz7", compact: "_8x64mz8", standard: "_8x64mz9", large: "_8x64mza", hero: "_8x64mzb", profile: "_8x64mzc" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { size: "400", radii: "400" }, compoundVariants: [] });
|
|
1131
|
+
var AvatarFallback$1 = "_8x64mzk _8nex5a1 _8nex5a0";
|
|
1132
|
+
var AvatarImage$1 = "_8x64mzj _8nex5a1 _8nex5a0";
|
|
1133
|
+
var AvatarInitials = "_8x64mzl";
|
|
1109
1134
|
const Avatar$1 = as(
|
|
1110
|
-
({ as: AsAvatar = "span", size: size2, radii, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1135
|
+
({ as: AsAvatar = "span", size: size2, radii, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1136
|
+
AsAvatar,
|
|
1137
|
+
{
|
|
1138
|
+
"data-weave-avatar": size2 ?? "400",
|
|
1139
|
+
className: classNames(Avatar$2({ size: size2, radii }), className),
|
|
1140
|
+
...props,
|
|
1141
|
+
ref
|
|
1142
|
+
}
|
|
1143
|
+
)
|
|
1144
|
+
);
|
|
1145
|
+
const AvatarImage = as(
|
|
1146
|
+
({ as: AsAvatarImage = "img", className, kind, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1147
|
+
AsAvatarImage,
|
|
1148
|
+
{
|
|
1149
|
+
"data-avatar-kind": kind,
|
|
1150
|
+
className: classNames(AvatarImage$1, className),
|
|
1151
|
+
...props,
|
|
1152
|
+
ref
|
|
1153
|
+
}
|
|
1154
|
+
)
|
|
1111
1155
|
);
|
|
1112
|
-
const AvatarImage = as(({ as: AsAvatarImage = "img", className, ...props }, ref) => /* @__PURE__ */ jsx(AsAvatarImage, { className: classNames(AvatarImage$1, className), ...props, ref }));
|
|
1113
1156
|
const AvatarFallback = as(
|
|
1114
|
-
({ as: AsAvatarFallback = "span", className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1157
|
+
({ as: AsAvatarFallback = "span", className, kind, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1158
|
+
AsAvatarFallback,
|
|
1159
|
+
{
|
|
1160
|
+
"data-avatar-kind": kind,
|
|
1161
|
+
className: classNames(AvatarFallback$1, className),
|
|
1162
|
+
...props,
|
|
1163
|
+
ref,
|
|
1164
|
+
children: kind === "person" ? /* @__PURE__ */ jsx("span", { className: AvatarInitials, children }) : children
|
|
1165
|
+
}
|
|
1166
|
+
)
|
|
1115
1167
|
);
|
|
1168
|
+
const avatarSizes = {
|
|
1169
|
+
inline: 16,
|
|
1170
|
+
stack: 20,
|
|
1171
|
+
compact: 24,
|
|
1172
|
+
standard: 32,
|
|
1173
|
+
large: 40,
|
|
1174
|
+
hero: 56,
|
|
1175
|
+
profile: 80
|
|
1176
|
+
};
|
|
1177
|
+
const avatarRadii = { person: "50%", agent: "50%", room: "20%" };
|
|
1178
|
+
const personAvatarTones = {
|
|
1179
|
+
Mint: brandColors.Mint,
|
|
1180
|
+
Peach: brandColors.Peach,
|
|
1181
|
+
Sky: brandColors.Sky,
|
|
1182
|
+
Pink: brandColors.Pink,
|
|
1183
|
+
Lemon: brandColors.PaleYellow,
|
|
1184
|
+
Orange: brandColors.Orange
|
|
1185
|
+
};
|
|
1186
|
+
const personAvatarInk = brandColors.Ink;
|
|
1116
1187
|
const Badge_css_ts_vanilla = "";
|
|
1117
|
-
var Badge$1 = createRuntimeFn({ defaultClassName: "
|
|
1188
|
+
var Badge$1 = createRuntimeFn({ defaultClassName: "zaqhff8 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { kind: { Tag: "zaqhff6", Count: "zaqhff7" }, size: { "200": "zaqhffb", "300": "zaqhffc", "400": "zaqhffd", "500": "zaqhffe" }, variant: { Primary: "zaqhfff", Secondary: "zaqhffg", Info: "zaqhffh", Success: "zaqhffi", Warning: "zaqhffj", Critical: "zaqhffk" }, fill: { Solid: "zaqhffl", Soft: "zaqhffm", None: "zaqhffn" }, outlined: { true: "zaqhffo" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { kind: "Tag", size: "400", variant: "Primary", fill: "Soft", radii: "300" }, compoundVariants: [[{ kind: "Tag", fill: "Soft", variant: "Primary" }, "zaqhffv"], [{ kind: "Tag", fill: "Soft", variant: "Secondary" }, "zaqhffw"], [{ kind: "Tag", fill: "Soft", variant: "Info" }, "zaqhffx"], [{ kind: "Tag", fill: "Soft", variant: "Success" }, "zaqhffy"], [{ kind: "Tag", fill: "Soft", variant: "Warning" }, "zaqhffz"], [{ kind: "Tag", fill: "Soft", variant: "Critical" }, "zaqhff10"], [{ kind: "Tag" }, "zaqhff11"], [{ kind: "Count", size: "300" }, "zaqhff12"], [{ kind: "Count", size: "400" }, "zaqhff13"], [{ kind: "Count", size: "500" }, "zaqhff14"], [{ kind: "Tag", outlined: true }, "zaqhff15"], [{ variant: "Info", outlined: true }, "zaqhff16"], [{ variant: "Success", outlined: true }, "zaqhff17"], [{ variant: "Warning", outlined: true }, "zaqhff18"], [{ variant: "Critical", outlined: true }, "zaqhff19"]] });
|
|
1118
1189
|
const Badge = as(
|
|
1119
1190
|
({ as: AsBadge = "span", className, kind, size: size2, variant, fill, radii, outlined, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1120
1191
|
AsBadge,
|
|
@@ -6002,7 +6073,7 @@ const Header$1 = as(
|
|
|
6002
6073
|
)
|
|
6003
6074
|
);
|
|
6004
6075
|
const IconButton_css_ts_vanilla = "";
|
|
6005
|
-
var IconButton$1 = createRuntimeFn({ defaultClassName: "
|
|
6076
|
+
var IconButton$1 = createRuntimeFn({ defaultClassName: "dr9zbk9 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { size: { "300": "dr9zbka", "400": "dr9zbkb", "500": "dr9zbkc", "600": "dr9zbkd", compact: "dr9zbke", standard: "dr9zbkf" }, variant: { Background: "dr9zbkg", Surface: "dr9zbkh", SurfaceVariant: "dr9zbki", Primary: "dr9zbkj", Secondary: "dr9zbkk", Success: "dr9zbkl", Warning: "dr9zbkm", Critical: "dr9zbkn" }, fill: { Soft: "dr9zbko", Solid: "dr9zbkp", None: "dr9zbkq" }, outlined: { true: "dr9zbkr" }, radii: { "0": "ebramc1", "300": "ebramc2", "400": "ebramc3", "500": "ebramc4", Inherit: "ebramc0", Pill: "ebramc5" } }, defaultVariants: { size: "400", variant: "Surface", fill: "Soft", radii: "Pill" }, compoundVariants: [] });
|
|
6006
6077
|
const IconButton = as(
|
|
6007
6078
|
({ as: AsIconButton = "button", className, size: size2, variant, fill, radii, outlined, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6008
6079
|
AsIconButton,
|
|
@@ -6053,7 +6124,7 @@ const Input = forwardRef(
|
|
|
6053
6124
|
}
|
|
6054
6125
|
);
|
|
6055
6126
|
const Form_css_ts_vanilla = "";
|
|
6056
|
-
var Body$
|
|
6127
|
+
var Body$2 = "_1699xxt1";
|
|
6057
6128
|
var Card = "_1699xxt8";
|
|
6058
6129
|
var CardTone = createRuntimeFn({ defaultClassName: "", variantClassNames: { variant: { Surface: "_1699xxt9", SurfaceVariant: "_1699xxta", Background: "_1699xxtb", Primary: "_1699xxtc", Secondary: "_1699xxtd", Success: "_1699xxte", Warning: "_1699xxtf", Critical: "_1699xxtg" } }, defaultVariants: {}, compoundVariants: [] });
|
|
6059
6130
|
var Children = "_1699xxt4";
|
|
@@ -6076,7 +6147,7 @@ const FormRow = forwardRef(
|
|
|
6076
6147
|
}) : after;
|
|
6077
6148
|
return /* @__PURE__ */ jsx(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsxs("div", { ref, ...props, "data-weave-form-row": true, className: classNames(Row$1, className), children: [
|
|
6078
6149
|
before && /* @__PURE__ */ jsx("div", { "data-weave-form-before": true, children: before }),
|
|
6079
|
-
/* @__PURE__ */ jsxs("div", { className: Body$
|
|
6150
|
+
/* @__PURE__ */ jsxs("div", { className: Body$2, "data-weave-form-body": true, children: [
|
|
6080
6151
|
title && /* @__PURE__ */ jsx("div", { className: Label$4, id: labelId, children: title }),
|
|
6081
6152
|
description && /* @__PURE__ */ jsx("div", { className: Description$1, id: descriptionId, children: description }),
|
|
6082
6153
|
children && /* @__PURE__ */ jsx("div", { className: Children, "data-weave-form-children": true, children })
|
|
@@ -9862,7 +9933,7 @@ function getSideAndAlignFromPlacement(placement) {
|
|
|
9862
9933
|
}
|
|
9863
9934
|
var Root2$2 = Popper;
|
|
9864
9935
|
var Anchor = PopperAnchor;
|
|
9865
|
-
var Content$
|
|
9936
|
+
var Content$2 = PopperContent;
|
|
9866
9937
|
var Arrow = PopperArrow;
|
|
9867
9938
|
function setRef$5(ref, value) {
|
|
9868
9939
|
if (typeof ref === "function") {
|
|
@@ -11843,7 +11914,7 @@ var SelectPopperPosition = a$T.forwardRef((props, forwardedRef) => {
|
|
|
11843
11914
|
} = props;
|
|
11844
11915
|
const popperScope = usePopperScope(__scopeSelect);
|
|
11845
11916
|
return /* @__PURE__ */ jsx(
|
|
11846
|
-
Content$
|
|
11917
|
+
Content$2,
|
|
11847
11918
|
{
|
|
11848
11919
|
...popperScope,
|
|
11849
11920
|
...popperProps,
|
|
@@ -12338,7 +12409,7 @@ var ScrollUpButton = SelectScrollUpButton;
|
|
|
12338
12409
|
var ScrollDownButton = SelectScrollDownButton;
|
|
12339
12410
|
const Select_css_ts_vanilla = "";
|
|
12340
12411
|
var Chevron$1 = "_8n0hf12";
|
|
12341
|
-
var Content = "_8n0hf14";
|
|
12412
|
+
var Content$1 = "_8n0hf14";
|
|
12342
12413
|
var Description = "_8n0hf1b";
|
|
12343
12414
|
var Indicator = "_8n0hf17";
|
|
12344
12415
|
var Item$1 = "_8n0hf16";
|
|
@@ -12446,7 +12517,7 @@ const Select = forwardRef(
|
|
|
12446
12517
|
/* @__PURE__ */ jsx(Portal$1, { container, children: /* @__PURE__ */ jsxs(
|
|
12447
12518
|
Content2,
|
|
12448
12519
|
{
|
|
12449
|
-
className: Content,
|
|
12520
|
+
className: Content$1,
|
|
12450
12521
|
"data-motion": pointerMotion,
|
|
12451
12522
|
onKeyDownCapture: () => setPointerMotion(false),
|
|
12452
12523
|
position: "popper",
|
|
@@ -15826,21 +15897,27 @@ const SplashScreen = ({ children }) => /* @__PURE__ */ jsxs(Box, { className: cl
|
|
|
15826
15897
|
/* @__PURE__ */ jsx(Box, { className: SplashScreenFooter, shrink: "No", alignItems: "Center", justifyContent: "Center", children: /* @__PURE__ */ jsx(Text, { size: "H2", align: "Center", children: "AG2 Space" }) })
|
|
15827
15898
|
] });
|
|
15828
15899
|
const style_css_ts_vanilla = "";
|
|
15829
|
-
var
|
|
15830
|
-
var
|
|
15831
|
-
var
|
|
15832
|
-
var
|
|
15833
|
-
var
|
|
15834
|
-
var
|
|
15835
|
-
var
|
|
15836
|
-
var
|
|
15837
|
-
var
|
|
15838
|
-
var
|
|
15839
|
-
var
|
|
15840
|
-
var
|
|
15841
|
-
var
|
|
15842
|
-
var
|
|
15843
|
-
var
|
|
15900
|
+
var PageCanvas$1 = "_18hg0vg1";
|
|
15901
|
+
var PageContent$1 = "_18hg0vge _8nex5a1 _8nex5a0";
|
|
15902
|
+
var PageContentCenter$1 = "_18hg0vgi _8nex5a1 _8nex5a0";
|
|
15903
|
+
var PageHeader$1 = createRuntimeFn({ defaultClassName: "_18hg0vga", variantClassNames: { compact: { true: "_18hg0vgb" }, balance: { true: "_18hg0vgc" }, outlined: { true: "_18hg0vgd" } }, defaultVariants: { outlined: false }, compoundVariants: [] });
|
|
15904
|
+
var PageHeroEmpty$1 = "_18hg0vgf _8nex5a1 _8nex5a0";
|
|
15905
|
+
var PageHeroEmptyCompact = "_18hg0vgg _8nex5a1 _8nex5a0";
|
|
15906
|
+
var PageHeroSection$1 = "_18hg0vgh _8nex5a1 _8nex5a0";
|
|
15907
|
+
var PageHeroTitle = "_18hg0vgj";
|
|
15908
|
+
var PageNav$1 = createRuntimeFn({ defaultClassName: "", variantClassNames: { size: { "200": "_18hg0vg3", "300": "_18hg0vg4", "400": "_18hg0vg5" } }, defaultVariants: { size: "400" }, compoundVariants: [] });
|
|
15909
|
+
var PageNavBrand = "_18hg0vgq _18hg0vgp";
|
|
15910
|
+
var PageNavContent$1 = "_18hg0vg9";
|
|
15911
|
+
var PageNavDrawer = "_18hg0vgm";
|
|
15912
|
+
var PageNavHeader$1 = createRuntimeFn({ defaultClassName: "_18hg0vg7", variantClassNames: { outlined: { true: "_18hg0vg8" } }, defaultVariants: { outlined: false }, compoundVariants: [] });
|
|
15913
|
+
var PageNavRail = "_18hg0vgn";
|
|
15914
|
+
var PageNavResizeHandle = "_18hg0vg6";
|
|
15915
|
+
var PageNavRestore = "_18hg0vgo";
|
|
15916
|
+
var PageNavRestoreIcon = "_18hg0vgr _18hg0vgp";
|
|
15917
|
+
var PageNavRoot = "_18hg0vgk";
|
|
15918
|
+
var PageNavViewport = "_18hg0vgl";
|
|
15919
|
+
var PagePanel$1 = "_18hg0vg2";
|
|
15920
|
+
var PageRoot$1 = "_18hg0vg0";
|
|
15844
15921
|
const getResizeObserverEntry = (target, entries) => entries.find((entry) => entry.target === target);
|
|
15845
15922
|
const useResizeObserver = (onResizeCallback, observeElement) => {
|
|
15846
15923
|
const resizeObserver = useMemo(() => new ResizeObserver(onResizeCallback), [onResizeCallback]);
|
|
@@ -15912,14 +15989,10 @@ function beginDragOverlay(cursor) {
|
|
|
15912
15989
|
document.body.appendChild(overlay);
|
|
15913
15990
|
return () => overlay.remove();
|
|
15914
15991
|
}
|
|
15915
|
-
const PageRoot = ({ nav, children }) => (
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15919
|
-
nav,
|
|
15920
|
-
children
|
|
15921
|
-
] })
|
|
15922
|
-
);
|
|
15992
|
+
const PageRoot = ({ nav, children }) => /* @__PURE__ */ jsxs(Box, { grow: "Yes", className: PageRoot$1, children: [
|
|
15993
|
+
nav,
|
|
15994
|
+
children
|
|
15995
|
+
] });
|
|
15923
15996
|
const ROOM_NAV_COLLAPSED_KEY = "roomNavCollapsed";
|
|
15924
15997
|
const navCollapseListeners = /* @__PURE__ */ new Set();
|
|
15925
15998
|
let animateNavChange = false;
|
|
@@ -15956,7 +16029,7 @@ const COLLAPSED_NAV_WIDTH = 56;
|
|
|
15956
16029
|
const NAV_ENTER_MS = 240;
|
|
15957
16030
|
const NAV_EXIT_MS = 180;
|
|
15958
16031
|
const NAV_EASE = "cubic-bezier(0.32, 0.72, 0, 1)";
|
|
15959
|
-
const PageNav = ({ size: size2, children }) => {
|
|
16032
|
+
const PageNav = ({ size: size2, children, collapsedMark }) => {
|
|
15960
16033
|
const screenSize = useScreenSizeContext();
|
|
15961
16034
|
const isMobile = screenSize === ScreenSize.Mobile;
|
|
15962
16035
|
const [collapsed, toggle] = useRoomNavCollapsed();
|
|
@@ -15976,7 +16049,7 @@ const PageNav = ({ size: size2, children }) => {
|
|
|
15976
16049
|
query.addEventListener("change", update);
|
|
15977
16050
|
return () => query.removeEventListener("change", update);
|
|
15978
16051
|
}, []);
|
|
15979
|
-
const defaultWidth =
|
|
16052
|
+
const defaultWidth = { "200": 190, "300": 222, "400": 360 }[size2 ?? "400"];
|
|
15980
16053
|
const [width, setWidth] = useState(() => {
|
|
15981
16054
|
try {
|
|
15982
16055
|
const raw = localStorage.getItem(ROOM_NAV_WIDTH_KEY);
|
|
@@ -16116,10 +16189,11 @@ const PageNav = ({ size: size2, children }) => {
|
|
|
16116
16189
|
"aria-hidden": !closed || void 0,
|
|
16117
16190
|
...!closed ? { inert: "" } : {},
|
|
16118
16191
|
className: classNames(ContainerColor({ variant: "Background" }), PageNavRail),
|
|
16119
|
-
children: /* @__PURE__ */
|
|
16192
|
+
children: /* @__PURE__ */ jsxs(
|
|
16120
16193
|
IconButton,
|
|
16121
16194
|
{
|
|
16122
16195
|
ref: showButtonRef,
|
|
16196
|
+
className: PageNavRestore,
|
|
16123
16197
|
size: "standard",
|
|
16124
16198
|
variant: "Background",
|
|
16125
16199
|
radii: "400",
|
|
@@ -16127,7 +16201,17 @@ const PageNav = ({ size: size2, children }) => {
|
|
|
16127
16201
|
title: "Show room list",
|
|
16128
16202
|
"aria-expanded": false,
|
|
16129
16203
|
onClick: (evt) => toggle({ animate: evt.detail > 0 }),
|
|
16130
|
-
children:
|
|
16204
|
+
children: [
|
|
16205
|
+
collapsedMark && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: PageNavBrand, children: collapsedMark }),
|
|
16206
|
+
/* @__PURE__ */ jsx(
|
|
16207
|
+
"span",
|
|
16208
|
+
{
|
|
16209
|
+
"aria-hidden": "true",
|
|
16210
|
+
className: collapsedMark ? PageNavRestoreIcon : void 0,
|
|
16211
|
+
children: /* @__PURE__ */ jsx(Icon$2, { src: Icons.Sidebar, size: "standard", style: { transform: "scaleX(-1)" } })
|
|
16212
|
+
}
|
|
16213
|
+
)
|
|
16214
|
+
]
|
|
16131
16215
|
}
|
|
16132
16216
|
)
|
|
16133
16217
|
}
|
|
@@ -16187,6 +16271,27 @@ const Page = as(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
|
16187
16271
|
ref
|
|
16188
16272
|
}
|
|
16189
16273
|
));
|
|
16274
|
+
const PageCanvas = as(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
16275
|
+
Box,
|
|
16276
|
+
{
|
|
16277
|
+
grow: "Yes",
|
|
16278
|
+
"data-weave-page-canvas": "",
|
|
16279
|
+
className: classNames(PageCanvas$1, className),
|
|
16280
|
+
...props,
|
|
16281
|
+
ref
|
|
16282
|
+
}
|
|
16283
|
+
));
|
|
16284
|
+
const PagePanel = as(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
16285
|
+
Box,
|
|
16286
|
+
{
|
|
16287
|
+
grow: "Yes",
|
|
16288
|
+
direction: "Column",
|
|
16289
|
+
"data-weave-page-panel": "",
|
|
16290
|
+
className: classNames(ContainerColor({ variant: "Surface" }), PagePanel$1, className),
|
|
16291
|
+
...props,
|
|
16292
|
+
ref
|
|
16293
|
+
}
|
|
16294
|
+
));
|
|
16190
16295
|
const PageHeader = as(
|
|
16191
16296
|
({ className, outlined, balance, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
16192
16297
|
Header$1,
|
|
@@ -16769,7 +16874,8 @@ const UnreadBadge = as(
|
|
|
16769
16874
|
{
|
|
16770
16875
|
as: Component,
|
|
16771
16876
|
kind: "Count",
|
|
16772
|
-
variant:
|
|
16877
|
+
variant: "Critical",
|
|
16878
|
+
"data-notification": needsYou ? "mention" : "unread",
|
|
16773
16879
|
size: shown > 0 ? "400" : "200",
|
|
16774
16880
|
fill: "Solid",
|
|
16775
16881
|
radii: "Pill",
|
|
@@ -16787,14 +16893,14 @@ const UnreadBadge = as(
|
|
|
16787
16893
|
const ActivityRow_css_ts_vanilla = "";
|
|
16788
16894
|
var ActivityRow$1 = createRuntimeFn({ defaultClassName: "_3hdcuo0 _8nex5a1 _8nex5a0 x4g6300 x4g6301", variantClassNames: { layout: { panel: "_3hdcuo1", card: "_3hdcuo2" }, unread: { true: "_3hdcuo3" }, read: { true: "_3hdcuo4" }, selected: { true: "_3hdcuo5" } }, defaultVariants: { layout: "panel" }, compoundVariants: [] });
|
|
16789
16895
|
var Avatar = "_3hdcuo6";
|
|
16790
|
-
var Body = "_3hdcuo7";
|
|
16791
|
-
var Footer = "_3hdcuoh";
|
|
16896
|
+
var Body$1 = "_3hdcuo7";
|
|
16897
|
+
var Footer$1 = "_3hdcuoh";
|
|
16792
16898
|
var Header = "_3hdcuo8";
|
|
16793
16899
|
var Meta = "_3hdcuoi";
|
|
16794
16900
|
var Preview = "_3hdcuog";
|
|
16795
16901
|
var Reason = createRuntimeFn({ defaultClassName: "_3hdcuo9", variantClassNames: { tone: { you: "_3hdcuoa", agent: "_3hdcuob", participant: "_3hdcuoc" } }, defaultVariants: {}, compoundVariants: [] });
|
|
16796
|
-
var Time = "_3hdcuoe";
|
|
16797
|
-
var Title = "_3hdcuof";
|
|
16902
|
+
var Time$1 = "_3hdcuoe";
|
|
16903
|
+
var Title$1 = "_3hdcuof";
|
|
16798
16904
|
var Where = "_3hdcuod";
|
|
16799
16905
|
const ActivityRow = as(
|
|
16800
16906
|
({
|
|
@@ -16828,7 +16934,7 @@ const ActivityRow = as(
|
|
|
16828
16934
|
ref,
|
|
16829
16935
|
children: [
|
|
16830
16936
|
/* @__PURE__ */ jsx("span", { className: Avatar, children: avatar }),
|
|
16831
|
-
/* @__PURE__ */ jsxs("span", { className: Body, children: [
|
|
16937
|
+
/* @__PURE__ */ jsxs("span", { className: Body$1, children: [
|
|
16832
16938
|
/* @__PURE__ */ jsxs("span", { className: Header, children: [
|
|
16833
16939
|
/* @__PURE__ */ jsx("span", { className: Reason({ tone: read ? "participant" : reasonTone }), children: reason2 }),
|
|
16834
16940
|
/* @__PURE__ */ jsxs("span", { className: Where, children: [
|
|
@@ -16836,9 +16942,9 @@ const ActivityRow = as(
|
|
|
16836
16942
|
where
|
|
16837
16943
|
] })
|
|
16838
16944
|
] }),
|
|
16839
|
-
layout === "card" && title && /* @__PURE__ */ jsx("span", { className: Title, children: title }),
|
|
16945
|
+
layout === "card" && title && /* @__PURE__ */ jsx("span", { className: Title$1, children: title }),
|
|
16840
16946
|
/* @__PURE__ */ jsx("span", { className: Preview, children: preview }),
|
|
16841
|
-
/* @__PURE__ */ jsxs("span", { className: Footer, children: [
|
|
16947
|
+
/* @__PURE__ */ jsxs("span", { className: Footer$1, children: [
|
|
16842
16948
|
!read && (count2 > 0 || unread > 0) && /* @__PURE__ */ jsx(UnreadBadgeCenter, { children: /* @__PURE__ */ jsx(
|
|
16843
16949
|
UnreadBadge,
|
|
16844
16950
|
{
|
|
@@ -16850,7 +16956,7 @@ const ActivityRow = as(
|
|
|
16850
16956
|
unreadLabel && /* @__PURE__ */ jsx("span", { children: unreadLabel }),
|
|
16851
16957
|
meta2 && /* @__PURE__ */ jsx("span", { className: Meta, children: meta2 })
|
|
16852
16958
|
] }),
|
|
16853
|
-
/* @__PURE__ */ jsx("span", { className: Time, children: time })
|
|
16959
|
+
/* @__PURE__ */ jsx("span", { className: Time$1, children: time })
|
|
16854
16960
|
] })
|
|
16855
16961
|
]
|
|
16856
16962
|
}
|
|
@@ -17063,7 +17169,7 @@ const EmptyState = as(
|
|
|
17063
17169
|
}, ref) => /* @__PURE__ */ jsx(Component, { className: classNames(EmptyState$1, className), ...props, ref, children: /* @__PURE__ */ jsx(PageHeroEmpty, { compact, children: /* @__PURE__ */ jsx(PageHero, { icon: icon2, title, subTitle: description ?? subTitle, children: action2 ?? children }) }) })
|
|
17064
17170
|
);
|
|
17065
17171
|
const PanelSwitch_css_ts_vanilla = "";
|
|
17066
|
-
var Attention = "e7d7gk4";
|
|
17172
|
+
var Attention$1 = "e7d7gk4";
|
|
17067
17173
|
var Count = "e7d7gk5";
|
|
17068
17174
|
var CountPill = "e7d7gk6";
|
|
17069
17175
|
var Folds = "e7d7gk9";
|
|
@@ -17089,12 +17195,13 @@ const PanelSwitch = as(
|
|
|
17089
17195
|
count: count2,
|
|
17090
17196
|
countStyle = "Plain",
|
|
17091
17197
|
labelled = false,
|
|
17198
|
+
iconOnly = false,
|
|
17092
17199
|
attention = false,
|
|
17093
17200
|
className,
|
|
17094
17201
|
...props
|
|
17095
17202
|
}, ref) => {
|
|
17096
17203
|
const hasCount = count2 !== void 0 && count2 > 0;
|
|
17097
|
-
const showLabel = selected || labelled;
|
|
17204
|
+
const showLabel = (selected || labelled) && !iconOnly;
|
|
17098
17205
|
const showCount = showLabel && hasCount;
|
|
17099
17206
|
const countPill = showCount && selected && countStyle === "Pill";
|
|
17100
17207
|
const name = [
|
|
@@ -17110,7 +17217,8 @@ const PanelSwitch = as(
|
|
|
17110
17217
|
"aria-label": name,
|
|
17111
17218
|
title: label,
|
|
17112
17219
|
"data-selected": selected || void 0,
|
|
17113
|
-
"data-labelled": labelled || void 0,
|
|
17220
|
+
"data-labelled": labelled && !iconOnly || void 0,
|
|
17221
|
+
"data-icon-only": iconOnly || void 0,
|
|
17114
17222
|
"data-count-pill": countPill || void 0,
|
|
17115
17223
|
className: classNames(PanelSwitch$1, className),
|
|
17116
17224
|
...props,
|
|
@@ -17118,7 +17226,7 @@ const PanelSwitch = as(
|
|
|
17118
17226
|
children: [
|
|
17119
17227
|
/* @__PURE__ */ jsxs("span", { className: Glyph, children: [
|
|
17120
17228
|
/* @__PURE__ */ jsx(Icon$2, { src: icon2, size: "compact" }),
|
|
17121
|
-
attention && !selected && /* @__PURE__ */ jsx("span", { className: Attention })
|
|
17229
|
+
attention && !selected && /* @__PURE__ */ jsx("span", { className: Attention$1 })
|
|
17122
17230
|
] }),
|
|
17123
17231
|
showLabel && /* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: classNames(Label, Folds), "aria-hidden": true, children: label }),
|
|
17124
17232
|
showCount && /* @__PURE__ */ jsx(
|
|
@@ -17137,14 +17245,14 @@ const PanelSwitch = as(
|
|
|
17137
17245
|
}
|
|
17138
17246
|
);
|
|
17139
17247
|
const PeopleLine_css_ts_vanilla = "";
|
|
17140
|
-
var Face = "kev8vj2";
|
|
17248
|
+
var Face$1 = "kev8vj2";
|
|
17141
17249
|
var Faces = "kev8vj1";
|
|
17142
17250
|
var Live = "kev8vj3";
|
|
17143
17251
|
var PeopleLine$1 = "kev8vj0 _8nex5a1 _8nex5a0";
|
|
17144
17252
|
var Summary = "kev8vj4";
|
|
17145
17253
|
var Working = "kev8vj6";
|
|
17146
17254
|
const PeopleLineFace = as(
|
|
17147
|
-
({ as: Component = "span", size: size2 = "small", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { "data-size": size2, className: classNames(Face, className), ...props, ref })
|
|
17255
|
+
({ as: Component = "span", size: size2 = "small", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { "data-size": size2, className: classNames(Face$1, className), ...props, ref })
|
|
17148
17256
|
);
|
|
17149
17257
|
const PeopleLine = as(
|
|
17150
17258
|
({ as: Component = "div", faces, status = "Default", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
@@ -17163,14 +17271,14 @@ const PeopleLine = as(
|
|
|
17163
17271
|
)
|
|
17164
17272
|
);
|
|
17165
17273
|
const RoomHeader_css_ts_vanilla = "";
|
|
17166
|
-
var Controls = "cv0ofl6";
|
|
17274
|
+
var Controls$1 = "cv0ofl6";
|
|
17167
17275
|
var Divider = "cv0ofl7";
|
|
17168
17276
|
var Identity = "cv0ofl3";
|
|
17169
17277
|
var Mark = "cv0ofl2";
|
|
17170
|
-
var Name = "cv0ofl4";
|
|
17278
|
+
var Name$1 = "cv0ofl4";
|
|
17171
17279
|
var RoomHeader$1 = "cv0ofl0 _8nex5a1 _8nex5a0";
|
|
17172
17280
|
var Row = "cv0ofl1";
|
|
17173
|
-
var Spacer = "cv0ofl5";
|
|
17281
|
+
var Spacer$1 = "cv0ofl5";
|
|
17174
17282
|
const RoomHeaderMark = as(
|
|
17175
17283
|
({ as: Component = "span", faces, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
17176
17284
|
Component,
|
|
@@ -17196,15 +17304,47 @@ const RoomHeader = as(
|
|
|
17196
17304
|
}, ref) => /* @__PURE__ */ jsx(Component, { className: classNames(RoomHeader$1, className), ...props, ref, children: /* @__PURE__ */ jsxs("div", { className: Row, children: [
|
|
17197
17305
|
mark,
|
|
17198
17306
|
/* @__PURE__ */ jsxs("div", { className: Identity, children: [
|
|
17199
|
-
/* @__PURE__ */ jsx(Text, { as: nameAs, size: "H5", truncate: true, className: Name, children: name }),
|
|
17307
|
+
/* @__PURE__ */ jsx(Text, { as: nameAs, size: "H5", truncate: true, className: Name$1, children: name }),
|
|
17200
17308
|
people
|
|
17201
17309
|
] }),
|
|
17202
|
-
/* @__PURE__ */ jsx("div", { className: Spacer }),
|
|
17203
|
-
controls && /* @__PURE__ */ jsx("div", { className: Controls, children: controls }),
|
|
17310
|
+
/* @__PURE__ */ jsx("div", { className: Spacer$1 }),
|
|
17311
|
+
controls && /* @__PURE__ */ jsx("div", { className: Controls$1, children: controls }),
|
|
17204
17312
|
controls && panels && /* @__PURE__ */ jsx("div", { className: Divider, "aria-hidden": true }),
|
|
17205
17313
|
panels
|
|
17206
17314
|
] }) })
|
|
17207
17315
|
);
|
|
17316
|
+
const Composer_css_ts_vanilla = "";
|
|
17317
|
+
var Actions$1 = "_1ejw1qz3";
|
|
17318
|
+
var ActionsAfter = "_1ejw1qz5";
|
|
17319
|
+
var ActionsBefore = "_1ejw1qz4";
|
|
17320
|
+
var Composer$1 = "_1ejw1qz0";
|
|
17321
|
+
var Content = "_1ejw1qz2";
|
|
17322
|
+
var Footer = "_1ejw1qz6";
|
|
17323
|
+
var Surface = "_1ejw1qz1";
|
|
17324
|
+
const Composer = as(
|
|
17325
|
+
({
|
|
17326
|
+
as: Component = "div",
|
|
17327
|
+
context,
|
|
17328
|
+
actionsBefore,
|
|
17329
|
+
actionsAfter,
|
|
17330
|
+
bottom,
|
|
17331
|
+
footer,
|
|
17332
|
+
children,
|
|
17333
|
+
className,
|
|
17334
|
+
...props
|
|
17335
|
+
}, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(Composer$1, className), ...props, ref, children: [
|
|
17336
|
+
/* @__PURE__ */ jsxs("div", { className: Surface, children: [
|
|
17337
|
+
context,
|
|
17338
|
+
/* @__PURE__ */ jsx("div", { className: Content, children }),
|
|
17339
|
+
(actionsBefore || actionsAfter) && /* @__PURE__ */ jsxs("div", { className: Actions$1, children: [
|
|
17340
|
+
/* @__PURE__ */ jsx("div", { className: ActionsBefore, children: actionsBefore }),
|
|
17341
|
+
/* @__PURE__ */ jsx("div", { className: ActionsAfter, children: actionsAfter })
|
|
17342
|
+
] }),
|
|
17343
|
+
bottom
|
|
17344
|
+
] }),
|
|
17345
|
+
footer && /* @__PURE__ */ jsx("div", { className: Footer, children: footer })
|
|
17346
|
+
] })
|
|
17347
|
+
);
|
|
17208
17348
|
const TypeTile_css_ts_vanilla = "";
|
|
17209
17349
|
var TypeTile$1 = "_26nx250 _8nex5a1 _8nex5a0";
|
|
17210
17350
|
var TypeTileGlyph = { "200": "_26nx254", "300": "_26nx255", "500": "_26nx256" };
|
|
@@ -17551,6 +17691,133 @@ const InspectorTab = as(
|
|
|
17551
17691
|
}
|
|
17552
17692
|
)
|
|
17553
17693
|
);
|
|
17694
|
+
const ActivityItem_css_ts_vanilla = "";
|
|
17695
|
+
var Action = "_1wyqgiii _8nex5a1 _8nex5a0 x4g6300";
|
|
17696
|
+
var Actions = "_1wyqgiie _1wyqgii9";
|
|
17697
|
+
var ActivityItem$1 = "_1wyqgii0 _8nex5a1 _8nex5a0";
|
|
17698
|
+
var Attention = "_1wyqgiif";
|
|
17699
|
+
var AttentionBreathing = "_1wyqgiih";
|
|
17700
|
+
var Body = "_1wyqgiia _1wyqgii9";
|
|
17701
|
+
var Face = "_1wyqgii4";
|
|
17702
|
+
var Head = "_1wyqgii3";
|
|
17703
|
+
var Main = "_1wyqgii2 _8nex5a1 _8nex5a0 x4g6300";
|
|
17704
|
+
var Name = "_1wyqgii5";
|
|
17705
|
+
var ObjectRow = "_1wyqgiid _1wyqgii9";
|
|
17706
|
+
var Replies = "_1wyqgiib _8nex5a1 _8nex5a0 x4g6300 _1wyqgii9";
|
|
17707
|
+
var RepliesUnread = "_1wyqgiic";
|
|
17708
|
+
var SelectedBar = "_1wyqgii1";
|
|
17709
|
+
var Time = "_1wyqgii7";
|
|
17710
|
+
var UnreadDot = "_1wyqgii8";
|
|
17711
|
+
var What = "_1wyqgii6";
|
|
17712
|
+
const ActivityItem = as(
|
|
17713
|
+
({
|
|
17714
|
+
as: Component = "div",
|
|
17715
|
+
avatar,
|
|
17716
|
+
name,
|
|
17717
|
+
what,
|
|
17718
|
+
time,
|
|
17719
|
+
body,
|
|
17720
|
+
unread = false,
|
|
17721
|
+
read = false,
|
|
17722
|
+
attention,
|
|
17723
|
+
selected = false,
|
|
17724
|
+
replies,
|
|
17725
|
+
object,
|
|
17726
|
+
actions,
|
|
17727
|
+
actionsShown = false,
|
|
17728
|
+
onOpen,
|
|
17729
|
+
label,
|
|
17730
|
+
className,
|
|
17731
|
+
...props
|
|
17732
|
+
}, ref) => /* @__PURE__ */ jsxs(
|
|
17733
|
+
Component,
|
|
17734
|
+
{
|
|
17735
|
+
"data-read": read || void 0,
|
|
17736
|
+
"data-selected": selected || void 0,
|
|
17737
|
+
className: classNames(ActivityItem$1, className),
|
|
17738
|
+
...props,
|
|
17739
|
+
ref,
|
|
17740
|
+
children: [
|
|
17741
|
+
selected && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: SelectedBar }),
|
|
17742
|
+
attention && /* @__PURE__ */ jsx(
|
|
17743
|
+
"span",
|
|
17744
|
+
{
|
|
17745
|
+
"aria-hidden": true,
|
|
17746
|
+
className: classNames(Attention, attention === "breathing" && AttentionBreathing)
|
|
17747
|
+
}
|
|
17748
|
+
),
|
|
17749
|
+
/* @__PURE__ */ jsxs(
|
|
17750
|
+
"button",
|
|
17751
|
+
{
|
|
17752
|
+
type: "button",
|
|
17753
|
+
className: Main,
|
|
17754
|
+
"aria-label": [
|
|
17755
|
+
label ?? `${name} ${what}, ${time}`,
|
|
17756
|
+
unread && "unread",
|
|
17757
|
+
attention && "needs you"
|
|
17758
|
+
].filter(Boolean).join(", "),
|
|
17759
|
+
"aria-current": selected ? "true" : void 0,
|
|
17760
|
+
onClick: onOpen,
|
|
17761
|
+
children: [
|
|
17762
|
+
/* @__PURE__ */ jsxs("span", { className: Head, children: [
|
|
17763
|
+
/* @__PURE__ */ jsx("span", { className: Face, children: avatar }),
|
|
17764
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "H6", className: Name, children: name }),
|
|
17765
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: What, children: what }),
|
|
17766
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "T200", className: Time, children: time }),
|
|
17767
|
+
unread && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: UnreadDot })
|
|
17768
|
+
] }),
|
|
17769
|
+
body && /* @__PURE__ */ jsx(Text, { as: "span", size: "T300", className: Body, children: body })
|
|
17770
|
+
]
|
|
17771
|
+
}
|
|
17772
|
+
),
|
|
17773
|
+
object && /* @__PURE__ */ jsx("div", { className: ObjectRow, children: object }),
|
|
17774
|
+
replies && /* @__PURE__ */ jsxs("button", { type: "button", className: Replies, onClick: replies.onOpen, children: [
|
|
17775
|
+
/* @__PURE__ */ jsx(Text, { as: "span", size: "L400", children: replies.total }),
|
|
17776
|
+
replies.unread && /* @__PURE__ */ jsxs(Text, { as: "span", size: "L400", className: RepliesUnread, children: [
|
|
17777
|
+
"· ",
|
|
17778
|
+
replies.unread
|
|
17779
|
+
] })
|
|
17780
|
+
] }),
|
|
17781
|
+
actions && /* @__PURE__ */ jsx("div", { className: Actions, "data-pinned": actionsShown || void 0, children: actions })
|
|
17782
|
+
]
|
|
17783
|
+
}
|
|
17784
|
+
)
|
|
17785
|
+
);
|
|
17786
|
+
const ActivityItemAction = as(
|
|
17787
|
+
({ as: Component = "button", label, icon: icon2, primary = false, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
17788
|
+
Component,
|
|
17789
|
+
{
|
|
17790
|
+
type: Component === "button" ? "button" : void 0,
|
|
17791
|
+
"aria-label": label,
|
|
17792
|
+
title: label,
|
|
17793
|
+
"data-labelled": !icon2 || void 0,
|
|
17794
|
+
"data-primary": primary || void 0,
|
|
17795
|
+
className: classNames(Action, className),
|
|
17796
|
+
...props,
|
|
17797
|
+
ref,
|
|
17798
|
+
children: icon2 ? /* @__PURE__ */ jsx(Icon$2, { src: icon2, size: "standard" }) : /* @__PURE__ */ jsx(Text, { as: "span", size: "B400", children: label })
|
|
17799
|
+
}
|
|
17800
|
+
)
|
|
17801
|
+
);
|
|
17802
|
+
const ActivityHeader_css_ts_vanilla = "";
|
|
17803
|
+
var ActivityHeader$1 = "_1yfy4k20 _8nex5a1 _8nex5a0";
|
|
17804
|
+
var Controls = "_1yfy4k23";
|
|
17805
|
+
var Spacer = "_1yfy4k24";
|
|
17806
|
+
var Title = "_1yfy4k22";
|
|
17807
|
+
var TitleRow = "_1yfy4k21";
|
|
17808
|
+
const ActivityHeader = as(
|
|
17809
|
+
({ as: Component = "div", title, actions, filters, after, className, ...props }, ref) => /* @__PURE__ */ jsxs(Component, { className: classNames(ActivityHeader$1, className), ...props, ref, children: [
|
|
17810
|
+
/* @__PURE__ */ jsxs("div", { className: TitleRow, children: [
|
|
17811
|
+
/* @__PURE__ */ jsx(Text, { as: "h2", size: "H6", className: Title, children: title }),
|
|
17812
|
+
actions
|
|
17813
|
+
] }),
|
|
17814
|
+
(filters || after) && /* @__PURE__ */ jsxs("div", { className: Controls, children: [
|
|
17815
|
+
filters,
|
|
17816
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: Spacer }),
|
|
17817
|
+
after
|
|
17818
|
+
] })
|
|
17819
|
+
] })
|
|
17820
|
+
);
|
|
17554
17821
|
function ActionGroup({ actions, hint: hint$1 }) {
|
|
17555
17822
|
return /* @__PURE__ */ jsxs("div", { className: actionSection, children: [
|
|
17556
17823
|
/* @__PURE__ */ jsx("div", { className: actionGroup, role: "group", "aria-label": "Draft a PR request", children: actions.map((action$1) => /* @__PURE__ */ jsxs(
|
|
@@ -17576,6 +17843,9 @@ export {
|
|
|
17576
17843
|
AGENT_STATE_MARKS,
|
|
17577
17844
|
ActionGroup,
|
|
17578
17845
|
ActivityGroup,
|
|
17846
|
+
ActivityHeader,
|
|
17847
|
+
ActivityItem,
|
|
17848
|
+
ActivityItemAction,
|
|
17579
17849
|
ActivityRow,
|
|
17580
17850
|
AgentGlyph,
|
|
17581
17851
|
AgentMark,
|
|
@@ -17592,6 +17862,7 @@ export {
|
|
|
17592
17862
|
CommonsTab,
|
|
17593
17863
|
CommonsTabStrip,
|
|
17594
17864
|
ComposeIcon,
|
|
17865
|
+
Composer,
|
|
17595
17866
|
CrossSizeVariant,
|
|
17596
17867
|
CurrentBoundary,
|
|
17597
17868
|
Icon as CurrentIcon,
|
|
@@ -17633,6 +17904,7 @@ export {
|
|
|
17633
17904
|
OverlayCenter,
|
|
17634
17905
|
OverlayContainerProvider,
|
|
17635
17906
|
Page,
|
|
17907
|
+
PageCanvas,
|
|
17636
17908
|
PageContent,
|
|
17637
17909
|
PageContentCenter,
|
|
17638
17910
|
PageHeader,
|
|
@@ -17642,6 +17914,7 @@ export {
|
|
|
17642
17914
|
PageNav,
|
|
17643
17915
|
PageNavContent,
|
|
17644
17916
|
PageNavHeader,
|
|
17917
|
+
PagePanel,
|
|
17645
17918
|
PageRoot,
|
|
17646
17919
|
PanelSwitch,
|
|
17647
17920
|
PanelSwitchGroup,
|
|
@@ -17709,6 +17982,8 @@ export {
|
|
|
17709
17982
|
UnreadBadgeCenter,
|
|
17710
17983
|
abbreviateCount,
|
|
17711
17984
|
as,
|
|
17985
|
+
avatarRadii,
|
|
17986
|
+
avatarSizes,
|
|
17712
17987
|
blueAccent,
|
|
17713
17988
|
brandColors,
|
|
17714
17989
|
brandFamilies,
|
|
@@ -17736,12 +18011,16 @@ export {
|
|
|
17736
18011
|
motion,
|
|
17737
18012
|
mountAliveMark,
|
|
17738
18013
|
percent,
|
|
18014
|
+
personAvatarInk,
|
|
18015
|
+
personAvatarTones,
|
|
17739
18016
|
pxToRem,
|
|
18017
|
+
readingTypography,
|
|
17740
18018
|
reason,
|
|
17741
18019
|
resolveCurrentPalette,
|
|
17742
18020
|
toRem,
|
|
17743
18021
|
toSrgbHex,
|
|
17744
18022
|
typeTileIcon,
|
|
18023
|
+
uiFontFamily,
|
|
17745
18024
|
useElementSizeObserver,
|
|
17746
18025
|
useOverlayContainer,
|
|
17747
18026
|
usePopOutContainer,
|