@ag2/weave 0.6.0-direction-d.1 → 0.6.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.
Files changed (169) hide show
  1. package/CHANGELOG.md +239 -0
  2. package/dist/components/activity-group/ActivityGroup.css.d.ts +2 -0
  3. package/dist/components/activity-group/ActivityGroup.d.ts +6 -0
  4. package/dist/components/activity-group/index.d.ts +1 -0
  5. package/dist/components/activity-row/ActivityRow.css.d.ts +47 -0
  6. package/dist/components/activity-row/ActivityRow.d.ts +18 -0
  7. package/dist/components/activity-row/index.d.ts +1 -0
  8. package/dist/components/avatar/Avatar.css.d.ts +0 -25
  9. package/dist/components/avatar/Avatar.d.ts +1 -2
  10. package/dist/components/badge/Badge.css.d.ts +0 -2
  11. package/dist/components/badge/Badge.d.ts +1 -1
  12. package/dist/components/box/Box.css.d.ts +0 -9
  13. package/dist/components/box/Box.d.ts +7 -7
  14. package/dist/components/button/Button.css.d.ts +1 -3
  15. package/dist/components/button/Button.d.ts +1 -1
  16. package/dist/components/checkbox/Checkbox.d.ts +0 -1
  17. package/dist/components/chip/Chip.css.d.ts +1 -3
  18. package/dist/components/chip/Chip.d.ts +1 -1
  19. package/dist/components/day-header/DayHeader.css.d.ts +1 -0
  20. package/dist/components/day-header/DayHeader.d.ts +4 -0
  21. package/dist/components/day-header/index.d.ts +1 -0
  22. package/dist/components/empty-state/EmptyState.css.d.ts +1 -0
  23. package/dist/components/empty-state/EmptyState.d.ts +10 -0
  24. package/dist/components/empty-state/index.d.ts +1 -0
  25. package/dist/components/icon/Icons.d.ts +1 -1
  26. package/dist/components/icon-button/IconButton.css.d.ts +0 -2
  27. package/dist/components/icon-button/IconButton.d.ts +1 -1
  28. package/dist/components/index.d.ts +8 -31
  29. package/dist/components/input/Input.css.d.ts +0 -2
  30. package/dist/components/input/Input.d.ts +1 -1
  31. package/dist/components/menu/MenuItem.css.d.ts +0 -2
  32. package/dist/components/menu/MenuItem.d.ts +1 -1
  33. package/dist/components/page/Page.d.ts +7 -7
  34. package/dist/components/page/style.css.d.ts +2 -2
  35. package/dist/components/pop-out/PopOut.css.d.ts +0 -1
  36. package/dist/components/progress-bar/ProgressBar.css.d.ts +0 -2
  37. package/dist/components/progress-bar/ProgressBar.d.ts +1 -1
  38. package/dist/components/scroll/Scroll.d.ts +1 -1
  39. package/dist/components/segmented-control/SegmentedControl.css.d.ts +2 -0
  40. package/dist/components/segmented-control/SegmentedControl.d.ts +11 -0
  41. package/dist/components/segmented-control/index.d.ts +1 -0
  42. package/dist/components/selectionKeyboard.d.ts +2 -0
  43. package/dist/components/sequence-card/SequenceCard.d.ts +8 -8
  44. package/dist/components/sequence-card/style.css.d.ts +2 -18
  45. package/dist/components/sidebar/Sidebar.css.d.ts +2 -2
  46. package/dist/components/sidebar/SidebarItem.d.ts +1 -2
  47. package/dist/components/spinner/Spinner.css.d.ts +0 -5
  48. package/dist/components/spinner/Spinner.d.ts +0 -1
  49. package/dist/components/tab/Tab.css.d.ts +1 -0
  50. package/dist/components/tab/Tab.d.ts +7 -0
  51. package/dist/components/tab/index.d.ts +1 -0
  52. package/dist/components/tab-bar/TabBar.css.d.ts +1 -0
  53. package/dist/components/tab-bar/TabBar.d.ts +4 -9
  54. package/dist/components/tab-bar/TabBarContext.d.ts +1 -0
  55. package/dist/components/text/Text.css.d.ts +0 -15
  56. package/dist/components/text/Text.d.ts +1 -1
  57. package/dist/components/text-area/TextArea.css.d.ts +3 -2
  58. package/dist/components/text-area/TextArea.d.ts +1 -1
  59. package/dist/components/toggle-chip/ToggleChip.css.d.ts +1 -0
  60. package/dist/components/toggle-chip/ToggleChip.d.ts +8 -0
  61. package/dist/components/toggle-chip/index.d.ts +1 -0
  62. package/dist/components/tooltip/Tooltip.css.d.ts +0 -2
  63. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  64. package/dist/components/tooltip/index.d.ts +0 -1
  65. package/dist/components/typing-indicator/TypingIndicator.css.d.ts +0 -7
  66. package/dist/components/unread-badge/UnreadBadge.css.d.ts +1 -1
  67. package/dist/components/unread-badge/UnreadBadge.d.ts +2 -7
  68. package/dist/components/variant.css.d.ts +0 -2
  69. package/dist/index.js +3493 -4366
  70. package/dist/index.js.map +1 -1
  71. package/dist/style.css +1336 -2082
  72. package/dist/styles/ContainerColor.css.d.ts +0 -1
  73. package/dist/theme/color.css.d.ts +10 -1
  74. package/dist/theme/config.css.d.ts +0 -23
  75. package/dist/theme/dark.css.d.ts +1 -0
  76. package/dist/theme/index.d.ts +1 -1
  77. package/package.json +75 -11
  78. package/DIRECTION_D_PREVIEW.json +0 -6
  79. package/MATERIAL-SYMBOLS-LICENSE.txt +0 -202
  80. package/dist/components/activity-card/ActivityCard.d.ts +0 -26
  81. package/dist/components/activity-card/index.d.ts +0 -1
  82. package/dist/components/banner/Banner.d.ts +0 -14
  83. package/dist/components/banner/index.d.ts +0 -1
  84. package/dist/components/button-group/ButtonGroup.css.d.ts +0 -2
  85. package/dist/components/button-group/ButtonGroup.d.ts +0 -16
  86. package/dist/components/button-group/index.d.ts +0 -1
  87. package/dist/components/call/Call.css.d.ts +0 -18
  88. package/dist/components/call/Call.d.ts +0 -45
  89. package/dist/components/call/index.d.ts +0 -1
  90. package/dist/components/card/Card.css.d.ts +0 -2
  91. package/dist/components/card/Card.d.ts +0 -32
  92. package/dist/components/card/index.d.ts +0 -1
  93. package/dist/components/composer/Composer.css.d.ts +0 -5
  94. package/dist/components/composer/Composer.d.ts +0 -31
  95. package/dist/components/composer/index.d.ts +0 -1
  96. package/dist/components/content-card/ContentCard.css.d.ts +0 -3
  97. package/dist/components/content-card/ContentCard.d.ts +0 -37
  98. package/dist/components/content-card/index.d.ts +0 -1
  99. package/dist/components/date-time/DateTime.d.ts +0 -17
  100. package/dist/components/date-time/index.d.ts +0 -1
  101. package/dist/components/dialog-frame/DialogFrame.css.d.ts +0 -2
  102. package/dist/components/dialog-frame/DialogFrame.d.ts +0 -17
  103. package/dist/components/dialog-frame/index.d.ts +0 -1
  104. package/dist/components/dock/Dock.css.d.ts +0 -3
  105. package/dist/components/dock/Dock.d.ts +0 -10
  106. package/dist/components/dock/index.d.ts +0 -1
  107. package/dist/components/file-attachment/FileAttachment.css.d.ts +0 -1
  108. package/dist/components/file-attachment/FileAttachment.d.ts +0 -10
  109. package/dist/components/file-attachment/index.d.ts +0 -1
  110. package/dist/components/floating-toolbar/FloatingToolbar.css.d.ts +0 -1
  111. package/dist/components/floating-toolbar/FloatingToolbar.d.ts +0 -14
  112. package/dist/components/floating-toolbar/index.d.ts +0 -1
  113. package/dist/components/folder-field/FolderField.d.ts +0 -12
  114. package/dist/components/folder-field/index.d.ts +0 -1
  115. package/dist/components/identity/Identity.css.d.ts +0 -32
  116. package/dist/components/identity/Identity.d.ts +0 -58
  117. package/dist/components/identity/IdentityLists.d.ts +0 -22
  118. package/dist/components/identity/index.d.ts +0 -2
  119. package/dist/components/list-row/ListRow.css.d.ts +0 -2
  120. package/dist/components/list-row/ListRow.d.ts +0 -11
  121. package/dist/components/list-row/index.d.ts +0 -1
  122. package/dist/components/menu-button/MenuButton.css.d.ts +0 -1
  123. package/dist/components/menu-button/MenuButton.d.ts +0 -31
  124. package/dist/components/menu-button/index.d.ts +0 -1
  125. package/dist/components/motion/Motion.css.d.ts +0 -3
  126. package/dist/components/motion/Motion.d.ts +0 -9
  127. package/dist/components/motion/index.d.ts +0 -1
  128. package/dist/components/nav/Nav.css.d.ts +0 -31
  129. package/dist/components/nav/Nav.d.ts +0 -52
  130. package/dist/components/nav/index.d.ts +0 -1
  131. package/dist/components/page-state/EmptyState.d.ts +0 -12
  132. package/dist/components/page-state/ErrorState.d.ts +0 -9
  133. package/dist/components/page-state/LoadingState.d.ts +0 -5
  134. package/dist/components/page-state/PageState.css.d.ts +0 -3
  135. package/dist/components/page-state/PageTitleHeader.d.ts +0 -13
  136. package/dist/components/page-state/index.d.ts +0 -4
  137. package/dist/components/password-input/PasswordInput.d.ts +0 -7
  138. package/dist/components/password-input/index.d.ts +0 -1
  139. package/dist/components/person-avatar/PersonAvatar.d.ts +0 -6
  140. package/dist/components/person-avatar/index.d.ts +0 -1
  141. package/dist/components/pill/Pill.d.ts +0 -11
  142. package/dist/components/pill/index.d.ts +0 -1
  143. package/dist/components/power/Power.css.d.ts +0 -1
  144. package/dist/components/power/Power.d.ts +0 -24
  145. package/dist/components/power/index.d.ts +0 -1
  146. package/dist/components/presence/Presence.css.d.ts +0 -39
  147. package/dist/components/presence/Presence.d.ts +0 -20
  148. package/dist/components/presence/index.d.ts +0 -1
  149. package/dist/components/select/Select.css.d.ts +0 -3
  150. package/dist/components/select/Select.d.ts +0 -21
  151. package/dist/components/select/index.d.ts +0 -1
  152. package/dist/components/settings-shell/SettingsShell.css.d.ts +0 -6
  153. package/dist/components/settings-shell/SettingsShell.d.ts +0 -31
  154. package/dist/components/settings-shell/index.d.ts +0 -1
  155. package/dist/components/skeleton/Skeleton.css.d.ts +0 -28
  156. package/dist/components/skeleton/Skeleton.d.ts +0 -10
  157. package/dist/components/skeleton/index.d.ts +0 -1
  158. package/dist/components/split-button/SplitButton.css.d.ts +0 -4
  159. package/dist/components/split-button/SplitButton.d.ts +0 -16
  160. package/dist/components/split-button/index.d.ts +0 -1
  161. package/dist/components/timeline/Timeline.css.d.ts +0 -24
  162. package/dist/components/timeline/Timeline.d.ts +0 -51
  163. package/dist/components/timeline/index.d.ts +0 -1
  164. package/dist/components/tooltip/Hint.d.ts +0 -13
  165. package/dist/components/wavy-progress/WavyProgress.css.d.ts +0 -3
  166. package/dist/components/wavy-progress/WavyProgress.d.ts +0 -8
  167. package/dist/components/wavy-progress/index.d.ts +0 -1
  168. package/dist/theme/review.css.d.ts +0 -115
  169. package/dist/utils/rovingFocus.d.ts +0 -3
@@ -1 +0,0 @@
1
- export * from "./PasswordInput";
@@ -1,6 +0,0 @@
1
- import { IdentityAvatarProps } from "../identity/Identity";
2
- export declare type PersonAvatarProps = Omit<IdentityAvatarProps, "kind" | "fallback" | "busy"> & {
3
- agent?: boolean;
4
- };
5
- /** Legacy agent avatars remain glyph-only; AgentAvatar also accepts uploaded photos. */
6
- export declare const PersonAvatar: ({ agent, src, radii, ...props }: PersonAvatarProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./PersonAvatar";
@@ -1,11 +0,0 @@
1
- export declare type PillProps = {
2
- label: string;
3
- /** Renders pressed (Primary) and sets aria-pressed. */
4
- active?: boolean;
5
- onClick?: () => void;
6
- };
7
- /**
8
- * A pill-shaped toggle chip: join rules, filters, and tab-like choices that
9
- * are not routes. It is a toggle, so it reports its state with aria-pressed.
10
- */
11
- export declare const Pill: ({ label, active, onClick }: PillProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./Pill";
@@ -1 +0,0 @@
1
- export declare const Icon: string;
@@ -1,24 +0,0 @@
1
- import { ComponentProps } from "react";
2
- import { Select } from "../select";
3
- import { MainColor } from "../types";
4
- export declare type PowerOption = {
5
- value: number;
6
- label: string;
7
- disabled?: boolean;
8
- };
9
- export declare type PowerSelectorProps = Omit<ComponentProps<typeof Select>, "options" | "value" | "onValueChange" | "onChange"> & {
10
- options: PowerOption[];
11
- value: number;
12
- onValueChange: (value: number) => void;
13
- };
14
- export declare const PowerSelector: ({ options, value, onValueChange, ...props }: PowerSelectorProps) => JSX.Element;
15
- export declare const PowerBadge: ({ label, level, variant, }: {
16
- label: string;
17
- level?: number | undefined;
18
- variant?: MainColor | undefined;
19
- }) => JSX.Element;
20
- export declare const PowerIcon: ({ name, imageSrc, children, }: {
21
- name: string;
22
- imageSrc?: string | undefined;
23
- children?: string | undefined;
24
- }) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./Power";
@@ -1,39 +0,0 @@
1
- export declare const AvatarPresence: string;
2
- export declare const BadgeFrame: import("@vanilla-extract/recipes").RuntimeFn<{
3
- variant: {
4
- Background: {
5
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
6
- };
7
- Surface: {
8
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9
- };
10
- SurfaceVariant: {
11
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
- };
13
- Primary: {
14
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
15
- };
16
- Secondary: {
17
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
- };
19
- Success: {
20
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
- };
22
- Warning: {
23
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
24
- };
25
- Critical: {
26
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
- };
28
- };
29
- animate: {
30
- true: {
31
- animation: `${string} 2.8s var(--${string}) infinite` | `${string} 2.8s var(--${string}, ${string}) infinite` | `${string} 2.8s var(--${string}, ${number}) infinite`;
32
- "@media": {
33
- "(prefers-reduced-motion: reduce)": {
34
- animation: "none";
35
- };
36
- };
37
- };
38
- };
39
- }>;
@@ -1,20 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { ContainerColor, MainColor } from "../types";
3
- export declare type Presence = "online" | "unavailable" | "offline";
4
- export declare type PresenceBadgeProps = {
5
- presence: Presence;
6
- status?: string;
7
- /** Localised presence label. Status text is appended when supplied. */
8
- label?: string;
9
- size?: "200" | "300" | "400" | "500";
10
- variantOverride?: MainColor;
11
- glyph?: ReactNode;
12
- };
13
- /** A named image, with no tooltip id or network/state dependency. */
14
- export declare const PresenceBadge: <T extends React.ElementType<any> = "span">(props: import("../types").AsOutProps<T, PresenceBadgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
15
- export declare type AvatarPresenceProps = {
16
- badge?: ReactNode;
17
- variant?: ContainerColor;
18
- animate?: boolean;
19
- };
20
- export declare const AvatarPresence: <T extends React.ElementType<any> = "span">(props: import("../types").AsOutProps<T, AvatarPresenceProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -1 +0,0 @@
1
- export * from "./Presence";
@@ -1,3 +0,0 @@
1
- export declare const Root: string;
2
- export declare const Select: string;
3
- export declare const Arrow: string;
@@ -1,21 +0,0 @@
1
- import React, { SelectHTMLAttributes } from "react";
2
- import * as inputCss from "../input/Input.css";
3
- export declare type SelectOption = {
4
- value: string;
5
- label: string;
6
- disabled?: boolean;
7
- };
8
- export declare type SelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, "size" | "children"> & inputCss.InputVariants & {
9
- options: SelectOption[];
10
- onValueChange?: (value: string) => void;
11
- };
12
- /** A native choice field: keyboard navigation, touch picker and form submission stay native. */
13
- export declare const Select: React.ForwardRefExoticComponent<Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "children" | "size"> & {
14
- variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
15
- size?: "300" | "400" | "500" | undefined;
16
- outlined?: boolean | undefined;
17
- radii?: "0" | "300" | "400" | "500" | "600" | "700" | "Pill" | "Inherit" | undefined;
18
- } & {
19
- options: SelectOption[];
20
- onValueChange?: ((value: string) => void) | undefined;
21
- } & React.RefAttributes<HTMLSelectElement>>;
@@ -1 +0,0 @@
1
- export * from "./Select";
@@ -1,6 +0,0 @@
1
- export declare const Navigation: string;
2
- export declare const NavHeader: string;
3
- export declare const NavItems: string;
4
- export declare const Content: string;
5
- export declare const NarrowNavigation: string;
6
- export declare const NavItem: string;
@@ -1,31 +0,0 @@
1
- import { ReactNode } from "react";
2
- export declare type NavSection = {
3
- id: string;
4
- label: string;
5
- icon?: ReactNode;
6
- disabled?: boolean;
7
- };
8
- export declare type SectionNavProps = {
9
- header: ReactNode;
10
- sections: NavSection[];
11
- active: string;
12
- onSelect?: (id: string) => void;
13
- onClose?: () => void;
14
- label?: string;
15
- };
16
- export declare const SectionNav: ({ header, sections, active, onSelect, onClose, label, }: SectionNavProps) => JSX.Element;
17
- export declare type SettingsPageProps = {
18
- title: string;
19
- children: ReactNode;
20
- after?: ReactNode;
21
- onBack?: () => void;
22
- };
23
- export declare const SettingsPage: ({ title, children, after, onBack }: SettingsPageProps) => JSX.Element;
24
- export declare type SettingsShellProps = SettingsPageProps & {
25
- nav: ReactNode;
26
- /** The consuming layout decides when the two columns no longer fit. */
27
- compact?: boolean;
28
- /** Controlled mobile navigation; routing and history stay with the consumer. */
29
- navigationVisible?: boolean;
30
- };
31
- export declare const SettingsShell: ({ nav, compact, navigationVisible, ...pageProps }: SettingsShellProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./SettingsShell";
@@ -1,28 +0,0 @@
1
- import { RecipeVariants } from "@vanilla-extract/recipes";
2
- export declare const Skeleton: import("@vanilla-extract/recipes").RuntimeFn<{
3
- shape: {
4
- line: {};
5
- avatar: {
6
- width: string;
7
- height: string;
8
- borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9
- };
10
- };
11
- short: {
12
- true: {
13
- width: "40%";
14
- };
15
- };
16
- animate: {
17
- true: {
18
- animation: `${string} 1.8s var(--${string}) infinite` | `${string} 1.8s var(--${string}, ${string}) infinite` | `${string} 1.8s var(--${string}, ${number}) infinite`;
19
- "@media": {
20
- "(prefers-reduced-motion: reduce)": {
21
- animation: "none";
22
- };
23
- };
24
- };
25
- };
26
- }>;
27
- export declare type SkeletonVariants = RecipeVariants<typeof Skeleton>;
28
- export declare const Row: string;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- export declare const Skeleton: <T extends React.ElementType<any> = "span">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
- shape?: "line" | "avatar" | undefined;
4
- short?: boolean | undefined;
5
- animate?: boolean | undefined;
6
- } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
7
- export declare const SkeletonRow: ({ avatar, animate, }: {
8
- avatar?: boolean | undefined;
9
- animate?: boolean | undefined;
10
- }) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./Skeleton";
@@ -1,4 +0,0 @@
1
- export declare const Group: string;
2
- export declare const Primary: string;
3
- export declare const More: string;
4
- export declare const Spinner: string;
@@ -1,16 +0,0 @@
1
- import { ComponentProps, ReactNode } from "react";
2
- import { Button } from "../button";
3
- import { MenuEntry } from "../menu-button";
4
- export declare type SplitButtonProps = {
5
- children: ReactNode;
6
- onClick: ComponentProps<typeof Button>["onClick"];
7
- entries: MenuEntry[];
8
- menuLabel: string;
9
- disabled?: boolean;
10
- /** Controlled: the consumer owns async work, errors and completion lifetime. */
11
- busy?: boolean;
12
- complete?: boolean;
13
- busyLabel?: string;
14
- completeLabel?: string;
15
- };
16
- export declare const SplitButton: ({ children, onClick, entries, menuLabel, disabled, busy, complete, busyLabel, completeLabel, }: SplitButtonProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./SplitButton";
@@ -1,24 +0,0 @@
1
- export declare const Message: import("@vanilla-extract/recipes").RuntimeFn<{
2
- inset: {
3
- true: {
4
- padding: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}) var(--${string}, ${number})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string}, ${number})` | `var(--${string}, ${number}) var(--${string})` | `var(--${string}, ${number}) var(--${string}, ${string})` | `var(--${string}, ${number}) var(--${string}, ${number})`;
5
- };
6
- };
7
- highlight: {
8
- true: {
9
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10
- color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11
- };
12
- };
13
- }>;
14
- export declare const Content: string;
15
- export declare const Author: string;
16
- export declare const Time: string;
17
- export declare const Quote: string;
18
- export declare const Reactions: string;
19
- export declare const Divider: string;
20
- export declare const Rule: string;
21
- export declare const Unread: string;
22
- export declare const UnreadRule: string;
23
- export declare const Timeline: string;
24
- export declare const AvatarSlot: string;
@@ -1,51 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- export declare type MessageRowProps = {
3
- avatar?: ReactNode;
4
- author?: ReactNode;
5
- header?: ReactNode;
6
- reserveAvatarSpace?: boolean;
7
- inset?: boolean;
8
- time?: ReactNode;
9
- dateTime?: string;
10
- highlight?: boolean;
11
- after?: ReactNode;
12
- };
13
- /** Presentation only: event lookup, body rendering, grouping and virtualisation stay outside. */
14
- export declare const MessageRow: <T extends React.ElementType<any> = "article">(props: import("..").AsOutProps<T, MessageRowProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
15
- export declare const Quote: <T extends React.ElementType<any> = "blockquote">(props: import("..").AsOutProps<T, {
16
- author: ReactNode;
17
- }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
18
- export declare const ReactionGroup: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
19
- export declare const ReactionButton: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, {
20
- count: number;
21
- selected?: boolean | undefined;
22
- }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
23
- export declare type ReactionItem = {
24
- key: string;
25
- label?: string;
26
- count: number;
27
- selected?: boolean;
28
- disabled?: boolean;
29
- };
30
- export declare type ReactionRowProps = {
31
- reactions: ReactionItem[];
32
- onToggle?: (key: string) => void;
33
- onAdd?: () => void;
34
- addLabel?: string;
35
- label?: string;
36
- };
37
- export declare const ReactionRow: ({ reactions, onToggle, onAdd, addLabel, label, }: ReactionRowProps) => JSX.Element;
38
- export declare const DayDivider: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, {
39
- label: string;
40
- }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
41
- export declare const UnreadMarker: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, {
42
- label?: string | undefined;
43
- }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
44
- /** A scrolling frame; consumers choose live-region semantics and scroll/virtualisation policy. */
45
- export declare const Timeline: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, Omit<any, "as"> & {
46
- variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
47
- visibility?: "Hover" | "Always" | undefined;
48
- hideTrack?: boolean | undefined;
49
- size?: "0" | "300" | "400" | undefined;
50
- direction?: "Horizontal" | "Vertical" | "Both" | undefined;
51
- } & import("..").AsProp<React.ElementType<any>>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -1 +0,0 @@
1
- export * from "./Timeline";
@@ -1,13 +0,0 @@
1
- import { ComponentProps, ReactNode, RefCallback } from "react";
2
- import { TooltipProvider } from "./Tooltip";
3
- export declare type HintProps = Pick<ComponentProps<typeof TooltipProvider>, "position" | "align" | "delay" | "container"> & {
4
- /** Unique in the document; also connects the trigger's accessible description. */
5
- id: string;
6
- content: ReactNode;
7
- children: (props: {
8
- ref: RefCallback<HTMLElement | SVGElement>;
9
- "aria-describedby": string;
10
- }) => ReactNode;
11
- };
12
- /** Shared tooltip composition for a focusable trigger that forwards its ref. */
13
- export declare const Hint: ({ id, content, children, ...props }: HintProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export declare const Track: string;
2
- export declare const Fill: string;
3
- export declare const Wave: string;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- export declare type WavyProgressProps = {
3
- /** Omit for indeterminate work. Values are clamped to the range. */
4
- value?: number;
5
- min?: number;
6
- max?: number;
7
- };
8
- export declare const WavyProgress: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, WavyProgressProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -1 +0,0 @@
1
- export * from "./WavyProgress";
@@ -1,115 +0,0 @@
1
- export declare const review: {
2
- approved: {
3
- solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
4
- onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
5
- soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
6
- onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7
- line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
8
- };
9
- changesRequested: {
10
- solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11
- onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
- soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
13
- onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
14
- line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
15
- };
16
- comment: {
17
- solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
- onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
- soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
- onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
- line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
- };
23
- conflict: {
24
- solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
- onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
- soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
- onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
28
- line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
29
- };
30
- neutral: {
31
- solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
32
- onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
33
- soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
34
- onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
35
- line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
36
- };
37
- };
38
- export declare const reviewPalettes: {
39
- readonly light: {
40
- readonly approved: {
41
- readonly solid: "#28764b";
42
- readonly onSolid: "#ffffff";
43
- readonly soft: "#e7f0eb";
44
- readonly onSoft: "#205f3d";
45
- readonly line: "#b9d5c5";
46
- };
47
- readonly changesRequested: {
48
- readonly solid: "#9b5417";
49
- readonly onSolid: "#ffffff";
50
- readonly soft: "#f6eee6";
51
- readonly onSoft: "#79400f";
52
- readonly line: "#dfc5ab";
53
- };
54
- readonly comment: {
55
- readonly solid: "#246ab8";
56
- readonly onSolid: "#ffffff";
57
- readonly soft: "#e7eff7";
58
- readonly onSoft: "#15508f";
59
- readonly line: "#b5cde7";
60
- };
61
- readonly conflict: {
62
- readonly solid: "#b94c38";
63
- readonly onSolid: "#ffffff";
64
- readonly soft: "#f8e8e4";
65
- readonly onSoft: "#743025";
66
- readonly line: "#e2b9b0";
67
- };
68
- readonly neutral: {
69
- readonly solid: "#5f6873";
70
- readonly onSolid: "#ffffff";
71
- readonly soft: "#eceef1";
72
- readonly onSoft: "#4c545e";
73
- readonly line: "#cbd0d7";
74
- };
75
- };
76
- readonly dark: {
77
- readonly approved: {
78
- readonly solid: "#74c596";
79
- readonly onSolid: "#0b2315";
80
- readonly soft: "#233d32";
81
- readonly onSoft: "#a9dcbe";
82
- readonly line: "#365d4b";
83
- };
84
- readonly changesRequested: {
85
- readonly solid: "#f0ad67";
86
- readonly onSolid: "#201408";
87
- readonly soft: "#453322";
88
- readonly onSoft: "#f5c99b";
89
- readonly line: "#6a4e32";
90
- };
91
- readonly comment: {
92
- readonly solid: "#74b9f5";
93
- readonly onSolid: "#0b2136";
94
- readonly soft: "#243b55";
95
- readonly onSoft: "#b8dcff";
96
- readonly line: "#365a7c";
97
- };
98
- readonly conflict: {
99
- readonly solid: "#e0806f";
100
- readonly onSolid: "#281411";
101
- readonly soft: "#302224";
102
- readonly onSoft: "#f0b5aa";
103
- readonly line: "#5a3734";
104
- };
105
- readonly neutral: {
106
- readonly solid: "#9aa3ad";
107
- readonly onSolid: "#111318";
108
- readonly soft: "#242830";
109
- readonly onSoft: "#c9ced6";
110
- readonly line: "#3a414b";
111
- };
112
- };
113
- };
114
- export declare const lightReviewClass: string;
115
- export declare const darkReviewClass: string;
@@ -1,3 +0,0 @@
1
- import { KeyboardEvent } from "react";
2
- /** Move among enabled buttons while leaving Tab to the browser. */
3
- export declare const moveFocus: (event: KeyboardEvent<HTMLElement>) => HTMLButtonElement | undefined;