@ag2/weave 0.1.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 (97) hide show
  1. package/CHANGELOG.md +223 -0
  2. package/LICENSE +177 -0
  3. package/README.md +27 -0
  4. package/dist/components/as.d.ts +3 -0
  5. package/dist/components/avatar/Avatar.css.d.ts +36 -0
  6. package/dist/components/avatar/Avatar.d.ts +7 -0
  7. package/dist/components/avatar/index.d.ts +1 -0
  8. package/dist/components/badge/Badge.css.d.ts +65 -0
  9. package/dist/components/badge/Badge.d.ts +8 -0
  10. package/dist/components/badge/index.d.ts +1 -0
  11. package/dist/components/box/Box.css.d.ts +234 -0
  12. package/dist/components/box/Box.d.ts +16 -0
  13. package/dist/components/box/index.d.ts +1 -0
  14. package/dist/components/button/Button.css.d.ts +77 -0
  15. package/dist/components/button/Button.d.ts +13 -0
  16. package/dist/components/button/index.d.ts +1 -0
  17. package/dist/components/checkbox/Checkbox.css.d.ts +24 -0
  18. package/dist/components/checkbox/Checkbox.d.ts +8 -0
  19. package/dist/components/checkbox/index.d.ts +1 -0
  20. package/dist/components/chip/Chip.css.d.ts +54 -0
  21. package/dist/components/chip/Chip.d.ts +13 -0
  22. package/dist/components/chip/index.d.ts +1 -0
  23. package/dist/components/dialog/Dialog.css.d.ts +15 -0
  24. package/dist/components/dialog/Dialog.d.ts +4 -0
  25. package/dist/components/dialog/index.d.ts +1 -0
  26. package/dist/components/header/Header.css.d.ts +32 -0
  27. package/dist/components/header/Header.d.ts +5 -0
  28. package/dist/components/header/index.d.ts +1 -0
  29. package/dist/components/icon/Icon.css.d.ts +14 -0
  30. package/dist/components/icon/Icon.d.ts +12 -0
  31. package/dist/components/icon/Icons.d.ts +3 -0
  32. package/dist/components/icon/index.d.ts +2 -0
  33. package/dist/components/icon-button/IconButton.css.d.ts +50 -0
  34. package/dist/components/icon-button/IconButton.d.ts +8 -0
  35. package/dist/components/icon-button/index.d.ts +1 -0
  36. package/dist/components/index.d.ts +31 -0
  37. package/dist/components/input/Input.css.d.ts +55 -0
  38. package/dist/components/input/Input.d.ts +11 -0
  39. package/dist/components/input/index.d.ts +1 -0
  40. package/dist/components/line/Line.css.d.ts +56 -0
  41. package/dist/components/line/Line.d.ts +6 -0
  42. package/dist/components/line/index.d.ts +1 -0
  43. package/dist/components/menu/Menu.css.d.ts +15 -0
  44. package/dist/components/menu/Menu.d.ts +4 -0
  45. package/dist/components/menu/MenuItem.css.d.ts +49 -0
  46. package/dist/components/menu/MenuItem.d.ts +12 -0
  47. package/dist/components/menu/index.d.ts +2 -0
  48. package/dist/components/modal/Modal.css.d.ts +34 -0
  49. package/dist/components/modal/Modal.d.ts +6 -0
  50. package/dist/components/modal/index.d.ts +1 -0
  51. package/dist/components/overlay/Overlay.css.d.ts +3 -0
  52. package/dist/components/overlay/Overlay.d.ts +11 -0
  53. package/dist/components/overlay/index.d.ts +1 -0
  54. package/dist/components/pop-out/PopOut.css.d.ts +2 -0
  55. package/dist/components/pop-out/PopOut.d.ts +14 -0
  56. package/dist/components/pop-out/index.d.ts +1 -0
  57. package/dist/components/portal/Portal.d.ts +6 -0
  58. package/dist/components/portal/index.d.ts +1 -0
  59. package/dist/components/progress-bar/ProgressBar.css.d.ts +54 -0
  60. package/dist/components/progress-bar/ProgressBar.d.ts +14 -0
  61. package/dist/components/progress-bar/index.d.ts +1 -0
  62. package/dist/components/radio-button/RadioButton.css.d.ts +22 -0
  63. package/dist/components/radio-button/RadioButton.d.ts +8 -0
  64. package/dist/components/radio-button/index.d.ts +1 -0
  65. package/dist/components/reset.css.d.ts +2 -0
  66. package/dist/components/scroll/Scroll.css.d.ts +117 -0
  67. package/dist/components/scroll/Scroll.d.ts +8 -0
  68. package/dist/components/scroll/index.d.ts +1 -0
  69. package/dist/components/selectorPreset.css.d.ts +2 -0
  70. package/dist/components/spinner/Spinner.css.d.ts +37 -0
  71. package/dist/components/spinner/Spinner.d.ts +6 -0
  72. package/dist/components/spinner/index.d.ts +1 -0
  73. package/dist/components/switch/Switch.css.d.ts +13 -0
  74. package/dist/components/switch/Switch.d.ts +7 -0
  75. package/dist/components/switch/index.d.ts +1 -0
  76. package/dist/components/text/Text.css.d.ts +147 -0
  77. package/dist/components/text/Text.d.ts +7 -0
  78. package/dist/components/text/index.d.ts +1 -0
  79. package/dist/components/text-area/TextArea.css.d.ts +74 -0
  80. package/dist/components/text-area/TextArea.d.ts +8 -0
  81. package/dist/components/text-area/index.d.ts +1 -0
  82. package/dist/components/tooltip/Tooltip.css.d.ts +24 -0
  83. package/dist/components/tooltip/Tooltip.d.ts +20 -0
  84. package/dist/components/tooltip/index.d.ts +1 -0
  85. package/dist/components/types.d.ts +9 -0
  86. package/dist/components/util.d.ts +16 -0
  87. package/dist/components/variant.css.d.ts +18 -0
  88. package/dist/index.d.ts +2 -0
  89. package/dist/index.js +3685 -0
  90. package/dist/index.js.map +1 -0
  91. package/dist/style.css +2212 -0
  92. package/dist/theme/color.css.d.ts +89 -0
  93. package/dist/theme/config.css.d.ts +138 -0
  94. package/dist/theme/index.d.ts +4 -0
  95. package/dist/theme/util.d.ts +2 -0
  96. package/dist/theme/vars.css.d.ts +5 -0
  97. package/package.json +105 -0
@@ -0,0 +1,55 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Input: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Background: ComplexStyleRule;
6
+ Surface: ComplexStyleRule;
7
+ SurfaceVariant: ComplexStyleRule;
8
+ Primary: ComplexStyleRule;
9
+ Secondary: ComplexStyleRule;
10
+ Success: ComplexStyleRule;
11
+ Warning: ComplexStyleRule;
12
+ Critical: ComplexStyleRule;
13
+ };
14
+ size: {
15
+ "300": {
16
+ vars: {
17
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
+ };
19
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
20
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
+ height: string;
22
+ };
23
+ "400": {
24
+ vars: {
25
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ };
27
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
28
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
29
+ height: string;
30
+ };
31
+ "500": {
32
+ vars: {
33
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
34
+ };
35
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
36
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
37
+ height: string;
38
+ };
39
+ };
40
+ outlined: {
41
+ true: {
42
+ boxShadow: `inset 0 0 0 var(--${string}) var(--${string})` | `inset 0 0 0 var(--${string}) var(--${string}, ${string})` | `inset 0 0 0 var(--${string}) var(--${string}, ${number})` | `inset 0 0 0 var(--${string}, ${string}) var(--${string})` | `inset 0 0 0 var(--${string}, ${string}) var(--${string}, ${string})` | `inset 0 0 0 var(--${string}, ${string}) var(--${string}, ${number})` | `inset 0 0 0 var(--${string}, ${number}) var(--${string})` | `inset 0 0 0 var(--${string}, ${number}) var(--${string}, ${string})` | `inset 0 0 0 var(--${string}, ${number}) var(--${string}, ${number})`;
43
+ };
44
+ };
45
+ radii: {
46
+ Inherit: string;
47
+ "0": string;
48
+ "300": string;
49
+ "400": string;
50
+ "500": string;
51
+ Pill: string;
52
+ };
53
+ }>;
54
+ export declare type InputVariants = RecipeVariants<typeof Input>;
55
+ export declare const InputInput: string;
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare const Input: React.ForwardRefExoticComponent<Omit<React.AllHTMLAttributes<HTMLInputElement>, "size"> & {
3
+ before?: ReactNode;
4
+ after?: ReactNode;
5
+ inputSize?: number | undefined;
6
+ } & {
7
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
8
+ size?: "300" | "400" | "500" | undefined;
9
+ outlined?: boolean | undefined;
10
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
11
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ export * from "./Input";
@@ -0,0 +1,56 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Line: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Inherit: {
6
+ borderColor: "inherit";
7
+ };
8
+ Background: ComplexStyleRule;
9
+ Surface: ComplexStyleRule;
10
+ SurfaceVariant: ComplexStyleRule;
11
+ Primary: ComplexStyleRule;
12
+ Secondary: ComplexStyleRule;
13
+ Success: ComplexStyleRule;
14
+ Warning: ComplexStyleRule;
15
+ Critical: ComplexStyleRule;
16
+ };
17
+ direction: {
18
+ Horizontal: {
19
+ borderBottomWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
+ height: number;
21
+ };
22
+ Vertical: {
23
+ borderLeftWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
24
+ width: number;
25
+ flexDirection: "column";
26
+ };
27
+ };
28
+ size: {
29
+ "300": {
30
+ vars: {
31
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
32
+ };
33
+ };
34
+ "400": {
35
+ vars: {
36
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
37
+ };
38
+ };
39
+ "500": {
40
+ vars: {
41
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
42
+ };
43
+ };
44
+ "600": {
45
+ vars: {
46
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
47
+ };
48
+ };
49
+ "700": {
50
+ vars: {
51
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
52
+ };
53
+ };
54
+ };
55
+ }>;
56
+ export declare type LineVariants = RecipeVariants<typeof Line>;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export declare const Line: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | "Inherit" | undefined;
4
+ direction?: "Horizontal" | "Vertical" | undefined;
5
+ size?: "300" | "400" | "500" | "600" | "700" | undefined;
6
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Line";
@@ -0,0 +1,15 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Menu: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Background: ComplexStyleRule;
6
+ Surface: ComplexStyleRule;
7
+ SurfaceVariant: ComplexStyleRule;
8
+ Primary: ComplexStyleRule;
9
+ Secondary: ComplexStyleRule;
10
+ Success: ComplexStyleRule;
11
+ Warning: ComplexStyleRule;
12
+ Critical: ComplexStyleRule;
13
+ };
14
+ }>;
15
+ export declare type MenuVariants = RecipeVariants<typeof Menu>;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export declare const Menu: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
4
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1,49 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const MenuItem: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Background: ComplexStyleRule;
6
+ Surface: ComplexStyleRule;
7
+ SurfaceVariant: ComplexStyleRule;
8
+ Primary: ComplexStyleRule;
9
+ Secondary: ComplexStyleRule;
10
+ Success: ComplexStyleRule;
11
+ Warning: ComplexStyleRule;
12
+ Critical: ComplexStyleRule;
13
+ };
14
+ fill: {
15
+ Soft: {
16
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
17
+ };
18
+ None: {
19
+ backgroundColor: "transparent";
20
+ };
21
+ };
22
+ size: {
23
+ "300": {
24
+ vars: {
25
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ };
27
+ height: string;
28
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
29
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
30
+ };
31
+ "400": {
32
+ vars: {
33
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
34
+ };
35
+ height: string;
36
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
37
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
38
+ };
39
+ };
40
+ radii: {
41
+ Inherit: string;
42
+ "0": string;
43
+ "300": string;
44
+ "400": string;
45
+ "500": string;
46
+ Pill: string;
47
+ };
48
+ }>;
49
+ export declare type MenuItemVariants = RecipeVariants<typeof MenuItem>;
@@ -0,0 +1,12 @@
1
+ import React, { ReactNode } from "react";
2
+ declare type MenuItemProps = {
3
+ before?: ReactNode;
4
+ after?: ReactNode;
5
+ };
6
+ export declare const MenuItem: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, MenuItemProps & {
7
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
8
+ fill?: "Soft" | "None" | undefined;
9
+ size?: "300" | "400" | undefined;
10
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
11
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./MenuItem";
2
+ export * from "./Menu";
@@ -0,0 +1,34 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Modal: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Background: ComplexStyleRule;
6
+ Surface: ComplexStyleRule;
7
+ SurfaceVariant: ComplexStyleRule;
8
+ Primary: ComplexStyleRule;
9
+ Secondary: ComplexStyleRule;
10
+ Success: ComplexStyleRule;
11
+ Warning: ComplexStyleRule;
12
+ Critical: ComplexStyleRule;
13
+ };
14
+ size: {
15
+ "300": {
16
+ maxWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
17
+ maxHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
+ };
19
+ "400": {
20
+ maxWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
+ maxHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ "500": {
24
+ maxWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
+ maxHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ };
27
+ };
28
+ flexHeight: {
29
+ true: {
30
+ height: "unset";
31
+ };
32
+ };
33
+ }>;
34
+ export declare type ModalVariants = RecipeVariants<typeof Modal>;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export declare const Modal: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
4
+ size?: "300" | "400" | "500" | undefined;
5
+ flexHeight?: boolean | undefined;
6
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Modal";
@@ -0,0 +1,3 @@
1
+ export declare const Overlay: string;
2
+ export declare const OverlayBackdrop: string;
3
+ export declare const OverlayCenter: string;
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare const OverlayContainerProvider: React.Provider<Element | DocumentFragment | undefined>;
3
+ export declare const useOverlayContainer: () => Element | DocumentFragment | undefined;
4
+ export declare type OverlayProps = {
5
+ open: boolean;
6
+ container?: Element | DocumentFragment;
7
+ backdrop?: ReactNode;
8
+ };
9
+ export declare const Overlay: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, OverlayProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
10
+ export declare const OverlayBackdrop: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
11
+ export declare const OverlayCenter: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, object>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Overlay";
@@ -0,0 +1,2 @@
1
+ export declare const PopOut: string;
2
+ export declare const PopOutContainer: string;
@@ -0,0 +1,14 @@
1
+ import React, { ReactNode } from "react";
2
+ import { Align, Position, RectCords } from "../util";
3
+ export declare const PopOutContainerProvider: React.Provider<Element | DocumentFragment | undefined>;
4
+ export declare const usePopOutContainer: () => Element | DocumentFragment | undefined;
5
+ export interface PopOutProps {
6
+ anchor?: RectCords;
7
+ position?: Position;
8
+ align?: Align;
9
+ offset?: number;
10
+ alignOffset?: number;
11
+ content: ReactNode;
12
+ container?: Element | DocumentFragment;
13
+ }
14
+ export declare const PopOut: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, PopOutProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./PopOut";
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ export declare type PortalProps = {
3
+ container?: Element | DocumentFragment;
4
+ children: ReactNode | ReactNode[];
5
+ };
6
+ export declare const Portal: ({ container, children }: PortalProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./Portal";
@@ -0,0 +1,54 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const ProgressBar: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ size: {
5
+ "300": {
6
+ height: string;
7
+ };
8
+ "400": {
9
+ height: string;
10
+ };
11
+ "500": {
12
+ height: string;
13
+ };
14
+ };
15
+ variant: {
16
+ Primary: ComplexStyleRule;
17
+ Secondary: ComplexStyleRule;
18
+ Success: ComplexStyleRule;
19
+ Warning: ComplexStyleRule;
20
+ Critical: ComplexStyleRule;
21
+ };
22
+ fill: {
23
+ Solid: {
24
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
+ };
28
+ Soft: {
29
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
30
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
31
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
32
+ };
33
+ None: {
34
+ backgroundColor: "inherit";
35
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
36
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
37
+ };
38
+ };
39
+ radii: {
40
+ Inherit: string;
41
+ "0": string;
42
+ "300": string;
43
+ "400": string;
44
+ "500": string;
45
+ Pill: string;
46
+ };
47
+ outlined: {
48
+ true: {
49
+ borderWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
50
+ };
51
+ };
52
+ }>;
53
+ export declare type ProgressBarVariant = RecipeVariants<typeof ProgressBar>;
54
+ export declare const ProgressBarFill: string;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ declare type ProgressBarProps = {
3
+ value: number;
4
+ min?: number;
5
+ max: number;
6
+ };
7
+ export declare const ProgressBar: <T extends React.ElementType<any> = "span">(props: import("..").AsOutProps<T, ProgressBarProps & {
8
+ size?: "300" | "400" | "500" | undefined;
9
+ variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
10
+ fill?: "Solid" | "Soft" | "None" | undefined;
11
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
12
+ outlined?: boolean | undefined;
13
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./ProgressBar";
@@ -0,0 +1,22 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const RadioButton: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Primary: ComplexStyleRule;
6
+ Secondary: ComplexStyleRule;
7
+ Success: ComplexStyleRule;
8
+ Warning: ComplexStyleRule;
9
+ Critical: ComplexStyleRule;
10
+ };
11
+ size: {
12
+ Inherit: string;
13
+ "50": string;
14
+ "100": string;
15
+ "200": string;
16
+ "300": string;
17
+ "400": string;
18
+ "500": string;
19
+ "600": string;
20
+ };
21
+ }>;
22
+ export declare type RadioButtonVariants = RecipeVariants<typeof RadioButton>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export declare const RadioButton: React.ForwardRefExoticComponent<Omit<React.AllHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "size"> & {
3
+ defaultChecked?: boolean | undefined;
4
+ checked?: boolean | undefined;
5
+ } & {
6
+ variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
7
+ size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
8
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ export * from "./RadioButton";
@@ -0,0 +1,2 @@
1
+ export declare const TextReset: string;
2
+ export declare const DefaultReset: string;
@@ -0,0 +1,117 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Scroll: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Background: ComplexStyleRule;
6
+ Surface: ComplexStyleRule;
7
+ SurfaceVariant: ComplexStyleRule;
8
+ Primary: ComplexStyleRule;
9
+ Secondary: ComplexStyleRule;
10
+ Success: ComplexStyleRule;
11
+ Warning: ComplexStyleRule;
12
+ Critical: ComplexStyleRule;
13
+ };
14
+ visibility: {
15
+ Always: {
16
+ "@supports": {
17
+ "not selector(::-webkit-scrollbar)": {
18
+ scrollbarColor: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}) var(--${string}, ${number})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string}, ${number})` | `var(--${string}, ${number}) var(--${string})` | `var(--${string}, ${number}) var(--${string}, ${string})` | `var(--${string}, ${number}) var(--${string}, ${number})`;
19
+ };
20
+ };
21
+ selectors: {
22
+ "&::-webkit-scrollbar-thumb": {
23
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
24
+ };
25
+ "&::-webkit-scrollbar-track": {
26
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
+ };
28
+ };
29
+ };
30
+ Hover: {
31
+ "@supports": {
32
+ "not selector(::-webkit-scrollbar)": {
33
+ selectors: {
34
+ "&:hover": {
35
+ scrollbarColor: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}) var(--${string}, ${number})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string}, ${number})` | `var(--${string}, ${number}) var(--${string})` | `var(--${string}, ${number}) var(--${string}, ${string})` | `var(--${string}, ${number}) var(--${string}, ${number})`;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ selectors: {
41
+ "&:hover::-webkit-scrollbar-thumb": {
42
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
43
+ };
44
+ "&:hover::-webkit-scrollbar-track": {
45
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
46
+ };
47
+ };
48
+ };
49
+ };
50
+ hideTrack: {
51
+ true: {
52
+ vars: {
53
+ [x: string]: string;
54
+ };
55
+ };
56
+ };
57
+ size: {
58
+ "0": {
59
+ "@supports": {
60
+ "not selector(::-webkit-scrollbar)": {
61
+ scrollbarWidth: "none";
62
+ };
63
+ };
64
+ selectors: {
65
+ "&::-webkit-scrollbar": {
66
+ display: "none";
67
+ };
68
+ };
69
+ };
70
+ "300": {
71
+ "@supports": {
72
+ "not selector(::-webkit-scrollbar)": {
73
+ scrollbarWidth: "thin";
74
+ };
75
+ };
76
+ selectors: {
77
+ "&::-webkit-scrollbar": {
78
+ width: string;
79
+ height: string;
80
+ };
81
+ "&::-webkit-scrollbar-thumb, &::-webkit-scrollbar-track": {
82
+ border: `${string} solid transparent`;
83
+ backgroundClip: "padding-box";
84
+ };
85
+ };
86
+ };
87
+ "400": {
88
+ "@supports": {
89
+ "not selector(::-webkit-scrollbar)": {
90
+ scrollbarWidth: "auto";
91
+ };
92
+ };
93
+ selectors: {
94
+ "&::-webkit-scrollbar": {
95
+ width: string;
96
+ height: string;
97
+ };
98
+ "&::-webkit-scrollbar-thumb, &::-webkit-scrollbar-track": {
99
+ border: `${string} solid transparent`;
100
+ backgroundClip: "padding-box";
101
+ };
102
+ };
103
+ };
104
+ };
105
+ direction: {
106
+ Horizontal: {
107
+ overflowX: "scroll";
108
+ };
109
+ Vertical: {
110
+ overflowY: "scroll";
111
+ };
112
+ Both: {
113
+ overflow: "scroll";
114
+ };
115
+ };
116
+ }>;
117
+ export declare type ScrollVariants = RecipeVariants<typeof Scroll>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export declare const Scroll: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
4
+ visibility?: "Always" | "Hover" | undefined;
5
+ hideTrack?: boolean | undefined;
6
+ size?: "0" | "300" | "400" | undefined;
7
+ direction?: "Horizontal" | "Vertical" | "Both" | undefined;
8
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Scroll";
@@ -0,0 +1,2 @@
1
+ export declare const FocusOutline: string;
2
+ export declare const Disabled: string;
@@ -0,0 +1,37 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Spinner: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ size: {
5
+ Inherit: string;
6
+ "50": string;
7
+ "100": string;
8
+ "200": string;
9
+ "300": string;
10
+ "400": string;
11
+ "500": string;
12
+ "600": string;
13
+ };
14
+ variant: {
15
+ Primary: ComplexStyleRule;
16
+ Secondary: ComplexStyleRule;
17
+ Success: ComplexStyleRule;
18
+ Warning: ComplexStyleRule;
19
+ Critical: ComplexStyleRule;
20
+ };
21
+ fill: {
22
+ Solid: {
23
+ vars: {
24
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
+ };
26
+ };
27
+ Soft: {
28
+ vars: {
29
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
30
+ };
31
+ };
32
+ };
33
+ }>;
34
+ export declare type SpinnerVariants = RecipeVariants<typeof Spinner>;
35
+ export declare const SpinnerSvg: string;
36
+ export declare const SpinnerOuter: string;
37
+ export declare const SpinnerInner: string;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export declare const Spinner: <T extends React.ElementType<any> = "span">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
4
+ variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
5
+ fill?: "Solid" | "Soft" | undefined;
6
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Spinner";
@@ -0,0 +1,13 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Switch: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Primary: ComplexStyleRule;
6
+ Secondary: ComplexStyleRule;
7
+ Success: ComplexStyleRule;
8
+ Warning: ComplexStyleRule;
9
+ Critical: ComplexStyleRule;
10
+ };
11
+ }>;
12
+ export declare type SwitchVariants = RecipeVariants<typeof Switch>;
13
+ export declare const SwitchThumb: string;