@ag2/weave 0.5.1 → 0.6.0-direction-d.2

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.
Files changed (147) hide show
  1. package/DIRECTION_D_PREVIEW.json +6 -0
  2. package/MATERIAL-SYMBOLS-LICENSE.txt +202 -0
  3. package/dist/components/activity-card/ActivityCard.d.ts +26 -0
  4. package/dist/components/activity-card/index.d.ts +1 -0
  5. package/dist/components/avatar/Avatar.css.d.ts +25 -0
  6. package/dist/components/avatar/Avatar.d.ts +2 -1
  7. package/dist/components/badge/Badge.css.d.ts +2 -0
  8. package/dist/components/badge/Badge.d.ts +1 -1
  9. package/dist/components/banner/Banner.d.ts +14 -0
  10. package/dist/components/banner/index.d.ts +1 -0
  11. package/dist/components/box/Box.css.d.ts +9 -0
  12. package/dist/components/box/Box.d.ts +1 -1
  13. package/dist/components/button/Button.css.d.ts +3 -1
  14. package/dist/components/button/Button.d.ts +1 -1
  15. package/dist/components/button-group/ButtonGroup.css.d.ts +2 -0
  16. package/dist/components/button-group/ButtonGroup.d.ts +16 -0
  17. package/dist/components/button-group/index.d.ts +1 -0
  18. package/dist/components/call/Call.css.d.ts +18 -0
  19. package/dist/components/call/Call.d.ts +46 -0
  20. package/dist/components/call/CallMicrophoneButton.d.ts +15 -0
  21. package/dist/components/call/index.d.ts +2 -0
  22. package/dist/components/card/Card.css.d.ts +2 -0
  23. package/dist/components/card/Card.d.ts +32 -0
  24. package/dist/components/card/index.d.ts +1 -0
  25. package/dist/components/checkbox/Checkbox.d.ts +1 -0
  26. package/dist/components/chip/Chip.css.d.ts +3 -1
  27. package/dist/components/chip/Chip.d.ts +1 -1
  28. package/dist/components/composer/Composer.css.d.ts +22 -0
  29. package/dist/components/composer/Composer.d.ts +41 -0
  30. package/dist/components/composer/index.d.ts +1 -0
  31. package/dist/components/content-card/ContentCard.css.d.ts +3 -0
  32. package/dist/components/content-card/ContentCard.d.ts +37 -0
  33. package/dist/components/content-card/index.d.ts +1 -0
  34. package/dist/components/date-time/DateTime.d.ts +17 -0
  35. package/dist/components/date-time/index.d.ts +1 -0
  36. package/dist/components/dialog-frame/DialogFrame.css.d.ts +2 -0
  37. package/dist/components/dialog-frame/DialogFrame.d.ts +17 -0
  38. package/dist/components/dialog-frame/index.d.ts +1 -0
  39. package/dist/components/dock/Dock.css.d.ts +5 -0
  40. package/dist/components/dock/Dock.d.ts +14 -0
  41. package/dist/components/dock/index.d.ts +1 -0
  42. package/dist/components/file-attachment/FileAttachment.css.d.ts +1 -0
  43. package/dist/components/file-attachment/FileAttachment.d.ts +10 -0
  44. package/dist/components/file-attachment/index.d.ts +1 -0
  45. package/dist/components/floating-toolbar/FloatingToolbar.css.d.ts +1 -0
  46. package/dist/components/floating-toolbar/FloatingToolbar.d.ts +14 -0
  47. package/dist/components/floating-toolbar/index.d.ts +1 -0
  48. package/dist/components/folder-field/FolderField.d.ts +12 -0
  49. package/dist/components/folder-field/index.d.ts +1 -0
  50. package/dist/components/icon/Icons.d.ts +1 -1
  51. package/dist/components/icon-button/IconButton.css.d.ts +2 -0
  52. package/dist/components/icon-button/IconButton.d.ts +1 -1
  53. package/dist/components/identity/Identity.css.d.ts +32 -0
  54. package/dist/components/identity/Identity.d.ts +58 -0
  55. package/dist/components/identity/IdentityLists.d.ts +22 -0
  56. package/dist/components/identity/index.d.ts +2 -0
  57. package/dist/components/index.d.ts +32 -0
  58. package/dist/components/input/Input.css.d.ts +2 -0
  59. package/dist/components/input/Input.d.ts +1 -1
  60. package/dist/components/list-row/ListRow.css.d.ts +2 -0
  61. package/dist/components/list-row/ListRow.d.ts +11 -0
  62. package/dist/components/list-row/index.d.ts +1 -0
  63. package/dist/components/menu/MenuItem.css.d.ts +2 -0
  64. package/dist/components/menu/MenuItem.d.ts +1 -1
  65. package/dist/components/menu-button/MenuButton.css.d.ts +1 -0
  66. package/dist/components/menu-button/MenuButton.d.ts +31 -0
  67. package/dist/components/menu-button/index.d.ts +1 -0
  68. package/dist/components/motion/Motion.css.d.ts +3 -0
  69. package/dist/components/motion/Motion.d.ts +9 -0
  70. package/dist/components/motion/index.d.ts +1 -0
  71. package/dist/components/nav/Nav.css.d.ts +31 -0
  72. package/dist/components/nav/Nav.d.ts +52 -0
  73. package/dist/components/nav/index.d.ts +1 -0
  74. package/dist/components/page/Page.d.ts +1 -1
  75. package/dist/components/page/style.css.d.ts +2 -2
  76. package/dist/components/page-state/EmptyState.d.ts +12 -0
  77. package/dist/components/page-state/ErrorState.d.ts +9 -0
  78. package/dist/components/page-state/LoadingState.d.ts +5 -0
  79. package/dist/components/page-state/PageState.css.d.ts +3 -0
  80. package/dist/components/page-state/PageTitleHeader.d.ts +13 -0
  81. package/dist/components/page-state/index.d.ts +4 -0
  82. package/dist/components/password-input/PasswordInput.d.ts +7 -0
  83. package/dist/components/password-input/index.d.ts +1 -0
  84. package/dist/components/person-avatar/PersonAvatar.d.ts +6 -0
  85. package/dist/components/person-avatar/index.d.ts +1 -0
  86. package/dist/components/pill/Pill.d.ts +11 -0
  87. package/dist/components/pill/index.d.ts +1 -0
  88. package/dist/components/pop-out/PopOut.css.d.ts +1 -0
  89. package/dist/components/power/Power.css.d.ts +1 -0
  90. package/dist/components/power/Power.d.ts +24 -0
  91. package/dist/components/power/index.d.ts +1 -0
  92. package/dist/components/presence/Presence.css.d.ts +39 -0
  93. package/dist/components/presence/Presence.d.ts +20 -0
  94. package/dist/components/presence/index.d.ts +1 -0
  95. package/dist/components/progress-bar/ProgressBar.css.d.ts +2 -0
  96. package/dist/components/progress-bar/ProgressBar.d.ts +1 -1
  97. package/dist/components/scroll/Scroll.d.ts +1 -1
  98. package/dist/components/select/Select.css.d.ts +3 -0
  99. package/dist/components/select/Select.d.ts +21 -0
  100. package/dist/components/select/index.d.ts +1 -0
  101. package/dist/components/sequence-card/SequenceCard.d.ts +2 -2
  102. package/dist/components/sequence-card/style.css.d.ts +18 -2
  103. package/dist/components/settings-shell/SettingsShell.css.d.ts +6 -0
  104. package/dist/components/settings-shell/SettingsShell.d.ts +31 -0
  105. package/dist/components/settings-shell/index.d.ts +1 -0
  106. package/dist/components/sidebar/Sidebar.css.d.ts +2 -2
  107. package/dist/components/sidebar/SidebarItem.d.ts +2 -1
  108. package/dist/components/skeleton/Skeleton.css.d.ts +28 -0
  109. package/dist/components/skeleton/Skeleton.d.ts +10 -0
  110. package/dist/components/skeleton/index.d.ts +1 -0
  111. package/dist/components/spinner/Spinner.css.d.ts +5 -0
  112. package/dist/components/spinner/Spinner.d.ts +1 -0
  113. package/dist/components/split-button/SplitButton.css.d.ts +4 -0
  114. package/dist/components/split-button/SplitButton.d.ts +16 -0
  115. package/dist/components/split-button/index.d.ts +1 -0
  116. package/dist/components/tab-bar/TabBar.d.ts +12 -0
  117. package/dist/components/tab-bar/index.d.ts +1 -0
  118. package/dist/components/text/Text.css.d.ts +15 -0
  119. package/dist/components/text/Text.d.ts +1 -1
  120. package/dist/components/text-area/TextArea.css.d.ts +2 -3
  121. package/dist/components/text-area/TextArea.d.ts +1 -1
  122. package/dist/components/timeline/Timeline.css.d.ts +24 -0
  123. package/dist/components/timeline/Timeline.d.ts +51 -0
  124. package/dist/components/timeline/index.d.ts +1 -0
  125. package/dist/components/tooltip/Hint.d.ts +13 -0
  126. package/dist/components/tooltip/Tooltip.css.d.ts +2 -0
  127. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  128. package/dist/components/tooltip/index.d.ts +1 -0
  129. package/dist/components/typing-indicator/TypingIndicator.css.d.ts +7 -0
  130. package/dist/components/unread-badge/UnreadBadge.css.d.ts +2 -0
  131. package/dist/components/unread-badge/UnreadBadge.d.ts +13 -0
  132. package/dist/components/unread-badge/index.d.ts +1 -0
  133. package/dist/components/variant.css.d.ts +2 -0
  134. package/dist/components/wavy-progress/WavyProgress.css.d.ts +3 -0
  135. package/dist/components/wavy-progress/WavyProgress.d.ts +8 -0
  136. package/dist/components/wavy-progress/index.d.ts +1 -0
  137. package/dist/index.js +5854 -4497
  138. package/dist/index.js.map +1 -1
  139. package/dist/style.css +1671 -609
  140. package/dist/styles/ContainerColor.css.d.ts +1 -0
  141. package/dist/theme/color.css.d.ts +1 -0
  142. package/dist/theme/config.css.d.ts +23 -0
  143. package/dist/theme/index.d.ts +1 -0
  144. package/dist/theme/review.css.d.ts +115 -0
  145. package/dist/utils/rovingFocus.d.ts +3 -0
  146. package/package.json +11 -75
  147. package/CHANGELOG.md +0 -239
@@ -0,0 +1,41 @@
1
+ import { ReactNode } from "react";
2
+ import { IconSrc } from "../icon";
3
+ export declare type ComposerAction = {
4
+ id: string;
5
+ label: string;
6
+ icon: IconSrc;
7
+ onClick: () => void;
8
+ pressed?: boolean;
9
+ disabled?: boolean;
10
+ };
11
+ export declare type ComposerState = {
12
+ disabled: boolean;
13
+ busy: boolean;
14
+ };
15
+ export declare type ComposerSlot = ReactNode | ((state: ComposerState) => ReactNode);
16
+ export declare type ComposerShellProps = {
17
+ editor: (state: ComposerState) => ReactNode;
18
+ /** Inline keeps leading controls, the editor and Send on one row. */
19
+ layout?: "stacked" | "inline";
20
+ /** Disable when the client already supplies the outer page spacing. */
21
+ inset?: boolean;
22
+ before?: ComposerSlot;
23
+ after?: ComposerSlot;
24
+ /** Extra content inside the surface, below the editing row. */
25
+ bottom?: ComposerSlot;
26
+ actions?: ComposerAction[];
27
+ attachments?: ReactNode;
28
+ context?: ReactNode;
29
+ footer?: ReactNode;
30
+ disabled?: boolean;
31
+ busy?: boolean;
32
+ canSend?: boolean;
33
+ onSend: () => void;
34
+ label?: string;
35
+ sendLabel?: string;
36
+ };
37
+ /** The client owns the editor, drafts, key bindings, uploads and sending. */
38
+ export declare const ComposerShell: ({ editor, layout, inset, before, after, bottom, actions, attachments, context, footer, disabled, busy, canSend, onSend, label, sendLabel, }: ComposerShellProps) => JSX.Element;
39
+ export declare const ComposerPlaceholder: ({ children }: {
40
+ children: ReactNode;
41
+ }) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./Composer";
@@ -0,0 +1,3 @@
1
+ export declare const Grid: string;
2
+ export declare const Link: string;
3
+ export declare const ScrollTop: string;
@@ -0,0 +1,37 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare const CardGrid: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
3
+ export declare type RoomCardProps = {
4
+ name: string;
5
+ description?: ReactNode;
6
+ detail?: ReactNode;
7
+ avatar?: ReactNode;
8
+ actions?: ReactNode;
9
+ children?: ReactNode;
10
+ };
11
+ export declare const RoomCard: ({ name, description, detail, avatar, actions, children, }: RoomCardProps) => JSX.Element;
12
+ export declare type LinkPreviewProps = {
13
+ title: string;
14
+ href: string;
15
+ description?: string;
16
+ site?: string;
17
+ media?: ReactNode;
18
+ };
19
+ /** Receives fetched metadata; no network work, HTML injection or media authentication. */
20
+ export declare const LinkPreview: ({ title, href, description, site, media }: LinkPreviewProps) => JSX.Element;
21
+ export declare const ScrollTopContainer: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, Omit<any, "as"> & {
22
+ display?: "Flex" | "InlineFlex" | undefined;
23
+ direction?: "Inherit" | "Row" | "RowReverse" | "Column" | "ColumnReverse" | undefined;
24
+ wrap?: "Inherit" | "NoWrap" | "Wrap" | "WrapReverse" | undefined;
25
+ justifyContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
26
+ justifyItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
27
+ justifySelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
28
+ alignContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
29
+ alignItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
30
+ alignSelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
31
+ gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "Inherit" | "50" | "250" | undefined;
32
+ grow?: "No" | "Yes" | undefined;
33
+ shrink?: "No" | "Yes" | undefined;
34
+ basis?: "No" | "Yes" | undefined;
35
+ } & import("..").AsProp<React.ElementType<any>> & {
36
+ visible: boolean;
37
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./ContentCard";
@@ -0,0 +1,17 @@
1
+ import React, { ComponentProps } from "react";
2
+ import { Input } from "../input";
3
+ export declare type DateTimeInputProps = Omit<ComponentProps<typeof Input>, "type" | "value" | "defaultValue"> & {
4
+ value?: string;
5
+ defaultValue?: string;
6
+ };
7
+ /** ISO local date/time strings; timezone and epoch conversions belong to the caller. */
8
+ export declare const DatePicker: React.ForwardRefExoticComponent<Pick<DateTimeInputProps, "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "as" | "children" | "className" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "width" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "list" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "dateTime" | "open" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "start" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "rows" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "wrap" | "default" | "kind" | "srcLang" | "poster" | "after" | "radii" | "variant" | "before" | "outlined" | "inputSize"> & React.RefAttributes<HTMLInputElement>>;
9
+ export declare const TimePicker: React.ForwardRefExoticComponent<Pick<DateTimeInputProps, "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "as" | "children" | "className" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "width" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "list" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "dateTime" | "open" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "start" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "rows" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "wrap" | "default" | "kind" | "srcLang" | "poster" | "after" | "radii" | "variant" | "before" | "outlined" | "inputSize"> & React.RefAttributes<HTMLInputElement>>;
10
+ export declare type TimestampProps = {
11
+ value: number | string | Date;
12
+ locale?: string;
13
+ timeZone?: string;
14
+ options?: Intl.DateTimeFormatOptions;
15
+ fallback?: string;
16
+ };
17
+ export declare const Timestamp: ({ value, locale, timeZone, options, fallback, }: TimestampProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./DateTime";
@@ -0,0 +1,2 @@
1
+ export declare const DialogFrameHeader: string;
2
+ export declare const DialogFrameContent: string;
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from "react";
2
+ export declare type DialogFrameProps = {
3
+ open: boolean;
4
+ title: ReactNode;
5
+ /** Runs on the close button, on Escape and on a click outside. */
6
+ onClose: () => void;
7
+ /** Max width in px; the dialog is fluid below it. */
8
+ width?: number;
9
+ className?: string;
10
+ children: ReactNode;
11
+ };
12
+ /**
13
+ * The frame every create / join / confirm dialog opens in: a backdropped
14
+ * overlay, a focus trap, and a Dialog whose header carries the title and the
15
+ * close button. `open` is controlled by the caller.
16
+ */
17
+ export declare const DialogFrame: ({ open, title, onClose, width, className, children, }: DialogFrameProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./DialogFrame";
@@ -0,0 +1,5 @@
1
+ export declare const Dock: string;
2
+ export declare const Header: string;
3
+ export declare const Title: string;
4
+ export declare const Stretch: string;
5
+ export declare const Fill: string;
@@ -0,0 +1,14 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare type DockProps = {
3
+ title: string;
4
+ /** Embedded apps own scrolling and fill the space below the header. */
5
+ contentMode?: "scroll" | "fill";
6
+ /** Fill a caller-sized pane instead of using the default 320px width. */
7
+ stretch?: boolean;
8
+ count?: number;
9
+ after?: ReactNode;
10
+ onClose?: () => void;
11
+ closeLabel?: string;
12
+ };
13
+ /** A non-modal side panel. The caller owns opening it and returning focus on close. */
14
+ export declare const Dock: <T extends React.ElementType<any> = "aside">(props: import("..").AsOutProps<T, DockProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Dock";
@@ -0,0 +1 @@
1
+ export declare const FileAttachment: string;
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+ export declare type FileAttachmentProps = {
3
+ name: string;
4
+ description?: ReactNode;
5
+ /** Download/authentication logic is owned by the caller. No URL is inferred or fetched. */
6
+ onDownload?: () => void;
7
+ downloadLabel?: string;
8
+ busy?: boolean;
9
+ };
10
+ export declare const FileAttachment: ({ name, description, onDownload, downloadLabel, busy, }: FileAttachmentProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./FileAttachment";
@@ -0,0 +1 @@
1
+ export declare const Toolbar: string;
@@ -0,0 +1,14 @@
1
+ import { ComponentProps } from "react";
2
+ import { Icon } from "../icon";
3
+ export declare type ToolbarAction = {
4
+ id: string;
5
+ label: string;
6
+ icon: ComponentProps<typeof Icon>["src"];
7
+ onClick: () => void;
8
+ disabled?: boolean;
9
+ };
10
+ export declare type FloatingToolbarProps = {
11
+ label: string;
12
+ actions: ToolbarAction[];
13
+ };
14
+ export declare const FloatingToolbar: ({ label, actions }: FloatingToolbarProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./FloatingToolbar";
@@ -0,0 +1,12 @@
1
+ export declare type FolderFieldProps = {
2
+ value: string;
3
+ onChange: (path: string) => void;
4
+ onBrowse?: () => void;
5
+ disabled?: boolean;
6
+ busy?: boolean;
7
+ label?: string;
8
+ browseLabel?: string;
9
+ clearLabel?: string;
10
+ };
11
+ /** The caller opens the native picker; typed paths remain usable on the web. */
12
+ export declare const FolderField: ({ value, onChange, onBrowse, disabled, busy, label, browseLabel, clearLabel, }: FolderFieldProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./FolderField";
@@ -1,3 +1,3 @@
1
1
  export declare type IconSrc = (filled?: boolean) => JSX.Element;
2
- export declare type IconName = "Home" | "User" | "UserPlus" | "Mail" | "MailPlus" | "Star" | "PlusCircle" | "Explore" | "Smile" | "SmilePlus" | "Leaf" | "Sticker" | "Delete" | "Phone" | "PhoneDown" | "Headphone" | "HeadphoneMute" | "Send" | "Bell" | "BellRing" | "BellPing" | "BellMute" | "Message" | "MessageUnread" | "Setting" | "Search" | "Heart" | "Play" | "Pause" | "Sun" | "Photo" | "Lock" | "Vlc" | "Flag" | "Ball" | "Bulb" | "Terminal" | "Pencil" | "Info" | "Shield" | "ShieldLock" | "ShieldUser" | "Cup" | "Pin" | "VolumeHigh" | "VolumeHighLock" | "VolumeHighGlobe" | "VolumeMute" | "File" | "Category" | "Peace" | "Eye" | "EyeBlind" | "Warning" | "Funnel" | "Bookmark" | "Inbox" | "Thread" | "ThreadPlus" | "ThreadUnread" | "ThreadReply" | "Monitor" | "ScreenShare" | "Server" | "Prohibited" | "NoEntry" | "Mic" | "MicMute" | "VideoCamera" | "VideoCameraMute" | "Hash" | "HashLock" | "HashGlobe" | "HashSearch" | "HashPlus" | "Space" | "SpaceLock" | "SpaceGlobe" | "SpaceSearch" | "SpacePlus" | "ChevronRight" | "ChevronLeft" | "ChevronTop" | "ChevronBottom" | "Plus" | "Minus" | "Cross" | "VerticalDots" | "HorizontalDots" | "Check" | "CheckTwice" | "Download" | "External" | "Clock" | "RecentClock" | "Power" | "ReplyArrow" | "ArrowGoRight" | "ArrowGoRightPlus" | "ArrowGoRightCross" | "ArrowGoLeft" | "Markdown" | "Attachment" | "Alphabet" | "AlphabetUnderline" | "Text" | "Heading1" | "Heading2" | "Heading3" | "Bold" | "Italic" | "Underline" | "Strike" | "Link" | "Code" | "BlockCode" | "BlockQuote" | "OrderList" | "UnorderList" | "Mention" | "Filter" | "Sort" | "ArrowUpDown" | "ArrowRight" | "ArrowLeft" | "ArrowTop" | "ArrowBottom" | "ArrowDropRight" | "ArrowDropLeft" | "ArrowDropTop" | "ArrowDropBottom" | "Reload" | "Globe";
2
+ export declare type IconName = "Home" | "User" | "UserPlus" | "Mail" | "MailPlus" | "Star" | "PlusCircle" | "Explore" | "Smile" | "SmilePlus" | "Leaf" | "Sticker" | "Delete" | "Phone" | "PhoneDown" | "Headphone" | "HeadphoneMute" | "Send" | "Bell" | "BellRing" | "BellPing" | "BellMute" | "Message" | "MessageUnread" | "Setting" | "Search" | "Heart" | "Play" | "Pause" | "Sun" | "Photo" | "Lock" | "Vlc" | "Flag" | "Ball" | "Bulb" | "Terminal" | "Pencil" | "Info" | "Shield" | "ShieldLock" | "ShieldUser" | "Cup" | "Pin" | "VolumeHigh" | "VolumeHighLock" | "VolumeHighGlobe" | "VolumeMute" | "File" | "Category" | "Peace" | "Eye" | "EyeBlind" | "Warning" | "Funnel" | "Bookmark" | "Inbox" | "Thread" | "ThreadPlus" | "ThreadUnread" | "ThreadReply" | "Monitor" | "ScreenShare" | "Server" | "Prohibited" | "NoEntry" | "Mic" | "MicMute" | "VideoCamera" | "VideoCameraMute" | "Hash" | "HashLock" | "HashGlobe" | "HashSearch" | "HashPlus" | "Space" | "SpaceLock" | "SpaceGlobe" | "SpaceSearch" | "SpacePlus" | "ChevronRight" | "ChevronLeft" | "ChevronTop" | "ChevronBottom" | "Plus" | "Minus" | "Cross" | "VerticalDots" | "HorizontalDots" | "Check" | "CheckTwice" | "Download" | "External" | "Clock" | "RecentClock" | "Power" | "ReplyArrow" | "ArrowGoRight" | "ArrowGoRightPlus" | "ArrowGoRightCross" | "ArrowGoLeft" | "Markdown" | "Attachment" | "Alphabet" | "AlphabetUnderline" | "Text" | "Heading1" | "Heading2" | "Heading3" | "Bold" | "Italic" | "Underline" | "Strike" | "Link" | "Code" | "BlockCode" | "BlockQuote" | "OrderList" | "UnorderList" | "Mention" | "Filter" | "Sort" | "ArrowUpDown" | "ArrowRight" | "ArrowLeft" | "ArrowTop" | "ArrowBottom" | "ArrowDropRight" | "ArrowDropLeft" | "ArrowDropTop" | "ArrowDropBottom" | "Reload" | "Globe" | "Agent" | "People" | "PullRequest" | "Smartphone" | "Unavailable" | "Admin" | "Board" | "App" | "Expand" | "Collapse";
3
3
  export declare const Icons: Record<IconName, IconSrc>;
@@ -44,6 +44,8 @@ export declare const IconButton: import("@vanilla-extract/recipes").RuntimeFn<{
44
44
  "300": string;
45
45
  "400": string;
46
46
  "500": string;
47
+ "600": string;
48
+ "700": string;
47
49
  Pill: string;
48
50
  };
49
51
  }>;
@@ -4,5 +4,5 @@ export declare const IconButton: <T extends React.ElementType<any> = "button">(p
4
4
  variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
5
5
  fill?: "Soft" | "None" | undefined;
6
6
  outlined?: boolean | undefined;
7
- radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
7
+ radii?: "0" | "300" | "400" | "500" | "600" | "700" | "Pill" | "Inherit" | undefined;
8
8
  } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1,32 @@
1
+ export declare const Avatar: string;
2
+ export declare const Worker: string;
3
+ export declare const Decorator: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ corner: {
5
+ tr: {
6
+ top: number;
7
+ right: number;
8
+ };
9
+ tl: {
10
+ top: number;
11
+ left: number;
12
+ transform: "rotate(-90deg)";
13
+ };
14
+ bl: {
15
+ bottom: number;
16
+ left: number;
17
+ transform: "rotate(180deg)";
18
+ };
19
+ br: {
20
+ bottom: number;
21
+ right: number;
22
+ transform: "rotate(90deg)";
23
+ };
24
+ };
25
+ shape: {
26
+ corner: {};
27
+ star: {
28
+ clipPath: "polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)";
29
+ };
30
+ };
31
+ }>;
32
+ export declare const WorkerSeam: string;
@@ -0,0 +1,58 @@
1
+ import { ComponentProps, ReactNode } from "react";
2
+ import { Avatar } from "../avatar";
3
+ import { AgentMarkState } from "../agent-tag";
4
+ import { MainColor } from "../types";
5
+ export declare type IdentityKind = "person" | "agent" | "room";
6
+ export declare type IdentityAvatarProps = {
7
+ name: string;
8
+ kind?: IdentityKind;
9
+ src?: string;
10
+ initial?: string;
11
+ fallback?: ReactNode;
12
+ size?: ComponentProps<typeof Avatar>["size"];
13
+ radii?: ComponentProps<typeof Avatar>["radii"];
14
+ busy?: boolean;
15
+ };
16
+ export declare const IdentityAvatar: ({ name, kind, src, initial, fallback, size, radii, busy, }: IdentityAvatarProps) => JSX.Element;
17
+ export declare type AgentVisualState = AgentMarkState;
18
+ export declare const agentStatePresentation: Record<AgentVisualState, {
19
+ label: string;
20
+ variant: MainColor;
21
+ busy: boolean;
22
+ }>;
23
+ export declare type AgentAvatarProps = Omit<IdentityAvatarProps, "kind" | "busy"> & {
24
+ state?: AgentVisualState;
25
+ statusLabel?: string;
26
+ };
27
+ export declare const AgentAvatar: ({ state, statusLabel, ...props }: AgentAvatarProps) => JSX.Element;
28
+ export declare type WorkerCorner = "tl" | "tr" | "bl" | "br";
29
+ export declare type WorkerShape = "corner" | "star";
30
+ export declare type WorkerAvatarProps = {
31
+ name: string;
32
+ color: string;
33
+ corner?: WorkerCorner;
34
+ shape?: WorkerShape;
35
+ children: ReactNode;
36
+ };
37
+ /** Colour, name and placement have already been resolved by the caller. */
38
+ export declare const WorkerAvatar: ({ name, color, corner, shape, children, }: WorkerAvatarProps) => JSX.Element;
39
+ export declare type MemberTileProps = {
40
+ name: string;
41
+ description?: ReactNode;
42
+ avatar?: ReactNode;
43
+ agent?: boolean;
44
+ after?: ReactNode;
45
+ };
46
+ export declare const MemberTile: ({ name, description, avatar, agent, after }: MemberTileProps) => JSX.Element;
47
+ export declare type AgentCardProps = {
48
+ name: string;
49
+ src?: string;
50
+ state?: AgentVisualState;
51
+ statusLabel?: string;
52
+ description?: ReactNode;
53
+ identifier?: string;
54
+ actions?: ReactNode;
55
+ children?: ReactNode;
56
+ };
57
+ export declare const AgentCard: ({ name, src, state, statusLabel, description, identifier, actions, children, }: AgentCardProps) => JSX.Element;
58
+ export declare const RoomAvatar: (props: Omit<IdentityAvatarProps, "kind">) => JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from "react";
2
+ export declare type IdentityListEntry = {
3
+ id: string;
4
+ name: string;
5
+ description?: ReactNode;
6
+ avatar?: ReactNode;
7
+ agent?: boolean;
8
+ disabled?: boolean;
9
+ };
10
+ export declare const PeopleList: ({ people, onPick, label, emptyLabel, }: {
11
+ people: IdentityListEntry[];
12
+ onPick: (id: string) => void;
13
+ label?: string | undefined;
14
+ emptyLabel?: string | undefined;
15
+ }) => JSX.Element;
16
+ export declare const WorkerRoster: ({ workers, selected, onSelectionChange, actions, title, }: {
17
+ workers: IdentityListEntry[];
18
+ selected?: string[] | undefined;
19
+ onSelectionChange?: ((ids: string[]) => void) | undefined;
20
+ actions?: ReactNode;
21
+ title?: string | undefined;
22
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from "./Identity";
2
+ export * from "./IdentityLists";
@@ -45,3 +45,35 @@ export * from "./splash-screen";
45
45
  export * from "./starfield";
46
46
  export * from "./page";
47
47
  export * from "./review-card";
48
+ export * from "./dialog-frame";
49
+ export * from "./menu-button";
50
+ export * from "./tab-bar";
51
+ export * from "./pill";
52
+ export * from "./page-state";
53
+ export * from "./person-avatar";
54
+ export * from "./select";
55
+ export * from "./button-group";
56
+ export * from "./split-button";
57
+ export * from "./wavy-progress";
58
+ export * from "./floating-toolbar";
59
+ export * from "./motion";
60
+ export * from "./settings-shell";
61
+ export * from "./card";
62
+ export * from "./list-row";
63
+ export * from "./nav";
64
+ export * from "./unread-badge";
65
+ export * from "./password-input";
66
+ export * from "./presence";
67
+ export * from "./timeline";
68
+ export * from "./file-attachment";
69
+ export * from "./dock";
70
+ export * from "./skeleton";
71
+ export * from "./activity-card";
72
+ export * from "./composer";
73
+ export * from "./call";
74
+ export * from "./identity";
75
+ export * from "./content-card";
76
+ export * from "./power";
77
+ export * from "./date-time";
78
+ export * from "./banner";
79
+ export * from "./folder-field";
@@ -48,6 +48,8 @@ export declare const Input: import("@vanilla-extract/recipes").RuntimeFn<{
48
48
  "300": string;
49
49
  "400": string;
50
50
  "500": string;
51
+ "600": string;
52
+ "700": string;
51
53
  Pill: string;
52
54
  };
53
55
  }>;
@@ -7,5 +7,5 @@ export declare const Input: React.ForwardRefExoticComponent<Omit<React.AllHTMLAt
7
7
  variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
8
8
  size?: "300" | "400" | "500" | undefined;
9
9
  outlined?: boolean | undefined;
10
- radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
10
+ radii?: "0" | "300" | "400" | "500" | "600" | "700" | "Pill" | "Inherit" | undefined;
11
11
  } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,2 @@
1
+ export declare const Row: string;
2
+ export declare const Content: string;
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare type ListRowProps = {
3
+ before?: ReactNode;
4
+ title: ReactNode;
5
+ description?: ReactNode;
6
+ badge?: ReactNode;
7
+ /** Use a non-interactive root when this slot contains its own actions. */
8
+ after?: ReactNode;
9
+ };
10
+ /** Content shared by member, room and settings lists; no app data or selection state. */
11
+ export declare const ListRow: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, ListRowProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./ListRow";
@@ -43,6 +43,8 @@ export declare const MenuItem: import("@vanilla-extract/recipes").RuntimeFn<{
43
43
  "300": string;
44
44
  "400": string;
45
45
  "500": string;
46
+ "600": string;
47
+ "700": string;
46
48
  Pill: string;
47
49
  };
48
50
  }>;
@@ -7,6 +7,6 @@ export declare const MenuItem: <T extends React.ElementType<any> = "button">(pro
7
7
  variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
8
8
  fill?: "Soft" | "None" | undefined;
9
9
  size?: "300" | "400" | undefined;
10
- radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
10
+ radii?: "0" | "300" | "400" | "500" | "600" | "700" | "Pill" | "Inherit" | undefined;
11
11
  }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
12
12
  export {};
@@ -0,0 +1 @@
1
+ export declare const MenuButtonMenu: string;
@@ -0,0 +1,31 @@
1
+ import { ComponentProps } from "react";
2
+ import { Icon } from "../icon/Icon";
3
+ import { IconButton } from "../icon-button/IconButton";
4
+ import { Align, Position } from "../util";
5
+ export declare type MenuEntry = {
6
+ label: string;
7
+ icon?: ComponentProps<typeof Icon>["src"];
8
+ /** Renders in the Critical variant — destructive entries (leave, delete). */
9
+ critical?: boolean;
10
+ disabled?: boolean;
11
+ onSelect?: () => void;
12
+ };
13
+ export declare type MenuButtonProps = {
14
+ /** Accessible name of the trigger, e.g. "More Options". */
15
+ label: string;
16
+ entries: MenuEntry[];
17
+ icon?: ComponentProps<typeof Icon>["src"];
18
+ variant?: ComponentProps<typeof IconButton>["variant"];
19
+ /** Open on mount without a click, for a story or a screenshot of the menu. */
20
+ defaultOpen?: boolean;
21
+ position?: Position;
22
+ align?: Align;
23
+ className?: string;
24
+ disabled?: boolean;
25
+ };
26
+ /**
27
+ * An icon button that opens an anchored PopOut menu — the "More Options"
28
+ * pattern the room header, the room-list row and the settings pages share.
29
+ * Selecting an entry closes the menu; so does Escape or a click outside.
30
+ */
31
+ export declare const MenuButton: ({ label, entries, icon, variant, defaultOpen, position, align, className, disabled, }: MenuButtonProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./MenuButton";
@@ -0,0 +1,3 @@
1
+ export declare const Enter: string;
2
+ export declare const AttentionFrame: string;
3
+ export declare const Attention: string;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ /** Runs once when mounted. Change the React key to replay; delay is in milliseconds. */
3
+ export declare const Enter: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, {
4
+ delay?: number | undefined;
5
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
6
+ /** An awaiting-decision surface. Reduced motion keeps a steady inset ring. */
7
+ export declare const Attention: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, {
8
+ active?: boolean | undefined;
9
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Motion";
@@ -0,0 +1,31 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const NavLink: string;
4
+ export declare const NavItem: import("@vanilla-extract/recipes").RuntimeFn<{
5
+ variant: {
6
+ Background: ComplexStyleRule;
7
+ Surface: ComplexStyleRule;
8
+ SurfaceVariant: ComplexStyleRule;
9
+ Primary: ComplexStyleRule;
10
+ Secondary: ComplexStyleRule;
11
+ Success: ComplexStyleRule;
12
+ Warning: ComplexStyleRule;
13
+ Critical: ComplexStyleRule;
14
+ };
15
+ radii: {
16
+ Inherit: string;
17
+ "0": string;
18
+ "300": string;
19
+ "400": string;
20
+ "500": string;
21
+ "600": string;
22
+ "700": string;
23
+ Pill: string;
24
+ };
25
+ }>;
26
+ export declare type NavItemVariants = RecipeVariants<typeof NavItem>;
27
+ export declare const ItemContent: string;
28
+ export declare const Options: string;
29
+ export declare const Category: string;
30
+ export declare const CategoryHeader: string;
31
+ export declare const HeaderTitle: string;