@ag2/weave 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/agent-tag/AgentGlyph.d.ts +1 -10
- package/dist/components/agent-tag/PeopleGlyph.d.ts +1 -7
- package/dist/components/agent-tag/SkillGlyph.d.ts +1 -7
- package/dist/components/badge/Badge.css.d.ts +25 -0
- package/dist/components/badge/Badge.d.ts +1 -1
- package/dist/components/button/Button.css.d.ts +14 -0
- package/dist/components/button/Button.d.ts +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +1 -1
- package/dist/components/chip/Chip.css.d.ts +7 -0
- package/dist/components/chip/Chip.d.ts +1 -1
- package/dist/components/compose-icon/ComposeIcon.d.ts +1 -2
- package/dist/components/dialog/Dialog.d.ts +1 -1
- package/dist/components/header/Header.d.ts +1 -1
- package/dist/components/icon/Icon.css.d.ts +44 -8
- package/dist/components/icon/Icon.d.ts +1 -1
- package/dist/components/icon/Icons.d.ts +157 -3
- package/dist/components/icon/iconMetrics.d.ts +1 -0
- package/dist/components/icon-button/IconButton.css.d.ts +7 -13
- package/dist/components/icon-button/IconButton.d.ts +2 -2
- package/dist/components/input/Input.css.d.ts +9 -0
- package/dist/components/input/Input.d.ts +1 -1
- package/dist/components/line/Line.css.d.ts +3 -0
- package/dist/components/line/Line.d.ts +1 -1
- package/dist/components/menu/Menu.d.ts +1 -1
- package/dist/components/menu/MenuItem.css.d.ts +6 -0
- package/dist/components/menu/MenuItem.d.ts +1 -1
- package/dist/components/modal/Modal.d.ts +1 -1
- package/dist/components/page/Page.d.ts +4 -1
- package/dist/components/page/style.css.d.ts +5 -0
- package/dist/components/progress-bar/ProgressBar.d.ts +1 -1
- package/dist/components/radio-button/RadioButton.d.ts +1 -1
- package/dist/components/scroll/Scroll.d.ts +1 -1
- package/dist/components/sequence-card/SequenceCard.d.ts +1 -1
- package/dist/components/spinner/Spinner.d.ts +1 -1
- package/dist/components/stacked-avatar/StackedAvatar.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/text-area/TextArea.css.d.ts +9 -0
- package/dist/components/text-area/TextArea.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/current/Icon.d.ts +5 -17
- package/dist/current/palette.d.ts +21 -56
- package/dist/current/theme.css.d.ts +0 -47
- package/dist/index.js +5722 -3182
- package/dist/index.js.map +1 -1
- package/dist/style.css +1573 -825
- package/dist/styles/ContainerColor.css.d.ts +1 -0
- package/dist/theme/brand.d.ts +7 -0
- package/dist/theme/color.css.d.ts +146 -0
- package/dist/theme/colorValue.d.ts +2 -0
- package/dist/theme/identity.d.ts +9 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme/neutralScale.d.ts +25 -0
- package/dist/theme/palette.d.ts +330 -0
- package/dist/theme/semantic.d.ts +959 -0
- package/dist/theme/systemRecipes.d.ts +9 -0
- package/package.json +5 -3
|
@@ -1,13 +1,4 @@
|
|
|
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, }: {
|
|
1
|
+
export declare const AgentGlyph: ({ size }: {
|
|
11
2
|
size?: number | undefined;
|
|
12
3
|
strokeWidth?: number | undefined;
|
|
13
4
|
}) => JSX.Element;
|
|
@@ -1,10 +1,4 @@
|
|
|
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, }: {
|
|
1
|
+
export declare const PeopleGlyph: ({ size }: {
|
|
8
2
|
size?: number | undefined;
|
|
9
3
|
strokeWidth?: number | undefined;
|
|
10
4
|
}) => JSX.Element;
|
|
@@ -1,10 +1,4 @@
|
|
|
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, }: {
|
|
1
|
+
export declare const SkillGlyph: ({ size }: {
|
|
8
2
|
size?: number | undefined;
|
|
9
3
|
strokeWidth?: number | undefined;
|
|
10
4
|
}) => JSX.Element;
|
|
@@ -3,15 +3,39 @@ import { RecipeVariants } from "@vanilla-extract/recipes";
|
|
|
3
3
|
export declare const Badge: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
4
4
|
size: {
|
|
5
5
|
"500": {
|
|
6
|
+
selectors: {
|
|
7
|
+
[x: string]: {
|
|
8
|
+
height: "auto";
|
|
9
|
+
minHeight: string;
|
|
10
|
+
minWidth: `max(${string}, calc(var(--${string}) + 4px))` | `max(${string}, calc(var(--${string}, ${string}) + 4px))` | `max(${string}, calc(var(--${string}, ${number}) + 4px))`;
|
|
11
|
+
paddingBlock: "2px";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
6
14
|
height: string;
|
|
7
15
|
minWidth: string;
|
|
8
16
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
9
17
|
};
|
|
10
18
|
"400": {
|
|
19
|
+
selectors: {
|
|
20
|
+
[x: string]: {
|
|
21
|
+
height: "auto";
|
|
22
|
+
minHeight: string;
|
|
23
|
+
minWidth: `max(${string}, calc(var(--${string}) + 4px))` | `max(${string}, calc(var(--${string}, ${string}) + 4px))` | `max(${string}, calc(var(--${string}, ${number}) + 4px))`;
|
|
24
|
+
paddingBlock: "2px";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
11
27
|
height: string;
|
|
12
28
|
minWidth: string;
|
|
13
29
|
};
|
|
14
30
|
"300": {
|
|
31
|
+
selectors: {
|
|
32
|
+
[x: string]: {
|
|
33
|
+
height: "auto";
|
|
34
|
+
minHeight: string;
|
|
35
|
+
minWidth: `max(${string}, calc(var(--${string}) + 4px))` | `max(${string}, calc(var(--${string}, ${string}) + 4px))` | `max(${string}, calc(var(--${string}, ${number}) + 4px))`;
|
|
36
|
+
paddingBlock: "2px";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
15
39
|
height: string;
|
|
16
40
|
minWidth: string;
|
|
17
41
|
};
|
|
@@ -23,6 +47,7 @@ export declare const Badge: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
23
47
|
variant: {
|
|
24
48
|
Primary: ComplexStyleRule;
|
|
25
49
|
Secondary: ComplexStyleRule;
|
|
50
|
+
Info: ComplexStyleRule;
|
|
26
51
|
Success: ComplexStyleRule;
|
|
27
52
|
Warning: ComplexStyleRule;
|
|
28
53
|
Critical: ComplexStyleRule;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Badge: <T extends React.ElementType<any> = "span">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
3
|
size?: "200" | "300" | "400" | "500" | undefined;
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "Success" | "Warning" | "Critical" | "Primary" | "Secondary" | "Info" | undefined;
|
|
5
5
|
fill?: "Solid" | "Soft" | "None" | undefined;
|
|
6
6
|
outlined?: boolean | undefined;
|
|
7
7
|
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
@@ -9,6 +9,9 @@ export declare const Button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
9
9
|
height: string;
|
|
10
10
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
11
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
12
|
+
selectors: {
|
|
13
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
14
|
+
};
|
|
12
15
|
};
|
|
13
16
|
"400": {
|
|
14
17
|
vars: {
|
|
@@ -17,6 +20,9 @@ export declare const Button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
17
20
|
height: string;
|
|
18
21
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
19
22
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
23
|
+
selectors: {
|
|
24
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
25
|
+
};
|
|
20
26
|
};
|
|
21
27
|
"500": {
|
|
22
28
|
vars: {
|
|
@@ -25,6 +31,9 @@ export declare const Button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
25
31
|
height: string;
|
|
26
32
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
33
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
34
|
+
selectors: {
|
|
35
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
36
|
+
};
|
|
28
37
|
};
|
|
29
38
|
};
|
|
30
39
|
variant: {
|
|
@@ -56,6 +65,11 @@ export declare const Button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
56
65
|
[x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
57
66
|
};
|
|
58
67
|
backgroundColor: "inherit";
|
|
68
|
+
selectors: {
|
|
69
|
+
"&:hover, &:focus-visible, &:active, &[aria-pressed=true]": {
|
|
70
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
59
73
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
60
74
|
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
61
75
|
};
|
|
@@ -5,7 +5,7 @@ declare type ButtonProps = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const Button: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, {
|
|
7
7
|
size?: "300" | "400" | "500" | undefined;
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "Success" | "Warning" | "Critical" | "Primary" | "Secondary" | undefined;
|
|
9
9
|
fill?: "Solid" | "Soft" | "None" | undefined;
|
|
10
10
|
outlined?: boolean | undefined;
|
|
11
11
|
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.AllHTMLAttributes<HTMLInputElement>, "children" | "type" | "onChange" | "size"> & {
|
|
3
3
|
size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "Success" | "Warning" | "Critical" | "Primary" | "Secondary" | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
defaultChecked?: boolean | undefined;
|
|
7
7
|
checked?: boolean | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const Chip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
7
7
|
SurfaceVariant: ComplexStyleRule;
|
|
8
8
|
Primary: ComplexStyleRule;
|
|
9
9
|
Secondary: ComplexStyleRule;
|
|
10
|
+
Info: ComplexStyleRule;
|
|
10
11
|
Success: ComplexStyleRule;
|
|
11
12
|
Warning: ComplexStyleRule;
|
|
12
13
|
Critical: ComplexStyleRule;
|
|
@@ -19,6 +20,9 @@ export declare const Chip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
19
20
|
height: string;
|
|
20
21
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
21
22
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
23
|
+
selectors: {
|
|
24
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
25
|
+
};
|
|
22
26
|
};
|
|
23
27
|
"500": {
|
|
24
28
|
vars: {
|
|
@@ -27,6 +31,9 @@ export declare const Chip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
27
31
|
height: string;
|
|
28
32
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
29
33
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
|
+
selectors: {
|
|
35
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
36
|
+
};
|
|
30
37
|
};
|
|
31
38
|
};
|
|
32
39
|
fill: {
|
|
@@ -4,7 +4,7 @@ declare type ChipProps = {
|
|
|
4
4
|
after?: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
export declare const Chip: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, ChipProps & {
|
|
7
|
-
variant?: "Background" | "
|
|
7
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Info" | undefined;
|
|
8
8
|
size?: "400" | "500" | undefined;
|
|
9
9
|
fill?: "Soft" | "None" | undefined;
|
|
10
10
|
outlined?: boolean | undefined;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ComposeIcon: IconSrc;
|
|
1
|
+
export declare const ComposeIcon: import("../icon/Icons").IconSrc;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Dialog: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
variant?: "Background" | "
|
|
3
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
4
4
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Header: <T extends React.ElementType<any> = "header">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
variant?: "Background" | "
|
|
3
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
4
4
|
size?: "300" | "400" | "500" | "600" | "700" | undefined;
|
|
5
5
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -1,14 +1,50 @@
|
|
|
1
1
|
import { RecipeVariants } from "@vanilla-extract/recipes";
|
|
2
2
|
export declare const Icon: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
3
|
size: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
small: {
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
};
|
|
8
|
+
compact: {
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
standard: {
|
|
13
|
+
width: string;
|
|
14
|
+
height: string;
|
|
15
|
+
};
|
|
16
|
+
Inherit: {
|
|
17
|
+
width: string;
|
|
18
|
+
height: string;
|
|
19
|
+
};
|
|
20
|
+
"50": {
|
|
21
|
+
width: string;
|
|
22
|
+
height: string;
|
|
23
|
+
};
|
|
24
|
+
"100": {
|
|
25
|
+
width: string;
|
|
26
|
+
height: string;
|
|
27
|
+
};
|
|
28
|
+
"200": {
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
};
|
|
32
|
+
"300": {
|
|
33
|
+
width: string;
|
|
34
|
+
height: string;
|
|
35
|
+
};
|
|
36
|
+
"400": {
|
|
37
|
+
width: string;
|
|
38
|
+
height: string;
|
|
39
|
+
};
|
|
40
|
+
"500": {
|
|
41
|
+
width: string;
|
|
42
|
+
height: string;
|
|
43
|
+
};
|
|
44
|
+
"600": {
|
|
45
|
+
width: string;
|
|
46
|
+
height: string;
|
|
47
|
+
};
|
|
12
48
|
};
|
|
13
49
|
}>;
|
|
14
50
|
export declare type IconVariants = RecipeVariants<typeof Icon>;
|
|
@@ -8,5 +8,5 @@ export declare const Icon: React.ForwardRefExoticComponent<React.SVGAttributes<S
|
|
|
8
8
|
filled?: boolean | undefined;
|
|
9
9
|
src: IconSrc;
|
|
10
10
|
} & {
|
|
11
|
-
size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
|
|
11
|
+
size?: "small" | "compact" | "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | "standard" | undefined;
|
|
12
12
|
} & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -1,3 +1,157 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare
|
|
1
|
+
import type { Icon as PhosphorIcon } from "@phosphor-icons/react";
|
|
2
|
+
/** Legacy source calls remain supported; shared Icon renders the underlying Phosphor component directly. */
|
|
3
|
+
export declare type IconSrc = ((filled?: boolean) => JSX.Element) & {
|
|
4
|
+
glyph?: PhosphorIcon;
|
|
5
|
+
};
|
|
6
|
+
export declare const Icons: {
|
|
7
|
+
Bug: IconSrc;
|
|
8
|
+
GameController: IconSrc;
|
|
9
|
+
Plug: IconSrc;
|
|
10
|
+
Home: IconSrc;
|
|
11
|
+
User: IconSrc;
|
|
12
|
+
UserPlus: IconSrc;
|
|
13
|
+
Mail: IconSrc;
|
|
14
|
+
MailPlus: IconSrc;
|
|
15
|
+
Star: IconSrc;
|
|
16
|
+
PlusCircle: IconSrc;
|
|
17
|
+
Explore: IconSrc;
|
|
18
|
+
Smile: IconSrc;
|
|
19
|
+
SmilePlus: IconSrc;
|
|
20
|
+
Leaf: IconSrc;
|
|
21
|
+
Sticker: IconSrc;
|
|
22
|
+
Delete: IconSrc;
|
|
23
|
+
Phone: IconSrc;
|
|
24
|
+
PhoneDown: IconSrc;
|
|
25
|
+
Headphone: IconSrc;
|
|
26
|
+
HeadphoneMute: IconSrc;
|
|
27
|
+
Send: IconSrc;
|
|
28
|
+
Bell: IconSrc;
|
|
29
|
+
BellRing: IconSrc;
|
|
30
|
+
BellPing: IconSrc;
|
|
31
|
+
BellMute: IconSrc;
|
|
32
|
+
Message: IconSrc;
|
|
33
|
+
MessageUnread: IconSrc;
|
|
34
|
+
Setting: IconSrc;
|
|
35
|
+
Search: IconSrc;
|
|
36
|
+
Heart: IconSrc;
|
|
37
|
+
Play: IconSrc;
|
|
38
|
+
Pause: IconSrc;
|
|
39
|
+
Sun: IconSrc;
|
|
40
|
+
Photo: IconSrc;
|
|
41
|
+
Lock: IconSrc;
|
|
42
|
+
Vlc: IconSrc;
|
|
43
|
+
Flag: IconSrc;
|
|
44
|
+
Ball: IconSrc;
|
|
45
|
+
Bulb: IconSrc;
|
|
46
|
+
Terminal: IconSrc;
|
|
47
|
+
Pencil: IconSrc;
|
|
48
|
+
Info: IconSrc;
|
|
49
|
+
Shield: IconSrc;
|
|
50
|
+
ShieldLock: IconSrc;
|
|
51
|
+
ShieldUser: IconSrc;
|
|
52
|
+
Cup: IconSrc;
|
|
53
|
+
Pin: IconSrc;
|
|
54
|
+
VolumeHigh: IconSrc;
|
|
55
|
+
VolumeHighLock: IconSrc;
|
|
56
|
+
VolumeHighGlobe: IconSrc;
|
|
57
|
+
VolumeMute: IconSrc;
|
|
58
|
+
File: IconSrc;
|
|
59
|
+
Category: IconSrc;
|
|
60
|
+
Peace: IconSrc;
|
|
61
|
+
Eye: IconSrc;
|
|
62
|
+
EyeBlind: IconSrc;
|
|
63
|
+
Warning: IconSrc;
|
|
64
|
+
Funnel: IconSrc;
|
|
65
|
+
Bookmark: IconSrc;
|
|
66
|
+
Inbox: IconSrc;
|
|
67
|
+
Thread: IconSrc;
|
|
68
|
+
ThreadPlus: IconSrc;
|
|
69
|
+
ThreadUnread: IconSrc;
|
|
70
|
+
ThreadReply: IconSrc;
|
|
71
|
+
Monitor: IconSrc;
|
|
72
|
+
ScreenShare: IconSrc;
|
|
73
|
+
Server: IconSrc;
|
|
74
|
+
Prohibited: IconSrc;
|
|
75
|
+
NoEntry: IconSrc;
|
|
76
|
+
Mic: IconSrc;
|
|
77
|
+
MicMute: IconSrc;
|
|
78
|
+
VideoCamera: IconSrc;
|
|
79
|
+
VideoCameraMute: IconSrc;
|
|
80
|
+
Hash: IconSrc;
|
|
81
|
+
HashLock: IconSrc;
|
|
82
|
+
HashGlobe: IconSrc;
|
|
83
|
+
HashSearch: IconSrc;
|
|
84
|
+
HashPlus: IconSrc;
|
|
85
|
+
Space: IconSrc;
|
|
86
|
+
SpaceLock: IconSrc;
|
|
87
|
+
SpaceGlobe: IconSrc;
|
|
88
|
+
SpaceSearch: IconSrc;
|
|
89
|
+
SpacePlus: IconSrc;
|
|
90
|
+
ChevronRight: IconSrc;
|
|
91
|
+
ChevronLeft: IconSrc;
|
|
92
|
+
ChevronTop: IconSrc;
|
|
93
|
+
ChevronBottom: IconSrc;
|
|
94
|
+
Plus: IconSrc;
|
|
95
|
+
Minus: IconSrc;
|
|
96
|
+
Cross: IconSrc;
|
|
97
|
+
VerticalDots: IconSrc;
|
|
98
|
+
HorizontalDots: IconSrc;
|
|
99
|
+
Check: IconSrc;
|
|
100
|
+
CheckTwice: IconSrc;
|
|
101
|
+
Download: IconSrc;
|
|
102
|
+
External: IconSrc;
|
|
103
|
+
Clock: IconSrc;
|
|
104
|
+
RecentClock: IconSrc;
|
|
105
|
+
Power: IconSrc;
|
|
106
|
+
ReplyArrow: IconSrc;
|
|
107
|
+
ArrowGoRight: IconSrc;
|
|
108
|
+
ArrowGoRightPlus: IconSrc;
|
|
109
|
+
ArrowGoRightCross: IconSrc;
|
|
110
|
+
ArrowGoLeft: IconSrc;
|
|
111
|
+
Markdown: IconSrc;
|
|
112
|
+
Attachment: IconSrc;
|
|
113
|
+
Alphabet: IconSrc;
|
|
114
|
+
AlphabetUnderline: IconSrc;
|
|
115
|
+
Text: IconSrc;
|
|
116
|
+
Heading1: IconSrc;
|
|
117
|
+
Heading2: IconSrc;
|
|
118
|
+
Heading3: IconSrc;
|
|
119
|
+
Bold: IconSrc;
|
|
120
|
+
Italic: IconSrc;
|
|
121
|
+
Underline: IconSrc;
|
|
122
|
+
Strike: IconSrc;
|
|
123
|
+
Link: IconSrc;
|
|
124
|
+
Code: IconSrc;
|
|
125
|
+
BlockCode: IconSrc;
|
|
126
|
+
BlockQuote: IconSrc;
|
|
127
|
+
OrderList: IconSrc;
|
|
128
|
+
UnorderList: IconSrc;
|
|
129
|
+
Mention: IconSrc;
|
|
130
|
+
Filter: IconSrc;
|
|
131
|
+
Sort: IconSrc;
|
|
132
|
+
ArrowUpDown: IconSrc;
|
|
133
|
+
ArrowRight: IconSrc;
|
|
134
|
+
ArrowLeft: IconSrc;
|
|
135
|
+
ArrowTop: IconSrc;
|
|
136
|
+
ArrowBottom: IconSrc;
|
|
137
|
+
ArrowDropRight: IconSrc;
|
|
138
|
+
ArrowDropLeft: IconSrc;
|
|
139
|
+
ArrowDropTop: IconSrc;
|
|
140
|
+
ArrowDropBottom: IconSrc;
|
|
141
|
+
Reload: IconSrc;
|
|
142
|
+
Globe: IconSrc;
|
|
143
|
+
Robot: IconSrc;
|
|
144
|
+
People: IconSrc;
|
|
145
|
+
Skill: IconSrc;
|
|
146
|
+
Compose: IconSrc;
|
|
147
|
+
Copy: IconSrc;
|
|
148
|
+
Sidebar: IconSrc;
|
|
149
|
+
Broadcast: IconSrc;
|
|
150
|
+
Vault: IconSrc;
|
|
151
|
+
Sliders: IconSrc;
|
|
152
|
+
Stop: IconSrc;
|
|
153
|
+
Question: IconSrc;
|
|
154
|
+
Sigma: IconSrc;
|
|
155
|
+
WordFile: IconSrc;
|
|
156
|
+
};
|
|
157
|
+
export declare type IconName = keyof typeof Icons;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const normalizeIconSize: (size: number) => 16 | 20;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { ComplexStyleRule } from "@vanilla-extract/css";
|
|
1
|
+
import { ComplexStyleRule, StyleRule } from "@vanilla-extract/css";
|
|
2
2
|
import { RecipeVariants } from "@vanilla-extract/recipes";
|
|
3
3
|
export declare const IconButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
4
4
|
size: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"400": {
|
|
12
|
-
padding: string;
|
|
13
|
-
};
|
|
14
|
-
"300": {
|
|
15
|
-
padding: string;
|
|
16
|
-
};
|
|
5
|
+
compact: StyleRule;
|
|
6
|
+
standard: StyleRule;
|
|
7
|
+
"300": StyleRule;
|
|
8
|
+
"400": StyleRule;
|
|
9
|
+
"500": StyleRule;
|
|
10
|
+
"600": StyleRule;
|
|
17
11
|
};
|
|
18
12
|
variant: {
|
|
19
13
|
Background: ComplexStyleRule;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const IconButton: <T extends React.ElementType<any> = "button">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
size?: "300" | "400" | "500" | "600" | undefined;
|
|
4
|
-
variant?: "Background" | "
|
|
3
|
+
size?: "compact" | "300" | "400" | "500" | "600" | "standard" | undefined;
|
|
4
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
5
5
|
fill?: "Soft" | "None" | undefined;
|
|
6
6
|
outlined?: boolean | undefined;
|
|
7
7
|
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
@@ -19,6 +19,9 @@ export declare const Input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
19
19
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
20
20
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
21
21
|
height: string;
|
|
22
|
+
selectors: {
|
|
23
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
24
|
+
};
|
|
22
25
|
};
|
|
23
26
|
"400": {
|
|
24
27
|
vars: {
|
|
@@ -27,6 +30,9 @@ export declare const Input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
27
30
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
28
31
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
29
32
|
height: string;
|
|
33
|
+
selectors: {
|
|
34
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
35
|
+
};
|
|
30
36
|
};
|
|
31
37
|
"500": {
|
|
32
38
|
vars: {
|
|
@@ -35,6 +41,9 @@ export declare const Input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
35
41
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
36
42
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
37
43
|
height: string;
|
|
44
|
+
selectors: {
|
|
45
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
46
|
+
};
|
|
38
47
|
};
|
|
39
48
|
};
|
|
40
49
|
outlined: {
|
|
@@ -4,7 +4,7 @@ export declare const Input: React.ForwardRefExoticComponent<Omit<React.AllHTMLAt
|
|
|
4
4
|
after?: ReactNode;
|
|
5
5
|
inputSize?: number | undefined;
|
|
6
6
|
} & {
|
|
7
|
-
variant?: "Background" | "
|
|
7
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
8
8
|
size?: "300" | "400" | "500" | undefined;
|
|
9
9
|
outlined?: boolean | undefined;
|
|
10
10
|
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
@@ -2,6 +2,9 @@ import { ComplexStyleRule } from "@vanilla-extract/css";
|
|
|
2
2
|
import { RecipeVariants } from "@vanilla-extract/recipes";
|
|
3
3
|
export declare const Line: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
4
4
|
variant: {
|
|
5
|
+
Subtle: {
|
|
6
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7
|
+
};
|
|
5
8
|
Inherit: {
|
|
6
9
|
borderColor: "inherit";
|
|
7
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Line: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
variant?: "Background" | "
|
|
3
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Subtle" | "Inherit" | undefined;
|
|
4
4
|
direction?: "Horizontal" | "Vertical" | undefined;
|
|
5
5
|
size?: "300" | "400" | "500" | "600" | "700" | undefined;
|
|
6
6
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Menu: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
variant?: "Background" | "
|
|
3
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
4
4
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -27,6 +27,9 @@ export declare const MenuItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
27
27
|
height: string;
|
|
28
28
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
29
29
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
30
|
+
selectors: {
|
|
31
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
32
|
+
};
|
|
30
33
|
};
|
|
31
34
|
"400": {
|
|
32
35
|
vars: {
|
|
@@ -35,6 +38,9 @@ export declare const MenuItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
35
38
|
height: string;
|
|
36
39
|
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
37
40
|
padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
|
|
41
|
+
selectors: {
|
|
42
|
+
[x: string]: import("@vanilla-extract/css").StyleRule;
|
|
43
|
+
};
|
|
38
44
|
};
|
|
39
45
|
};
|
|
40
46
|
radii: {
|
|
@@ -4,7 +4,7 @@ declare type MenuItemProps = {
|
|
|
4
4
|
after?: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
export declare const MenuItem: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, MenuItemProps & {
|
|
7
|
-
variant?: "Background" | "
|
|
7
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
8
8
|
fill?: "Soft" | "None" | undefined;
|
|
9
9
|
size?: "300" | "400" | undefined;
|
|
10
10
|
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Modal: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
variant?: "Background" | "
|
|
3
|
+
variant?: "Background" | "Success" | "Warning" | "Critical" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | undefined;
|
|
4
4
|
size?: "300" | "400" | "500" | undefined;
|
|
5
5
|
flexHeight?: boolean | undefined;
|
|
6
6
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -8,7 +8,10 @@ export declare const PageRoot: ({ nav, children }: PageRootProps) => JSX.Element
|
|
|
8
8
|
declare type ClientDrawerLayoutProps = {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
};
|
|
11
|
-
export declare
|
|
11
|
+
export declare type RoomNavToggleOptions = {
|
|
12
|
+
animate?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function useRoomNavCollapsed(): [boolean, (options?: RoomNavToggleOptions) => void];
|
|
12
15
|
export declare const PageNav: ({ size, children }: ClientDrawerLayoutProps & css.PageNavVariants) => JSX.Element;
|
|
13
16
|
export declare const PageNavHeader: <T extends React.ElementType<any> = "header">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
14
17
|
outlined?: boolean | undefined;
|
|
@@ -46,3 +46,8 @@ export declare const PageHeroEmpty: string;
|
|
|
46
46
|
export declare const PageHeroEmptyCompact: string;
|
|
47
47
|
export declare const PageHeroSection: string;
|
|
48
48
|
export declare const PageContentCenter: string;
|
|
49
|
+
export declare const PageHeroTitle: string;
|
|
50
|
+
export declare const PageNavRoot: string;
|
|
51
|
+
export declare const PageNavViewport: string;
|
|
52
|
+
export declare const PageNavDrawer: string;
|
|
53
|
+
export declare const PageNavRail: string;
|
|
@@ -6,7 +6,7 @@ declare type ProgressBarProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const ProgressBar: <T extends React.ElementType<any> = "span">(props: import("..").AsOutProps<T, ProgressBarProps & {
|
|
8
8
|
size?: "300" | "400" | "500" | undefined;
|
|
9
|
-
variant?: "
|
|
9
|
+
variant?: "Success" | "Warning" | "Critical" | "Primary" | "Secondary" | undefined;
|
|
10
10
|
fill?: "Solid" | "Soft" | "None" | undefined;
|
|
11
11
|
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
12
12
|
outlined?: boolean | undefined;
|