@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,234 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const Box: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ display: {
4
+ Flex: {
5
+ display: "flex";
6
+ };
7
+ InlineFlex: {
8
+ display: "inline-flex";
9
+ };
10
+ };
11
+ direction: {
12
+ Inherit: {
13
+ flexDirection: "inherit";
14
+ };
15
+ Row: {
16
+ flexDirection: "row";
17
+ };
18
+ RowReverse: {
19
+ flexDirection: "row-reverse";
20
+ };
21
+ Column: {
22
+ flexDirection: "column";
23
+ };
24
+ ColumnReverse: {
25
+ flexDirection: "column-reverse";
26
+ };
27
+ };
28
+ wrap: {
29
+ Inherit: {
30
+ flexWrap: "inherit";
31
+ };
32
+ NoWrap: {
33
+ flexWrap: "nowrap";
34
+ };
35
+ Wrap: {
36
+ flexWrap: "wrap";
37
+ };
38
+ WrapReverse: {
39
+ flexWrap: "wrap-reverse";
40
+ };
41
+ };
42
+ justifyContent: {
43
+ Inherit: {
44
+ [x: string]: string;
45
+ };
46
+ Start: {
47
+ [x: string]: string;
48
+ };
49
+ End: {
50
+ [x: string]: string;
51
+ };
52
+ Stretch: {
53
+ [x: string]: string;
54
+ };
55
+ Center: {
56
+ [x: string]: string;
57
+ };
58
+ Baseline: {
59
+ [x: string]: string;
60
+ };
61
+ SpaceBetween: {
62
+ [x: string]: string;
63
+ };
64
+ SpaceAround: {
65
+ [x: string]: string;
66
+ };
67
+ SpaceEvenly: {
68
+ [x: string]: string;
69
+ };
70
+ };
71
+ justifyItems: {
72
+ Inherit: {
73
+ [x: string]: string;
74
+ };
75
+ Start: {
76
+ [x: string]: string;
77
+ };
78
+ End: {
79
+ [x: string]: string;
80
+ };
81
+ Stretch: {
82
+ [x: string]: string;
83
+ };
84
+ Center: {
85
+ [x: string]: string;
86
+ };
87
+ Baseline: {
88
+ [x: string]: string;
89
+ };
90
+ };
91
+ justifySelf: {
92
+ Inherit: {
93
+ [x: string]: string;
94
+ };
95
+ Start: {
96
+ [x: string]: string;
97
+ };
98
+ End: {
99
+ [x: string]: string;
100
+ };
101
+ Stretch: {
102
+ [x: string]: string;
103
+ };
104
+ Center: {
105
+ [x: string]: string;
106
+ };
107
+ Baseline: {
108
+ [x: string]: string;
109
+ };
110
+ };
111
+ alignContent: {
112
+ Inherit: {
113
+ [x: string]: string;
114
+ };
115
+ Start: {
116
+ [x: string]: string;
117
+ };
118
+ End: {
119
+ [x: string]: string;
120
+ };
121
+ Stretch: {
122
+ [x: string]: string;
123
+ };
124
+ Center: {
125
+ [x: string]: string;
126
+ };
127
+ Baseline: {
128
+ [x: string]: string;
129
+ };
130
+ SpaceBetween: {
131
+ [x: string]: string;
132
+ };
133
+ SpaceAround: {
134
+ [x: string]: string;
135
+ };
136
+ SpaceEvenly: {
137
+ [x: string]: string;
138
+ };
139
+ };
140
+ alignItems: {
141
+ Inherit: {
142
+ [x: string]: string;
143
+ };
144
+ Start: {
145
+ [x: string]: string;
146
+ };
147
+ End: {
148
+ [x: string]: string;
149
+ };
150
+ Stretch: {
151
+ [x: string]: string;
152
+ };
153
+ Center: {
154
+ [x: string]: string;
155
+ };
156
+ Baseline: {
157
+ [x: string]: string;
158
+ };
159
+ };
160
+ alignSelf: {
161
+ Inherit: {
162
+ [x: string]: string;
163
+ };
164
+ Start: {
165
+ [x: string]: string;
166
+ };
167
+ End: {
168
+ [x: string]: string;
169
+ };
170
+ Stretch: {
171
+ [x: string]: string;
172
+ };
173
+ Center: {
174
+ [x: string]: string;
175
+ };
176
+ Baseline: {
177
+ [x: string]: string;
178
+ };
179
+ };
180
+ gap: {
181
+ Inherit: {
182
+ gap: "inherit";
183
+ };
184
+ "0": {
185
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
186
+ };
187
+ "100": {
188
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
189
+ };
190
+ "200": {
191
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
192
+ };
193
+ "300": {
194
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
195
+ };
196
+ "400": {
197
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
198
+ };
199
+ "500": {
200
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
201
+ };
202
+ "600": {
203
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
204
+ };
205
+ "700": {
206
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
207
+ };
208
+ };
209
+ grow: {
210
+ No: {
211
+ flexGrow: number;
212
+ };
213
+ Yes: {
214
+ flexGrow: number;
215
+ };
216
+ };
217
+ shrink: {
218
+ No: {
219
+ flexShrink: number;
220
+ };
221
+ Yes: {
222
+ flexShrink: number;
223
+ };
224
+ };
225
+ basis: {
226
+ No: {
227
+ flexBasis: number;
228
+ };
229
+ Yes: {
230
+ flexBasis: "auto";
231
+ };
232
+ };
233
+ }>;
234
+ export declare type BoxVariants = RecipeVariants<typeof Box>;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ export declare const Box: <T extends React.ElementType<any> = "div">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ display?: "Flex" | "InlineFlex" | undefined;
4
+ direction?: "Inherit" | "Row" | "RowReverse" | "Column" | "ColumnReverse" | undefined;
5
+ wrap?: "Inherit" | "NoWrap" | "Wrap" | "WrapReverse" | undefined;
6
+ justifyContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
7
+ justifyItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
8
+ justifySelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
9
+ alignContent?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | "SpaceBetween" | "SpaceAround" | "SpaceEvenly" | undefined;
10
+ alignItems?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
11
+ alignSelf?: "Start" | "Center" | "End" | "Inherit" | "Stretch" | "Baseline" | undefined;
12
+ gap?: "0" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "Inherit" | undefined;
13
+ grow?: "No" | "Yes" | undefined;
14
+ shrink?: "No" | "Yes" | undefined;
15
+ basis?: "No" | "Yes" | undefined;
16
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Box";
@@ -0,0 +1,77 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Button: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ size: {
5
+ "300": {
6
+ vars: {
7
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
8
+ };
9
+ height: string;
10
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
12
+ };
13
+ "400": {
14
+ vars: {
15
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
16
+ };
17
+ height: string;
18
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
20
+ };
21
+ "500": {
22
+ vars: {
23
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
24
+ };
25
+ height: string;
26
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
28
+ };
29
+ };
30
+ variant: {
31
+ Primary: ComplexStyleRule;
32
+ Secondary: ComplexStyleRule;
33
+ Success: ComplexStyleRule;
34
+ Warning: ComplexStyleRule;
35
+ Critical: ComplexStyleRule;
36
+ };
37
+ fill: {
38
+ Solid: {
39
+ vars: {
40
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
41
+ };
42
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
43
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
44
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
45
+ };
46
+ Soft: {
47
+ vars: {
48
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
49
+ };
50
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
51
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
52
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
53
+ };
54
+ None: {
55
+ vars: {
56
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
57
+ };
58
+ backgroundColor: "inherit";
59
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
60
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
61
+ };
62
+ };
63
+ outlined: {
64
+ true: {
65
+ borderWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
66
+ };
67
+ };
68
+ radii: {
69
+ Inherit: string;
70
+ "0": string;
71
+ "300": string;
72
+ "400": string;
73
+ "500": string;
74
+ Pill: string;
75
+ };
76
+ }>;
77
+ export declare type ButtonVariants = RecipeVariants<typeof Button>;
@@ -0,0 +1,13 @@
1
+ import React, { ReactNode } from "react";
2
+ declare type ButtonProps = {
3
+ before?: ReactNode;
4
+ after?: ReactNode;
5
+ };
6
+ export declare const Button: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, {
7
+ size?: "300" | "400" | "500" | undefined;
8
+ variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
9
+ fill?: "Solid" | "Soft" | "None" | undefined;
10
+ outlined?: boolean | undefined;
11
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
12
+ } & ButtonProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
13
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./Button";
@@ -0,0 +1,24 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Checkbox: 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
+ }>;
22
+ export declare type CheckboxVariants = RecipeVariants<typeof Checkbox>;
23
+ export declare const CheckboxInput: string;
24
+ export declare const CheckboxIcon: string;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.AllHTMLAttributes<HTMLInputElement>, "children" | "type" | "onChange" | "size"> & {
3
+ size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
4
+ variant?: "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
5
+ } & {
6
+ defaultChecked?: boolean | undefined;
7
+ checked?: boolean | undefined;
8
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ export * from "./Checkbox";
@@ -0,0 +1,54 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Chip: 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
+ "400": {
16
+ vars: {
17
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
+ };
19
+ height: string;
20
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
21
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ "500": {
24
+ vars: {
25
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ };
27
+ height: string;
28
+ padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
29
+ gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
30
+ };
31
+ };
32
+ fill: {
33
+ Soft: {
34
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
35
+ };
36
+ None: {
37
+ backgroundColor: "transparent";
38
+ };
39
+ };
40
+ outlined: {
41
+ true: {
42
+ 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})`;
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 ChipVariants = RecipeVariants<typeof Chip>;
@@ -0,0 +1,13 @@
1
+ import React, { ReactNode } from "react";
2
+ declare type ChipProps = {
3
+ before?: ReactNode;
4
+ after?: ReactNode;
5
+ };
6
+ export declare const Chip: <T extends React.ElementType<any> = "button">(props: import("..").AsOutProps<T, ChipProps & {
7
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
8
+ size?: "400" | "500" | undefined;
9
+ fill?: "Soft" | "None" | undefined;
10
+ outlined?: boolean | undefined;
11
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
12
+ }>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
13
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./Chip";
@@ -0,0 +1,15 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Dialog: 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 DialogVariants = RecipeVariants<typeof Dialog>;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export declare const Dialog: <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 @@
1
+ export * from "./Dialog";
@@ -0,0 +1,32 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const Header: 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
+ height: string;
17
+ };
18
+ "400": {
19
+ height: string;
20
+ };
21
+ "500": {
22
+ height: string;
23
+ };
24
+ "600": {
25
+ height: string;
26
+ };
27
+ "700": {
28
+ height: string;
29
+ };
30
+ };
31
+ }>;
32
+ export declare type HeaderVariants = RecipeVariants<typeof Header>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export declare const Header: <T extends React.ElementType<any> = "header">(props: Omit<React.PropsWithChildren<React.ComponentPropsWithRef<T>>, "as"> & {
3
+ variant?: "Background" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
4
+ size?: "300" | "400" | "500" | "600" | "700" | undefined;
5
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./Header";
@@ -0,0 +1,14 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const Icon: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ size: {
4
+ Inherit: string;
5
+ "50": string;
6
+ "100": string;
7
+ "200": string;
8
+ "300": string;
9
+ "400": string;
10
+ "500": string;
11
+ "600": string;
12
+ };
13
+ }>;
14
+ export declare type IconVariants = RecipeVariants<typeof Icon>;
@@ -0,0 +1,12 @@
1
+ import React, { SVGAttributes } from "react";
2
+ import { IconSrc } from "./Icons";
3
+ export declare type IconProps = SVGAttributes<SVGElement> & {
4
+ filled?: boolean;
5
+ src: IconSrc;
6
+ };
7
+ export declare const Icon: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
8
+ filled?: boolean | undefined;
9
+ src: IconSrc;
10
+ } & {
11
+ size?: "100" | "200" | "300" | "400" | "500" | "600" | "Inherit" | "50" | undefined;
12
+ } & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,3 @@
1
+ export declare type IconSrc = (filled?: boolean) => JSX.Element;
2
+ export declare type IconName = "Home" | "User" | "UserPlus" | "Mail" | "MailPlus" | "Star" | "PlusCircle" | "Explore" | "Smile" | "SmilePlus" | "Leaf" | "Sticker" | "Delete" | "Phone" | "PhoneDown" | "Headphone" | "HeadphoneMute" | "Send" | "Bell" | "BellRing" | "BellPing" | "BellMute" | "Message" | "MessageUnread" | "Setting" | "Search" | "Heart" | "Play" | "Pause" | "Sun" | "Photo" | "Lock" | "Vlc" | "Flag" | "Ball" | "Bulb" | "Terminal" | "Pencil" | "Info" | "Shield" | "ShieldLock" | "ShieldUser" | "Cup" | "Pin" | "VolumeHigh" | "VolumeHighLock" | "VolumeHighGlobe" | "VolumeMute" | "File" | "Category" | "Peace" | "Eye" | "EyeBlind" | "Warning" | "Funnel" | "Bookmark" | "Inbox" | "Thread" | "ThreadPlus" | "ThreadUnread" | "ThreadReply" | "Monitor" | "ScreenShare" | "Server" | "Prohibited" | "NoEntry" | "Mic" | "MicMute" | "VideoCamera" | "VideoCameraMute" | "Hash" | "HashLock" | "HashGlobe" | "HashSearch" | "HashPlus" | "Space" | "SpaceLock" | "SpaceGlobe" | "SpaceSearch" | "SpacePlus" | "ChevronRight" | "ChevronLeft" | "ChevronTop" | "ChevronBottom" | "Plus" | "Minus" | "Cross" | "VerticalDots" | "HorizontalDots" | "Check" | "CheckTwice" | "Download" | "External" | "Clock" | "RecentClock" | "Power" | "ReplyArrow" | "ArrowGoRight" | "ArrowGoRightPlus" | "ArrowGoRightCross" | "ArrowGoLeft" | "Markdown" | "Attachment" | "Alphabet" | "AlphabetUnderline" | "Text" | "Heading1" | "Heading2" | "Heading3" | "Bold" | "Italic" | "Underline" | "Strike" | "Link" | "Code" | "BlockCode" | "BlockQuote" | "OrderList" | "UnorderList" | "Mention" | "Filter" | "Sort" | "ArrowUpDown" | "ArrowRight" | "ArrowLeft" | "ArrowTop" | "ArrowBottom" | "ArrowDropRight" | "ArrowDropLeft" | "ArrowDropTop" | "ArrowDropBottom" | "Reload" | "Globe";
3
+ export declare const Icons: Record<IconName, IconSrc>;
@@ -0,0 +1,2 @@
1
+ export * from "./Icon";
2
+ export * from "./Icons";
@@ -0,0 +1,50 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const IconButton: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ size: {
5
+ "600": {
6
+ padding: string;
7
+ };
8
+ "500": {
9
+ padding: string;
10
+ };
11
+ "400": {
12
+ padding: string;
13
+ };
14
+ "300": {
15
+ padding: string;
16
+ };
17
+ };
18
+ variant: {
19
+ Background: ComplexStyleRule;
20
+ Surface: ComplexStyleRule;
21
+ SurfaceVariant: ComplexStyleRule;
22
+ Primary: ComplexStyleRule;
23
+ Secondary: ComplexStyleRule;
24
+ Success: ComplexStyleRule;
25
+ Warning: ComplexStyleRule;
26
+ Critical: ComplexStyleRule;
27
+ };
28
+ fill: {
29
+ Soft: {
30
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
31
+ };
32
+ None: {
33
+ backgroundColor: "transparent";
34
+ };
35
+ };
36
+ outlined: {
37
+ true: {
38
+ 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})`;
39
+ };
40
+ };
41
+ radii: {
42
+ Inherit: string;
43
+ "0": string;
44
+ "300": string;
45
+ "400": string;
46
+ "500": string;
47
+ Pill: string;
48
+ };
49
+ }>;
50
+ export declare type IconButtonVariants = RecipeVariants<typeof IconButton>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
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" | "Surface" | "SurfaceVariant" | "Primary" | "Secondary" | "Success" | "Warning" | "Critical" | undefined;
5
+ fill?: "Soft" | "None" | undefined;
6
+ outlined?: boolean | undefined;
7
+ radii?: "0" | "300" | "400" | "500" | "Pill" | "Inherit" | undefined;
8
+ } & import("..").AsProp<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./IconButton";
@@ -0,0 +1,31 @@
1
+ export * from "./types";
2
+ export * from "./util";
3
+ export * from "./as";
4
+ export * from "./reset.css";
5
+ export * from "./selectorPreset.css";
6
+ export * from "./variant.css";
7
+ export * from "./avatar";
8
+ export * from "./badge";
9
+ export * from "./box";
10
+ export * from "./button";
11
+ export * from "./checkbox";
12
+ export * from "./chip";
13
+ export * from "./dialog";
14
+ export * from "./header";
15
+ export * from "./icon";
16
+ export * from "./icon-button";
17
+ export * from "./input";
18
+ export * from "./line";
19
+ export * from "./menu";
20
+ export * from "./modal";
21
+ export * from "./overlay";
22
+ export * from "./pop-out";
23
+ export * from "./portal";
24
+ export * from "./progress-bar";
25
+ export * from "./radio-button";
26
+ export * from "./scroll";
27
+ export * from "./spinner";
28
+ export * from "./switch";
29
+ export * from "./text";
30
+ export * from "./text-area";
31
+ export * from "./tooltip";