@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.
- package/CHANGELOG.md +239 -0
- package/dist/components/activity-group/ActivityGroup.css.d.ts +2 -0
- package/dist/components/activity-group/ActivityGroup.d.ts +6 -0
- package/dist/components/activity-group/index.d.ts +1 -0
- package/dist/components/activity-row/ActivityRow.css.d.ts +47 -0
- package/dist/components/activity-row/ActivityRow.d.ts +18 -0
- package/dist/components/activity-row/index.d.ts +1 -0
- package/dist/components/avatar/Avatar.css.d.ts +0 -25
- package/dist/components/avatar/Avatar.d.ts +1 -2
- package/dist/components/badge/Badge.css.d.ts +0 -2
- package/dist/components/badge/Badge.d.ts +1 -1
- package/dist/components/box/Box.css.d.ts +0 -9
- package/dist/components/box/Box.d.ts +7 -7
- package/dist/components/button/Button.css.d.ts +1 -3
- package/dist/components/button/Button.d.ts +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +0 -1
- package/dist/components/chip/Chip.css.d.ts +1 -3
- package/dist/components/chip/Chip.d.ts +1 -1
- package/dist/components/day-header/DayHeader.css.d.ts +1 -0
- package/dist/components/day-header/DayHeader.d.ts +4 -0
- package/dist/components/day-header/index.d.ts +1 -0
- package/dist/components/empty-state/EmptyState.css.d.ts +1 -0
- package/dist/components/empty-state/EmptyState.d.ts +10 -0
- package/dist/components/empty-state/index.d.ts +1 -0
- package/dist/components/icon/Icons.d.ts +1 -1
- package/dist/components/icon-button/IconButton.css.d.ts +0 -2
- package/dist/components/icon-button/IconButton.d.ts +1 -1
- package/dist/components/index.d.ts +8 -31
- package/dist/components/input/Input.css.d.ts +0 -2
- package/dist/components/input/Input.d.ts +1 -1
- package/dist/components/menu/MenuItem.css.d.ts +0 -2
- package/dist/components/menu/MenuItem.d.ts +1 -1
- package/dist/components/page/Page.d.ts +7 -7
- package/dist/components/page/style.css.d.ts +2 -2
- package/dist/components/pop-out/PopOut.css.d.ts +0 -1
- package/dist/components/progress-bar/ProgressBar.css.d.ts +0 -2
- package/dist/components/progress-bar/ProgressBar.d.ts +1 -1
- package/dist/components/scroll/Scroll.d.ts +1 -1
- package/dist/components/segmented-control/SegmentedControl.css.d.ts +2 -0
- package/dist/components/segmented-control/SegmentedControl.d.ts +11 -0
- package/dist/components/segmented-control/index.d.ts +1 -0
- package/dist/components/selectionKeyboard.d.ts +2 -0
- package/dist/components/sequence-card/SequenceCard.d.ts +8 -8
- package/dist/components/sequence-card/style.css.d.ts +2 -18
- package/dist/components/sidebar/Sidebar.css.d.ts +2 -2
- package/dist/components/sidebar/SidebarItem.d.ts +1 -2
- package/dist/components/spinner/Spinner.css.d.ts +0 -5
- package/dist/components/spinner/Spinner.d.ts +0 -1
- package/dist/components/tab/Tab.css.d.ts +1 -0
- package/dist/components/tab/Tab.d.ts +7 -0
- package/dist/components/tab/index.d.ts +1 -0
- package/dist/components/tab-bar/TabBar.css.d.ts +1 -0
- package/dist/components/tab-bar/TabBar.d.ts +4 -9
- package/dist/components/tab-bar/TabBarContext.d.ts +1 -0
- package/dist/components/text/Text.css.d.ts +0 -15
- package/dist/components/text/Text.d.ts +1 -1
- package/dist/components/text-area/TextArea.css.d.ts +3 -2
- package/dist/components/text-area/TextArea.d.ts +1 -1
- package/dist/components/toggle-chip/ToggleChip.css.d.ts +1 -0
- package/dist/components/toggle-chip/ToggleChip.d.ts +8 -0
- package/dist/components/toggle-chip/index.d.ts +1 -0
- package/dist/components/tooltip/Tooltip.css.d.ts +0 -2
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/typing-indicator/TypingIndicator.css.d.ts +0 -7
- package/dist/components/unread-badge/UnreadBadge.css.d.ts +1 -1
- package/dist/components/unread-badge/UnreadBadge.d.ts +2 -7
- package/dist/components/variant.css.d.ts +0 -2
- package/dist/index.js +3493 -4366
- package/dist/index.js.map +1 -1
- package/dist/style.css +1336 -2082
- package/dist/styles/ContainerColor.css.d.ts +0 -1
- package/dist/theme/color.css.d.ts +10 -1
- package/dist/theme/config.css.d.ts +0 -23
- package/dist/theme/dark.css.d.ts +1 -0
- package/dist/theme/index.d.ts +1 -1
- package/package.json +75 -11
- package/DIRECTION_D_PREVIEW.json +0 -6
- package/MATERIAL-SYMBOLS-LICENSE.txt +0 -202
- package/dist/components/activity-card/ActivityCard.d.ts +0 -26
- package/dist/components/activity-card/index.d.ts +0 -1
- package/dist/components/banner/Banner.d.ts +0 -14
- package/dist/components/banner/index.d.ts +0 -1
- package/dist/components/button-group/ButtonGroup.css.d.ts +0 -2
- package/dist/components/button-group/ButtonGroup.d.ts +0 -16
- package/dist/components/button-group/index.d.ts +0 -1
- package/dist/components/call/Call.css.d.ts +0 -18
- package/dist/components/call/Call.d.ts +0 -45
- package/dist/components/call/index.d.ts +0 -1
- package/dist/components/card/Card.css.d.ts +0 -2
- package/dist/components/card/Card.d.ts +0 -32
- package/dist/components/card/index.d.ts +0 -1
- package/dist/components/composer/Composer.css.d.ts +0 -5
- package/dist/components/composer/Composer.d.ts +0 -31
- package/dist/components/composer/index.d.ts +0 -1
- package/dist/components/content-card/ContentCard.css.d.ts +0 -3
- package/dist/components/content-card/ContentCard.d.ts +0 -37
- package/dist/components/content-card/index.d.ts +0 -1
- package/dist/components/date-time/DateTime.d.ts +0 -17
- package/dist/components/date-time/index.d.ts +0 -1
- package/dist/components/dialog-frame/DialogFrame.css.d.ts +0 -2
- package/dist/components/dialog-frame/DialogFrame.d.ts +0 -17
- package/dist/components/dialog-frame/index.d.ts +0 -1
- package/dist/components/dock/Dock.css.d.ts +0 -3
- package/dist/components/dock/Dock.d.ts +0 -10
- package/dist/components/dock/index.d.ts +0 -1
- package/dist/components/file-attachment/FileAttachment.css.d.ts +0 -1
- package/dist/components/file-attachment/FileAttachment.d.ts +0 -10
- package/dist/components/file-attachment/index.d.ts +0 -1
- package/dist/components/floating-toolbar/FloatingToolbar.css.d.ts +0 -1
- package/dist/components/floating-toolbar/FloatingToolbar.d.ts +0 -14
- package/dist/components/floating-toolbar/index.d.ts +0 -1
- package/dist/components/folder-field/FolderField.d.ts +0 -12
- package/dist/components/folder-field/index.d.ts +0 -1
- package/dist/components/identity/Identity.css.d.ts +0 -32
- package/dist/components/identity/Identity.d.ts +0 -58
- package/dist/components/identity/IdentityLists.d.ts +0 -22
- package/dist/components/identity/index.d.ts +0 -2
- package/dist/components/list-row/ListRow.css.d.ts +0 -2
- package/dist/components/list-row/ListRow.d.ts +0 -11
- package/dist/components/list-row/index.d.ts +0 -1
- package/dist/components/menu-button/MenuButton.css.d.ts +0 -1
- package/dist/components/menu-button/MenuButton.d.ts +0 -31
- package/dist/components/menu-button/index.d.ts +0 -1
- package/dist/components/motion/Motion.css.d.ts +0 -3
- package/dist/components/motion/Motion.d.ts +0 -9
- package/dist/components/motion/index.d.ts +0 -1
- package/dist/components/nav/Nav.css.d.ts +0 -31
- package/dist/components/nav/Nav.d.ts +0 -52
- package/dist/components/nav/index.d.ts +0 -1
- package/dist/components/page-state/EmptyState.d.ts +0 -12
- package/dist/components/page-state/ErrorState.d.ts +0 -9
- package/dist/components/page-state/LoadingState.d.ts +0 -5
- package/dist/components/page-state/PageState.css.d.ts +0 -3
- package/dist/components/page-state/PageTitleHeader.d.ts +0 -13
- package/dist/components/page-state/index.d.ts +0 -4
- package/dist/components/password-input/PasswordInput.d.ts +0 -7
- package/dist/components/password-input/index.d.ts +0 -1
- package/dist/components/person-avatar/PersonAvatar.d.ts +0 -6
- package/dist/components/person-avatar/index.d.ts +0 -1
- package/dist/components/pill/Pill.d.ts +0 -11
- package/dist/components/pill/index.d.ts +0 -1
- package/dist/components/power/Power.css.d.ts +0 -1
- package/dist/components/power/Power.d.ts +0 -24
- package/dist/components/power/index.d.ts +0 -1
- package/dist/components/presence/Presence.css.d.ts +0 -39
- package/dist/components/presence/Presence.d.ts +0 -20
- package/dist/components/presence/index.d.ts +0 -1
- package/dist/components/select/Select.css.d.ts +0 -3
- package/dist/components/select/Select.d.ts +0 -21
- package/dist/components/select/index.d.ts +0 -1
- package/dist/components/settings-shell/SettingsShell.css.d.ts +0 -6
- package/dist/components/settings-shell/SettingsShell.d.ts +0 -31
- package/dist/components/settings-shell/index.d.ts +0 -1
- package/dist/components/skeleton/Skeleton.css.d.ts +0 -28
- package/dist/components/skeleton/Skeleton.d.ts +0 -10
- package/dist/components/skeleton/index.d.ts +0 -1
- package/dist/components/split-button/SplitButton.css.d.ts +0 -4
- package/dist/components/split-button/SplitButton.d.ts +0 -16
- package/dist/components/split-button/index.d.ts +0 -1
- package/dist/components/timeline/Timeline.css.d.ts +0 -24
- package/dist/components/timeline/Timeline.d.ts +0 -51
- package/dist/components/timeline/index.d.ts +0 -1
- package/dist/components/tooltip/Hint.d.ts +0 -13
- package/dist/components/wavy-progress/WavyProgress.css.d.ts +0 -3
- package/dist/components/wavy-progress/WavyProgress.d.ts +0 -8
- package/dist/components/wavy-progress/index.d.ts +0 -1
- package/dist/theme/review.css.d.ts +0 -115
- package/dist/utils/rovingFocus.d.ts +0 -3
|
@@ -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" | "
|
|
10
|
+
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
11
11
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -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" | "
|
|
10
|
+
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
11
11
|
}>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
12
12
|
export {};
|
|
@@ -32,13 +32,13 @@ export declare const PageHeroSection: <T extends React.ElementType<any> = "div">
|
|
|
32
32
|
display?: "Flex" | "InlineFlex" | undefined;
|
|
33
33
|
direction?: "Inherit" | "Row" | "RowReverse" | "Column" | "ColumnReverse" | undefined;
|
|
34
34
|
wrap?: "Inherit" | "NoWrap" | "Wrap" | "WrapReverse" | undefined;
|
|
35
|
-
justifyContent?: "
|
|
36
|
-
justifyItems?: "
|
|
37
|
-
justifySelf?: "
|
|
38
|
-
alignContent?: "
|
|
39
|
-
alignItems?: "
|
|
40
|
-
alignSelf?: "
|
|
41
|
-
gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "
|
|
35
|
+
justifyContent?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
|
|
36
|
+
justifyItems?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
37
|
+
justifySelf?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
38
|
+
alignContent?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
|
|
39
|
+
alignItems?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
40
|
+
alignSelf?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
41
|
+
gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "Inherit" | undefined;
|
|
42
42
|
grow?: "No" | "Yes" | undefined;
|
|
43
43
|
shrink?: "No" | "Yes" | undefined;
|
|
44
44
|
basis?: "No" | "Yes" | undefined;
|
|
@@ -17,7 +17,7 @@ export declare const PageNavResizeHandle: string;
|
|
|
17
17
|
export declare const PageNavHeader: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
18
18
|
outlined: {
|
|
19
19
|
true: {
|
|
20
|
-
|
|
20
|
+
borderBottomWidth: number;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
@@ -36,7 +36,7 @@ export declare const PageHeader: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
36
36
|
};
|
|
37
37
|
outlined: {
|
|
38
38
|
true: {
|
|
39
|
-
|
|
39
|
+
borderBottomWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
@@ -8,7 +8,7 @@ export declare const ProgressBar: <T extends React.ElementType<any> = "span">(pr
|
|
|
8
8
|
size?: "300" | "400" | "500" | undefined;
|
|
9
9
|
variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
|
|
10
10
|
fill?: "Solid" | "Soft" | "None" | undefined;
|
|
11
|
-
radii?: "0" | "300" | "400" | "500" | "
|
|
11
|
+
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
12
12
|
outlined?: boolean | undefined;
|
|
13
13
|
}>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
14
14
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Scroll: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
3
|
variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
|
|
4
|
-
visibility?: "
|
|
4
|
+
visibility?: "Always" | "Hover" | undefined;
|
|
5
5
|
hideTrack?: boolean | undefined;
|
|
6
6
|
size?: "0" | "300" | "400" | undefined;
|
|
7
7
|
direction?: "Horizontal" | "Vertical" | "Both" | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export declare type SegmentedControlProps = {
|
|
3
|
+
options: {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
after?: ReactNode;
|
|
7
|
+
}[];
|
|
8
|
+
value: string;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const SegmentedControl: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, SegmentedControlProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SegmentedControl";
|
|
@@ -3,20 +3,20 @@ export declare const SequenceCard: <T extends React.ElementType<any> = "div">(pr
|
|
|
3
3
|
display?: "Flex" | "InlineFlex" | undefined;
|
|
4
4
|
direction?: "Inherit" | "Row" | "RowReverse" | "Column" | "ColumnReverse" | undefined;
|
|
5
5
|
wrap?: "Inherit" | "NoWrap" | "Wrap" | "WrapReverse" | undefined;
|
|
6
|
-
justifyContent?: "
|
|
7
|
-
justifyItems?: "
|
|
8
|
-
justifySelf?: "
|
|
9
|
-
alignContent?: "
|
|
10
|
-
alignItems?: "
|
|
11
|
-
alignSelf?: "
|
|
12
|
-
gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "
|
|
6
|
+
justifyContent?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
|
|
7
|
+
justifyItems?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
8
|
+
justifySelf?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
9
|
+
alignContent?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
|
|
10
|
+
alignItems?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
11
|
+
alignSelf?: "End" | "Start" | "Center" | "Inherit" | "Stretch" | "Baseline" | undefined;
|
|
12
|
+
gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "Inherit" | undefined;
|
|
13
13
|
grow?: "No" | "Yes" | undefined;
|
|
14
14
|
shrink?: "No" | "Yes" | undefined;
|
|
15
15
|
basis?: "No" | "Yes" | undefined;
|
|
16
16
|
} & import("..").AsProp<React.ElementType<any>> & {
|
|
17
17
|
variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
radii?: "0" | "300" | "400" | "500" |
|
|
19
|
+
radii?: "0" | "300" | "400" | "500" | undefined;
|
|
20
20
|
outlined?: boolean | undefined;
|
|
21
21
|
mergeBorder?: boolean | undefined;
|
|
22
22
|
}>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -21,16 +21,6 @@ export declare const SequenceCard: import("@vanilla-extract/recipes").RuntimeFn<
|
|
|
21
21
|
[x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
"600": {
|
|
25
|
-
vars: {
|
|
26
|
-
[x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
"700": {
|
|
30
|
-
vars: {
|
|
31
|
-
[x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
24
|
};
|
|
35
25
|
outlined: {
|
|
36
26
|
true: {
|
|
@@ -41,16 +31,10 @@ export declare const SequenceCard: import("@vanilla-extract/recipes").RuntimeFn<
|
|
|
41
31
|
};
|
|
42
32
|
mergeBorder: {
|
|
43
33
|
true: {
|
|
44
|
-
|
|
34
|
+
borderBottomWidth: number;
|
|
45
35
|
selectors: {
|
|
46
36
|
"&:last-child, &:not(:has(+&))": {
|
|
47
|
-
|
|
48
|
-
};
|
|
49
|
-
'&[data-last-child="false"]': {
|
|
50
|
-
marginBottom: `calc(-1 * var(--${string}))` | `calc(-1 * var(--${string}, ${string}))` | `calc(-1 * var(--${string}, ${number}))`;
|
|
51
|
-
};
|
|
52
|
-
'&[data-last-child="true"]': {
|
|
53
|
-
marginBottom: number;
|
|
37
|
+
borderBottomWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
54
38
|
};
|
|
55
39
|
};
|
|
56
40
|
};
|
|
@@ -51,7 +51,7 @@ export declare const SidebarAvatar: import("@vanilla-extract/recipes").RuntimeFn
|
|
|
51
51
|
};
|
|
52
52
|
outlined: {
|
|
53
53
|
true: {
|
|
54
|
-
|
|
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
55
|
};
|
|
56
56
|
};
|
|
57
57
|
}>;
|
|
@@ -59,7 +59,7 @@ export declare type SidebarAvatarVariants = RecipeVariants<typeof SidebarAvatar>
|
|
|
59
59
|
export declare const SidebarFolder: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
60
60
|
state: {
|
|
61
61
|
Close: {
|
|
62
|
-
gap:
|
|
62
|
+
gap: string;
|
|
63
63
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
64
64
|
};
|
|
65
65
|
Open: {
|
|
@@ -14,8 +14,7 @@ export declare const SidebarAvatar: <T extends React.ElementType<any> = "div">(p
|
|
|
14
14
|
outlined?: boolean | undefined;
|
|
15
15
|
} & Omit<any, "as"> & {
|
|
16
16
|
size?: "200" | "300" | "400" | "500" | undefined;
|
|
17
|
-
radii?: "0" | "300" | "400" | "500" | "
|
|
18
|
-
activity?: "Idle" | "Busy" | undefined;
|
|
17
|
+
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
19
18
|
} & import("..").AsProp<React.ElementType<any>>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
20
19
|
export declare const SidebarFolder: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
21
20
|
state?: "Close" | "Open" | undefined;
|
|
@@ -11,10 +11,6 @@ export declare const Spinner: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
11
11
|
"500": string;
|
|
12
12
|
"600": string;
|
|
13
13
|
};
|
|
14
|
-
shape: {
|
|
15
|
-
Ring: {};
|
|
16
|
-
Morph: {};
|
|
17
|
-
};
|
|
18
14
|
variant: {
|
|
19
15
|
Primary: ComplexStyleRule;
|
|
20
16
|
Secondary: ComplexStyleRule;
|
|
@@ -39,4 +35,3 @@ export declare type SpinnerVariants = RecipeVariants<typeof Spinner>;
|
|
|
39
35
|
export declare const SpinnerSvg: string;
|
|
40
36
|
export declare const SpinnerOuter: string;
|
|
41
37
|
export declare const SpinnerInner: string;
|
|
42
|
-
export declare const SpinnerMorph: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Spinner: <T extends React.ElementType<any> = "span">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
3
|
size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
|
|
4
|
-
shape?: "Ring" | "Morph" | undefined;
|
|
5
4
|
variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
|
|
6
5
|
fill?: "Solid" | "Soft" | undefined;
|
|
7
6
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Tab: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export declare type TabProps = {
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
onSelect?: () => void;
|
|
5
|
+
after?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const Tab: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, TabProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Tab";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TabBar: string;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare type TabBarProps = {
|
|
2
|
-
tabs
|
|
3
|
-
|
|
4
|
-
active: string;
|
|
3
|
+
tabs?: string[];
|
|
4
|
+
active?: string;
|
|
5
5
|
onSelect?: (tab: string) => void;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
* A row of tab chips — the settings tab strip, the explore filters, the
|
|
9
|
-
* console sections. A tablist, so the selected chip carries aria-selected;
|
|
10
|
-
* for a pressed-state toggle that is not a tab, use Pill.
|
|
11
|
-
*/
|
|
12
|
-
export declare const TabBar: ({ tabs, active, onSelect }: TabBarProps) => JSX.Element;
|
|
7
|
+
export declare const TabBar: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, TabBarProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TabStopContext: import("react").Context<boolean>;
|
|
@@ -92,21 +92,6 @@ export declare const Text: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
92
92
|
letterSpacing: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
93
93
|
fontWeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
94
94
|
};
|
|
95
|
-
Metadata: {
|
|
96
|
-
fontFamily: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
97
|
-
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
98
|
-
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
99
|
-
fontWeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
100
|
-
letterSpacing: "0";
|
|
101
|
-
};
|
|
102
|
-
LabelMono: {
|
|
103
|
-
fontFamily: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
104
|
-
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
105
|
-
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
106
|
-
letterSpacing: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
107
|
-
fontWeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
108
|
-
textTransform: "uppercase";
|
|
109
|
-
};
|
|
110
95
|
O400: {
|
|
111
96
|
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
112
97
|
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export declare const Text: <T extends React.ElementType<any> = "p">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
3
|
-
size?: "D400" | "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "T500" | "T400" | "T300" | "T200" | "B500" | "B400" | "B300" | "L400" | "
|
|
3
|
+
size?: "D400" | "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "T500" | "T400" | "T300" | "T200" | "B500" | "B400" | "B300" | "L400" | "O400" | "C400" | "Inherit" | undefined;
|
|
4
4
|
align?: "Right" | "Left" | "Center" | "Justify" | undefined;
|
|
5
5
|
truncate?: boolean | undefined;
|
|
6
6
|
priority?: "300" | "400" | "500" | "Inherit" | "Initial" | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const TextArea: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
18
18
|
};
|
|
19
19
|
minHeight: string;
|
|
20
20
|
padding: `calc((${string} - var(--${string})) / 2) var(--${string})` | `calc((${string} - var(--${string})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string})) / 2) var(--${string}, ${number})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string}, ${number})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string}, ${number})`;
|
|
21
|
+
paddingRight: number;
|
|
21
22
|
};
|
|
22
23
|
"400": {
|
|
23
24
|
vars: {
|
|
@@ -25,6 +26,7 @@ export declare const TextArea: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
25
26
|
};
|
|
26
27
|
minHeight: string;
|
|
27
28
|
padding: `calc((${string} - var(--${string})) / 2) var(--${string})` | `calc((${string} - var(--${string})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string})) / 2) var(--${string}, ${number})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string}, ${number})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string}, ${number})`;
|
|
29
|
+
paddingRight: number;
|
|
28
30
|
};
|
|
29
31
|
"500": {
|
|
30
32
|
vars: {
|
|
@@ -32,6 +34,7 @@ export declare const TextArea: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
32
34
|
};
|
|
33
35
|
minHeight: string;
|
|
34
36
|
padding: `calc((${string} - var(--${string})) / 2) var(--${string})` | `calc((${string} - var(--${string})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string})) / 2) var(--${string}, ${number})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string}, ${string})) / 2) var(--${string}, ${number})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string}, ${string})` | `calc((${string} - var(--${string}, ${number})) / 2) var(--${string}, ${number})`;
|
|
37
|
+
paddingRight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
outlined: {
|
|
@@ -45,8 +48,6 @@ export declare const TextArea: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
45
48
|
"300": string;
|
|
46
49
|
"400": string;
|
|
47
50
|
"500": string;
|
|
48
|
-
"600": string;
|
|
49
|
-
"700": string;
|
|
50
51
|
Pill: string;
|
|
51
52
|
};
|
|
52
53
|
resize: {
|
|
@@ -3,6 +3,6 @@ export declare const TextArea: React.ForwardRefExoticComponent<Omit<React.AllHTM
|
|
|
3
3
|
variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
|
|
4
4
|
size?: "300" | "400" | "500" | undefined;
|
|
5
5
|
outlined?: boolean | undefined;
|
|
6
|
-
radii?: "0" | "300" | "400" | "500" | "
|
|
6
|
+
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
7
7
|
resize?: "None" | "Horizontal" | "Vertical" | "Both" | "Block" | "Inline" | undefined;
|
|
8
8
|
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ToggleChip: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export declare type ToggleChipProps = {
|
|
3
|
+
pressed: boolean;
|
|
4
|
+
onToggle: (pressed: boolean) => void;
|
|
5
|
+
before?: ReactNode;
|
|
6
|
+
after?: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare const ToggleChip: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, ToggleChipProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ToggleChip";
|
|
@@ -4,7 +4,7 @@ export declare const TooltipContainerProvider: React.Provider<Element | Document
|
|
|
4
4
|
export declare const useTooltipContainer: () => Element | DocumentFragment | undefined;
|
|
5
5
|
export declare const Tooltip: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
|
|
6
6
|
variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
|
|
7
|
-
radii?: "0" | "300" | "400" | "500" | "
|
|
7
|
+
radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
|
|
8
8
|
} & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
9
9
|
interface TooltipProviderProps {
|
|
10
10
|
position?: Position;
|
|
@@ -2,13 +2,6 @@ export declare const TypingDot: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
2
2
|
animated: {
|
|
3
3
|
true: {
|
|
4
4
|
animation: `${string} 0.6s infinite alternate`;
|
|
5
|
-
"@media": {
|
|
6
|
-
"(prefers-reduced-motion: reduce)": {
|
|
7
|
-
animation: "none";
|
|
8
|
-
transform: "none";
|
|
9
|
-
opacity: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
5
|
};
|
|
13
6
|
};
|
|
14
7
|
size: {
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
export declare type UnreadBadgeProps = {
|
|
3
3
|
count: number;
|
|
4
|
-
/** When supplied, show mentions as a number and plain unread as a dot. */
|
|
5
4
|
mentionCount?: number;
|
|
6
5
|
highlight?: boolean;
|
|
7
|
-
/** Override for localised accessible text. */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** Override visible formatting, without losing the exact accessible count. */
|
|
10
|
-
formatCount?: (count: number) => ReactNode;
|
|
11
6
|
};
|
|
12
|
-
export declare const UnreadBadge: <T extends React.ElementType<any> = "span">(props: import("..").AsOutProps<T, UnreadBadgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
13
7
|
export declare const UnreadBadgeCenter: <T extends React.ElementType<any> = "span">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
8
|
+
export declare const UnreadBadge: <T extends React.ElementType<any> = "span">(props: import("..").AsOutProps<T, UnreadBadgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|