@ag2/weave 0.1.0 → 0.3.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 (74) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -0
  3. package/dist/components/agent-tag/AgentGlyph.d.ts +13 -0
  4. package/dist/components/agent-tag/AgentTag.d.ts +22 -0
  5. package/dist/components/agent-tag/PeopleGlyph.d.ts +10 -0
  6. package/dist/components/agent-tag/SkillGlyph.d.ts +10 -0
  7. package/dist/components/agent-tag/index.d.ts +4 -0
  8. package/dist/components/compose-icon/ComposeIcon.d.ts +2 -0
  9. package/dist/components/compose-icon/index.d.ts +1 -0
  10. package/dist/components/cutout-card/CutoutCard.css.d.ts +1 -0
  11. package/dist/components/cutout-card/CutoutCard.d.ts +5 -0
  12. package/dist/components/cutout-card/index.d.ts +1 -0
  13. package/dist/components/index.d.ts +16 -0
  14. package/dist/components/info-card/InfoCard.d.ts +12 -0
  15. package/dist/components/info-card/index.d.ts +1 -0
  16. package/dist/components/info-card/styles.css.d.ts +1 -0
  17. package/dist/components/page/NavCollapseRow.d.ts +1 -0
  18. package/dist/components/page/Page.d.ts +53 -0
  19. package/dist/components/page/index.d.ts +2 -0
  20. package/dist/components/page/style.css.d.ts +48 -0
  21. package/dist/components/review-card/CurrentReviewCard.d.ts +15 -0
  22. package/dist/components/review-card/index.d.ts +2 -0
  23. package/dist/components/review-card/types.d.ts +24 -0
  24. package/dist/components/robot-icon/RobotIcon.d.ts +3 -0
  25. package/dist/components/robot-icon/index.d.ts +1 -0
  26. package/dist/components/sequence-card/SequenceCard.d.ts +22 -0
  27. package/dist/components/sequence-card/index.d.ts +1 -0
  28. package/dist/components/sequence-card/style.css.d.ts +43 -0
  29. package/dist/components/server-badge/ServerBadge.d.ts +5 -0
  30. package/dist/components/server-badge/index.d.ts +1 -0
  31. package/dist/components/setting-tile/SettingTile.d.ts +10 -0
  32. package/dist/components/setting-tile/index.d.ts +1 -0
  33. package/dist/components/sidebar/Sidebar.css.d.ts +86 -0
  34. package/dist/components/sidebar/Sidebar.d.ts +2 -0
  35. package/dist/components/sidebar/SidebarContent.d.ts +7 -0
  36. package/dist/components/sidebar/SidebarItem.d.ts +24 -0
  37. package/dist/components/sidebar/SidebarStack.d.ts +2 -0
  38. package/dist/components/sidebar/SidebarStackSeparator.d.ts +1 -0
  39. package/dist/components/sidebar/index.d.ts +5 -0
  40. package/dist/components/splash-screen/SplashScreen.css.d.ts +2 -0
  41. package/dist/components/splash-screen/SplashScreen.d.ts +6 -0
  42. package/dist/components/splash-screen/index.d.ts +1 -0
  43. package/dist/components/stacked-avatar/StackedAvatar.d.ts +9 -0
  44. package/dist/components/stacked-avatar/index.d.ts +1 -0
  45. package/dist/components/stacked-avatar/styles.css.d.ts +33 -0
  46. package/dist/components/starfield/Starfield.css.d.ts +2 -0
  47. package/dist/components/starfield/Starfield.d.ts +11 -0
  48. package/dist/components/starfield/index.d.ts +1 -0
  49. package/dist/components/typing-indicator/TypingIndicator.css.d.ts +28 -0
  50. package/dist/components/typing-indicator/TypingIndicator.d.ts +6 -0
  51. package/dist/components/typing-indicator/index.d.ts +1 -0
  52. package/dist/components/window-title/AliveMark.d.ts +31 -0
  53. package/dist/components/window-title/index.d.ts +2 -0
  54. package/dist/components/window-title/mountAliveMark.d.ts +8 -0
  55. package/dist/current/ActionGroup.d.ts +13 -0
  56. package/dist/current/CurrentProvider.d.ts +13 -0
  57. package/dist/current/Disclosure.d.ts +7 -0
  58. package/dist/current/Icon.d.ts +18 -0
  59. package/dist/current/index.d.ts +6 -0
  60. package/dist/current/palette.d.ts +94 -0
  61. package/dist/current/primitives.css.d.ts +38 -0
  62. package/dist/current/theme.css.d.ts +96 -0
  63. package/dist/hooks/index.d.ts +3 -0
  64. package/dist/hooks/useElementSizeObserver.d.ts +1 -0
  65. package/dist/hooks/useResizeObserver.d.ts +3 -0
  66. package/dist/hooks/useScreenSize.d.ts +11 -0
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.js +1693 -8
  69. package/dist/index.js.map +1 -1
  70. package/dist/style.css +1026 -1
  71. package/dist/styles/ContainerColor.css.d.ts +15 -0
  72. package/dist/styles/Text.css.d.ts +3 -0
  73. package/dist/utils/dragOverlay.d.ts +13 -0
  74. package/package.json +10 -11
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # [0.3.0](https://github.com/ag2-space/weave/compare/v0.2.0...v0.3.0) (2026-09-14)
2
+
3
+ ### Features
4
+
5
+ - **current:** the Current design-system layer and CurrentReviewCard, ported from the web client ([231ce4c](https://github.com/ag2-space/weave/commit/231ce4c6d471c12ea1045d1f2cd27795263c63c4))
6
+
7
+ # [0.2.0](https://github.com/ag2-space/weave/compare/v0.1.0...v0.2.0) (2026-09-13)
8
+
9
+ ### Features
10
+
11
+ - **components:** port 14 actively-used components from cinny-webclient ([448f1dc](https://github.com/ag2-space/weave/commit/448f1dc137554b25024b8bec54c222859e55ac45))
12
+ - **components:** port page and its hook chain from cinny-webclient ([ca9a5b3](https://github.com/ag2-space/weave/commit/ca9a5b370cdd01bd947a47fc2226d449fffbae3c))
13
+
1
14
  # [0.1.0](https://github.com/ag2-space/weave/compare/v0.0.0...v0.1.0) (2026-09-13)
2
15
 
3
16
  ### Features
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Weave
2
2
 
3
+ **Storybook:** https://ag2-space.github.io/weave/ — every branch gets its own at `https://ag2-space.github.io/weave/<branch>/`.
4
+
3
5
  The AG2 Space design system. Forked from [folds](https://github.com/cinnyapp/folds) 2.6.2 (Apache-2.0); `@ag2/weave@0.1.0` is folds@2.6.2 under the new name.
4
6
 
5
7
  <!-- original folds README follows -->
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The shared robot glyph that marks an AI agent across the app — the rail's
3
+ * Agents tab and the default avatar for agent accounts that have no picture.
4
+ * Stroke-based so it inherits its color from `currentColor` (e.g. the light
5
+ * text color inside a colored avatar fallback).
6
+ *
7
+ * Single source of truth: previously the rail (AgentsTab) carried its own copy
8
+ * of this SVG. Keep new agent-glyph usages pointed here so they never drift.
9
+ */
10
+ export declare const AgentGlyph: ({ size, strokeWidth, }: {
11
+ size?: number | undefined;
12
+ strokeWidth?: number | undefined;
13
+ }) => JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Agent visual identity (step 3 of the room-nav UX plan).
3
+ *
4
+ * Two marks, both driven by `isAgentMxid` (local part ends `.agent` or starts
5
+ * `sutando-`) — the same predicate the room agent-policy + profile use:
6
+ * - `AgentMark`, rendered INSIDE the avatar's presence badge (see PresenceBadge
7
+ * `glyph` prop) so "this is an agent" and the agent's presence colour are one
8
+ * combined mark instead of two competing corner badges, and
9
+ * - `AgentNameTag`, the neutral "Agent" pill shown after the display name.
10
+ *
11
+ * The mark was a bot glyph, then an "S" the owner asked for (2026-07-05), and is
12
+ * a bot glyph again. `isAgentMxid` says an account is an agent; it cannot say
13
+ * *which* agent, and since a BYO owner's Claude Code answers behind exactly the
14
+ * same kind of identity, a Sutando initial on it was branding a guess. Neutral
15
+ * for all agents (byo-agent spec, US37) — the shared AgentGlyph, so the badge,
16
+ * the rail tab and the default avatar are one mark rather than three.
17
+ */
18
+ export declare const AgentMark: ({ size }: {
19
+ size?: number | undefined;
20
+ }) => JSX.Element;
21
+ /** Small, quiet "Agent" pill shown right after an agent's display name. */
22
+ export declare const AgentNameTag: () => JSX.Element;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Two-person "members" glyph (lucide users outline) — the Buzz-style header
3
+ * icon the owner picked for the web members toggle (2026-07-26). folds ships
4
+ * only a single-person Icons.User; stroke-based like AgentGlyph so it
5
+ * inherits `currentColor`.
6
+ */
7
+ export declare const PeopleGlyph: ({ size, strokeWidth, }: {
8
+ size?: number | undefined;
9
+ strokeWidth?: number | undefined;
10
+ }) => JSX.Element;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Scroll "skill" glyph (lucide scroll-text) — the Skills header button.
3
+ * Owner 2026-07-26 (second pass): match the marketplace nav's scroll icon
4
+ * for Skills, replacing the interim lightning bolt. Stroke-based like its
5
+ * siblings.
6
+ */
7
+ export declare const SkillGlyph: ({ size, strokeWidth, }: {
8
+ size?: number | undefined;
9
+ strokeWidth?: number | undefined;
10
+ }) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export * from "./AgentTag";
2
+ export * from "./AgentGlyph";
3
+ export * from "./PeopleGlyph";
4
+ export * from "./SkillGlyph";
@@ -0,0 +1,2 @@
1
+ import { IconSrc } from "../icon/Icons";
2
+ export declare const ComposeIcon: IconSrc;
@@ -0,0 +1 @@
1
+ export * from "./ComposeIcon";
@@ -0,0 +1 @@
1
+ export declare const CutoutCard: string;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ContainerColor as TContainerColor } from "../types";
3
+ export declare const CutoutCard: <T extends React.ElementType<any> = "div">(props: import("../types").AsOutProps<T, {
4
+ variant?: TContainerColor | undefined;
5
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./CutoutCard";
@@ -29,3 +29,19 @@ export * from "./switch";
29
29
  export * from "./text";
30
30
  export * from "./text-area";
31
31
  export * from "./tooltip";
32
+ export * from "./sequence-card";
33
+ export * from "./setting-tile";
34
+ export * from "./cutout-card";
35
+ export * from "./info-card";
36
+ export * from "./sidebar";
37
+ export * from "./agent-tag";
38
+ export * from "./typing-indicator";
39
+ export * from "./robot-icon";
40
+ export * from "./window-title";
41
+ export * from "./server-badge";
42
+ export * from "./stacked-avatar";
43
+ export * from "./compose-icon";
44
+ export * from "./splash-screen";
45
+ export * from "./starfield";
46
+ export * from "./page";
47
+ export * from "./review-card";
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from "react";
2
+ import { ContainerColor } from "../types";
3
+ declare type InfoCardProps = {
4
+ variant?: ContainerColor;
5
+ title?: ReactNode;
6
+ description?: ReactNode;
7
+ before?: ReactNode;
8
+ after?: ReactNode;
9
+ children?: ReactNode;
10
+ };
11
+ export declare const InfoCard: ({ variant, title, description, before, after, children, }: InfoCardProps) => JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./InfoCard";
@@ -0,0 +1 @@
1
+ export declare const InfoCard: string;
@@ -0,0 +1 @@
1
+ export declare const NavCollapseRow: () => JSX.Element;
@@ -0,0 +1,53 @@
1
+ import React, { MutableRefObject, ReactNode } from "react";
2
+ import * as css from "./style.css";
3
+ declare type PageRootProps = {
4
+ nav: ReactNode;
5
+ children: ReactNode;
6
+ };
7
+ export declare const PageRoot: ({ nav, children }: PageRootProps) => JSX.Element;
8
+ declare type ClientDrawerLayoutProps = {
9
+ children: ReactNode;
10
+ };
11
+ export declare function useRoomNavCollapsed(): [boolean, () => void];
12
+ export declare const PageNav: ({ size, children }: ClientDrawerLayoutProps & css.PageNavVariants) => JSX.Element;
13
+ export declare const PageNavHeader: <T extends React.ElementType<any> = "header">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
14
+ outlined?: boolean | undefined;
15
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
16
+ export declare const PageNavContent: ({ scrollRef, children, }: {
17
+ children: ReactNode;
18
+ scrollRef?: React.MutableRefObject<HTMLDivElement | null> | undefined;
19
+ }) => JSX.Element;
20
+ export declare const Page: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
21
+ export declare const PageHeader: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
22
+ compact?: boolean | undefined;
23
+ balance?: boolean | undefined;
24
+ outlined?: boolean | undefined;
25
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
26
+ export declare const PageContent: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
27
+ export declare const PageHeroEmpty: ({ children, compact, }: {
28
+ children: ReactNode;
29
+ compact?: boolean | undefined;
30
+ }) => JSX.Element;
31
+ export declare const PageHeroSection: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, Omit<any, "as"> & {
32
+ display?: "Flex" | "InlineFlex" | undefined;
33
+ direction?: "Inherit" | "Row" | "RowReverse" | "Column" | "ColumnReverse" | undefined;
34
+ wrap?: "Inherit" | "NoWrap" | "Wrap" | "WrapReverse" | undefined;
35
+ justifyContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
36
+ justifyItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
37
+ justifySelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
38
+ alignContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
39
+ alignItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
40
+ alignSelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
41
+ gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "Inherit" | undefined;
42
+ grow?: "No" | "Yes" | undefined;
43
+ shrink?: "No" | "Yes" | undefined;
44
+ basis?: "No" | "Yes" | undefined;
45
+ } & import("..").AsProp<React.ElementType<any>>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
46
+ export declare const PageHero: ({ icon, title, subTitle, children, }: {
47
+ icon: ReactNode;
48
+ title: ReactNode;
49
+ subTitle: ReactNode;
50
+ children?: ReactNode;
51
+ }) => JSX.Element;
52
+ export declare const PageContentCenter: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
53
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./Page";
2
+ export * from "./NavCollapseRow";
@@ -0,0 +1,48 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const PageNav: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ size: {
4
+ "400": {
5
+ width: string;
6
+ };
7
+ "300": {
8
+ width: string;
9
+ };
10
+ "200": {
11
+ width: string;
12
+ };
13
+ };
14
+ }>;
15
+ export declare type PageNavVariants = RecipeVariants<typeof PageNav>;
16
+ export declare const PageNavResizeHandle: string;
17
+ export declare const PageNavHeader: import("@vanilla-extract/recipes").RuntimeFn<{
18
+ outlined: {
19
+ true: {
20
+ borderBottomWidth: number;
21
+ };
22
+ };
23
+ }>;
24
+ export declare type PageNavHeaderVariants = RecipeVariants<typeof PageNavHeader>;
25
+ export declare const PageNavContent: string;
26
+ export declare const PageHeader: import("@vanilla-extract/recipes").RuntimeFn<{
27
+ compact: {
28
+ true: {
29
+ height: string;
30
+ };
31
+ };
32
+ balance: {
33
+ true: {
34
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
35
+ };
36
+ };
37
+ outlined: {
38
+ true: {
39
+ borderBottomWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
40
+ };
41
+ };
42
+ }>;
43
+ export declare type PageHeaderVariants = RecipeVariants<typeof PageHeader>;
44
+ export declare const PageContent: string;
45
+ export declare const PageHeroEmpty: string;
46
+ export declare const PageHeroEmptyCompact: string;
47
+ export declare const PageHeroSection: string;
48
+ export declare const PageContentCenter: string;
@@ -0,0 +1,15 @@
1
+ import type { ReactNode } from "react";
2
+ import { ReviewCardData } from "./types";
3
+ export declare type ReviewMember = {
4
+ id: string;
5
+ name: string;
6
+ isSelf?: boolean;
7
+ };
8
+ /** Presentation only: actions and identity resolution stay with the room adapter. */
9
+ export declare function CurrentReviewCard({ authorLogin, owned, review, actions, members, }: {
10
+ authorLogin?: string;
11
+ owned?: boolean;
12
+ review: ReviewCardData;
13
+ actions?: ReactNode;
14
+ members?: ReviewMember[];
15
+ }): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from "./CurrentReviewCard";
2
+ export * from "./types";
@@ -0,0 +1,24 @@
1
+ export declare type ReviewFinding = {
2
+ id: string;
3
+ severity: "high" | "medium" | "low" | "info";
4
+ title: string;
5
+ description: string;
6
+ location?: {
7
+ path: string;
8
+ line: number;
9
+ } | null;
10
+ requested_change?: string | null;
11
+ };
12
+ export declare type ReviewCardData = {
13
+ pr_author?: string;
14
+ repo: string;
15
+ number: number;
16
+ title?: string;
17
+ url?: string;
18
+ publisher: string;
19
+ reviewed_commit: string;
20
+ freshness: "current" | "outdated" | "unknown";
21
+ verdict: "approve" | "request_changes" | "comment";
22
+ summary: string;
23
+ findings: ReviewFinding[];
24
+ };
@@ -0,0 +1,3 @@
1
+ export declare const RobotIcon: ({ filled }: {
2
+ filled?: boolean | undefined;
3
+ }) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./RobotIcon";
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ export declare const SequenceCard: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, Omit<any, "as"> & {
3
+ display?: "Flex" | "InlineFlex" | undefined;
4
+ direction?: "Inherit" | "Row" | "RowReverse" | "Column" | "ColumnReverse" | undefined;
5
+ wrap?: "Inherit" | "NoWrap" | "Wrap" | "WrapReverse" | undefined;
6
+ justifyContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
7
+ justifyItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
8
+ justifySelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
9
+ alignContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
10
+ alignItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
11
+ alignSelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
12
+ gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "Inherit" | undefined;
13
+ grow?: "No" | "Yes" | undefined;
14
+ shrink?: "No" | "Yes" | undefined;
15
+ basis?: "No" | "Yes" | undefined;
16
+ } & import("..").AsProp<React.ElementType<any>> & {
17
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
18
+ } & {
19
+ radii?: "0" | "300" | "400" | "500" | undefined;
20
+ outlined?: boolean | undefined;
21
+ mergeBorder?: boolean | undefined;
22
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./SequenceCard";
@@ -0,0 +1,43 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const SequenceCard: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ radii: {
4
+ "0": {
5
+ vars: {
6
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7
+ };
8
+ };
9
+ "300": {
10
+ vars: {
11
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
+ };
13
+ };
14
+ "400": {
15
+ vars: {
16
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
17
+ };
18
+ };
19
+ "500": {
20
+ vars: {
21
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ };
24
+ };
25
+ outlined: {
26
+ true: {
27
+ vars: {
28
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
29
+ };
30
+ };
31
+ };
32
+ mergeBorder: {
33
+ true: {
34
+ borderBottomWidth: number;
35
+ selectors: {
36
+ "&:last-child, &:not(:has(+&))": {
37
+ borderBottomWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
38
+ };
39
+ };
40
+ };
41
+ };
42
+ }>;
43
+ export declare type SequenceCardVariants = RecipeVariants<typeof SequenceCard>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export declare const ServerBadge: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, {
3
+ server: string;
4
+ fill?: "Solid" | "None" | undefined;
5
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./ServerBadge";
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+ declare type SettingTileProps = {
3
+ title?: ReactNode;
4
+ description?: ReactNode;
5
+ before?: ReactNode;
6
+ after?: ReactNode;
7
+ children?: ReactNode;
8
+ };
9
+ export declare const SettingTile: ({ title, description, before, after, children }: SettingTileProps) => JSX.Element;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./SettingTile";
@@ -0,0 +1,86 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const Sidebar: string;
3
+ export declare const SidebarStack: string;
4
+ export declare const DropTarget: string;
5
+ export declare const SidebarItem: import("@vanilla-extract/recipes").RuntimeFn<{
6
+ active: {
7
+ true: {
8
+ selectors: {
9
+ "&::before": {
10
+ display: "block";
11
+ height: string;
12
+ };
13
+ "&:hover::before": {
14
+ width: string;
15
+ };
16
+ };
17
+ };
18
+ };
19
+ }>;
20
+ export declare type SidebarItemVariants = RecipeVariants<typeof SidebarItem>;
21
+ export declare const SidebarItemBadge: import("@vanilla-extract/recipes").RuntimeFn<{
22
+ hasCount: {
23
+ true: {
24
+ top: string;
25
+ left: string;
26
+ };
27
+ false: {
28
+ top: string;
29
+ left: string;
30
+ };
31
+ };
32
+ }>;
33
+ export declare type SidebarItemBadgeVariants = RecipeVariants<typeof SidebarItemBadge>;
34
+ export declare const SidebarAvatar: import("@vanilla-extract/recipes").RuntimeFn<{
35
+ size: {
36
+ "200": {
37
+ width: string;
38
+ height: string;
39
+ fontSize: string;
40
+ lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
41
+ letterSpacing: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
42
+ };
43
+ "300": {
44
+ width: string;
45
+ height: string;
46
+ };
47
+ "400": {
48
+ width: string;
49
+ height: string;
50
+ };
51
+ };
52
+ outlined: {
53
+ true: {
54
+ border: `var(--${string}) solid var(--${string})` | `var(--${string}) solid var(--${string}, ${string})` | `var(--${string}) solid var(--${string}, ${number})` | `var(--${string}, ${string}) solid var(--${string})` | `var(--${string}, ${string}) solid var(--${string}, ${string})` | `var(--${string}, ${string}) solid var(--${string}, ${number})` | `var(--${string}, ${number}) solid var(--${string})` | `var(--${string}, ${number}) solid var(--${string}, ${string})` | `var(--${string}, ${number}) solid var(--${string}, ${number})`;
55
+ };
56
+ };
57
+ }>;
58
+ export declare type SidebarAvatarVariants = RecipeVariants<typeof SidebarAvatar>;
59
+ export declare const SidebarFolder: import("@vanilla-extract/recipes").RuntimeFn<{
60
+ state: {
61
+ Close: {
62
+ gap: string;
63
+ borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
64
+ };
65
+ Open: {
66
+ paddingLeft: number;
67
+ paddingRight: number;
68
+ flexDirection: "column";
69
+ alignItems: "center";
70
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
71
+ borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
72
+ };
73
+ };
74
+ }>;
75
+ export declare type SidebarFolderVariants = RecipeVariants<typeof SidebarFolder>;
76
+ export declare const SidebarFolderDropTarget: import("@vanilla-extract/recipes").RuntimeFn<{
77
+ position: {
78
+ Top: {
79
+ top: string;
80
+ };
81
+ Bottom: {
82
+ bottom: string;
83
+ };
84
+ };
85
+ }>;
86
+ export declare type SidebarFolderDropTargetVariants = RecipeVariants<typeof SidebarFolderDropTarget>;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const Sidebar: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from "react";
2
+ declare type SidebarContentProps = {
3
+ scrollable: ReactNode;
4
+ sticky: ReactNode;
5
+ };
6
+ export declare const SidebarContent: ({ scrollable, sticky }: SidebarContentProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,24 @@
1
+ import React, { ReactNode, RefCallback } from "react";
2
+ export declare const SidebarItem: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ active?: boolean | undefined;
4
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
5
+ export declare const SidebarItemBadge: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
6
+ hasCount?: boolean | undefined;
7
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
8
+ export declare const SidebarItemTooltip: ({ tooltip, children, }: {
9
+ tooltip?: ReactNode | string;
10
+ children: (triggerRef: RefCallback<HTMLElement | SVGElement>) => ReactNode;
11
+ }) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
12
+ export declare const SidebarAvatar: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, {
13
+ size?: "200" | "300" | "400" | undefined;
14
+ outlined?: boolean | undefined;
15
+ } & Omit<any, "as"> & {
16
+ size?: "200" | "300" | "400" | "500" | undefined;
17
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
18
+ } & import("..").AsProp<React.ElementType<any>>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
19
+ export declare const SidebarFolder: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
20
+ state?: "Close" | "Open" | undefined;
21
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
22
+ export declare const SidebarFolderDropTarget: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
23
+ position?: "Top" | "Bottom" | undefined;
24
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const SidebarStack: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export declare const SidebarStackSeparator: () => JSX.Element;
@@ -0,0 +1,5 @@
1
+ export * from "./Sidebar";
2
+ export * from "./SidebarItem";
3
+ export * from "./SidebarContent";
4
+ export * from "./SidebarStack";
5
+ export * from "./SidebarStackSeparator";
@@ -0,0 +1,2 @@
1
+ export declare const SplashScreen: string;
2
+ export declare const SplashScreenFooter: string;
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ declare type SplashScreenProps = {
3
+ children: ReactNode;
4
+ };
5
+ export declare const SplashScreen: ({ children }: SplashScreenProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./SplashScreen";
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ declare type StackedAvatarProps = {
3
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
4
+ };
5
+ export declare const StackedAvatar: <T extends React.ElementType<any> = "span">(props: import("..").AsOutProps<T, {
6
+ size?: "200" | "300" | "400" | "500" | undefined;
7
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
8
+ } & StackedAvatarProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
9
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./StackedAvatar";
@@ -0,0 +1,33 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const StackedAvatar: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ size: {
5
+ "200": {
6
+ marginLeft: string;
7
+ outlineWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
8
+ };
9
+ "300": {
10
+ marginLeft: string;
11
+ outlineWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
+ };
13
+ "400": {
14
+ marginLeft: string;
15
+ outlineWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
16
+ };
17
+ "500": {
18
+ marginLeft: string;
19
+ outlineWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
+ };
21
+ };
22
+ variant: {
23
+ Background: ComplexStyleRule;
24
+ Surface: ComplexStyleRule;
25
+ SurfaceVariant: ComplexStyleRule;
26
+ Primary: ComplexStyleRule;
27
+ Secondary: ComplexStyleRule;
28
+ Success: ComplexStyleRule;
29
+ Warning: ComplexStyleRule;
30
+ Critical: ComplexStyleRule;
31
+ };
32
+ }>;
33
+ export declare type StackedAvatarVariants = RecipeVariants<typeof StackedAvatar>;
@@ -0,0 +1,2 @@
1
+ export declare const StarfieldHost: string;
2
+ export declare const Starfield: string;