@obolnetwork/obol-ui 1.0.39 → 1.0.40

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.
@@ -1 +1 @@
1
- export {};
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,483 @@
1
+ export declare const Flex: import("@stitches/react/types/styled-component").StyledComponent<"div", {
2
+ direction?: "column" | undefined;
3
+ }, {
4
+ motion: "(prefers-reduced-motion)";
5
+ hover: "(any-hover: hover)";
6
+ dark: "(prefers-color-scheme: dark)";
7
+ light: "(prefers-color-scheme: light)";
8
+ xs: "(max-width: 520px)";
9
+ sm: "(max-width: 900px)";
10
+ bp2: "(min-width: 900px)";
11
+ md: "(max-width: 1200px)";
12
+ lg: "(max-width: 1800px)";
13
+ }, import("@stitches/react/types/css-util").CSS<{
14
+ motion: "(prefers-reduced-motion)";
15
+ hover: "(any-hover: hover)";
16
+ dark: "(prefers-color-scheme: dark)";
17
+ light: "(prefers-color-scheme: light)";
18
+ xs: "(max-width: 520px)";
19
+ sm: "(max-width: 900px)";
20
+ bp2: "(min-width: 900px)";
21
+ md: "(max-width: 1200px)";
22
+ lg: "(max-width: 1800px)";
23
+ }, {
24
+ colors: {
25
+ white: string;
26
+ black: string;
27
+ lightBackground: string;
28
+ obolBlue: string;
29
+ primaryBgDefault: string;
30
+ primaryBgDefaultHover: string;
31
+ primaryTextDefault: string;
32
+ secondaryBgDefault: string;
33
+ secondaryBgHover: string;
34
+ grayBgDefault: string;
35
+ gray2BgDefault: string;
36
+ neutralDark: string;
37
+ navButtonBgDefault: string;
38
+ navButtonBgHover: string;
39
+ cardBackgroundDark: string;
40
+ cardBackgroundLight: string;
41
+ textMiddle: string;
42
+ textLight: string;
43
+ textLighter: string;
44
+ textTabHover: string;
45
+ textTabInactive: string;
46
+ textGreenDark: string;
47
+ textGreenLight: string;
48
+ textGreen1: string;
49
+ textGreen2: string;
50
+ textGreen3: string;
51
+ textGreenHover: string;
52
+ textCreateHover: string;
53
+ textGrayHover: string;
54
+ txButton: string;
55
+ obolGreen: string;
56
+ obolMidGreen: string;
57
+ obolGreenHover: string;
58
+ obolGreenLight: string;
59
+ obolDarkDark: string;
60
+ obolDisabled: string;
61
+ linkButtonHover: string;
62
+ progressTrackerGreen: string;
63
+ lightGrey: string;
64
+ coordinate: string;
65
+ coordinateHover: string;
66
+ test: string;
67
+ testHover: string;
68
+ create: string;
69
+ createHover: string;
70
+ light: string;
71
+ body: string;
72
+ muted: string;
73
+ menu: string;
74
+ bg01: string;
75
+ bg02: string;
76
+ bg03: string;
77
+ bg04: string;
78
+ bg05: string;
79
+ tooltip: string;
80
+ tooltip2: string;
81
+ };
82
+ space: {
83
+ 1: string;
84
+ 2: string;
85
+ xxxs: string;
86
+ xxs: string;
87
+ xs: string;
88
+ sm: string;
89
+ md: string;
90
+ lg: string;
91
+ xl: string;
92
+ "2xl": string;
93
+ "3xl": string;
94
+ "4xl": string;
95
+ "5xl": string;
96
+ "6xl": string;
97
+ "7xl": string;
98
+ };
99
+ sizes: {
100
+ 1: string;
101
+ 2: string;
102
+ xxxs: string;
103
+ xxs: string;
104
+ xs: string;
105
+ sm: string;
106
+ md: string;
107
+ lg: string;
108
+ xl: string;
109
+ "2xl": string;
110
+ "3xl": string;
111
+ "4xl": string;
112
+ "5xl": string;
113
+ "6xl": string;
114
+ "7xl": string;
115
+ max: string;
116
+ min: string;
117
+ full: string;
118
+ };
119
+ radii: {
120
+ 1: string;
121
+ 2: string;
122
+ 3: string;
123
+ 4: string;
124
+ 5: string;
125
+ round: string;
126
+ pill: string;
127
+ };
128
+ fontSizes: {
129
+ 1: string;
130
+ 2: string;
131
+ 3: string;
132
+ 4: string;
133
+ 5: string;
134
+ 6: string;
135
+ 7: string;
136
+ 8: string;
137
+ 9: string;
138
+ 10: string;
139
+ 11: string;
140
+ };
141
+ fontWeights: {
142
+ hairline: number;
143
+ thin: number;
144
+ light: number;
145
+ normal: number;
146
+ medium: number;
147
+ semibold: number;
148
+ bold: number;
149
+ extrabold: number;
150
+ black: number;
151
+ };
152
+ lineHeights: {
153
+ normal: string;
154
+ none: number;
155
+ shorter: number;
156
+ short: number;
157
+ base: number;
158
+ tall: number;
159
+ tall2: number;
160
+ taller: string;
161
+ };
162
+ letterSpacings: {
163
+ tighter: string;
164
+ tight: string;
165
+ normal: string;
166
+ wide: string;
167
+ wider: string;
168
+ widest: string;
169
+ };
170
+ borderWidths: unknown;
171
+ borderStyles: unknown;
172
+ shadows: unknown;
173
+ zIndices: unknown;
174
+ transitions: unknown;
175
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
176
+ p: (value: {
177
+ readonly [$$PropertyValue]: "padding";
178
+ }) => {
179
+ padding: {
180
+ readonly [$$PropertyValue]: "padding";
181
+ };
182
+ };
183
+ pt: (value: {
184
+ readonly [$$PropertyValue]: "paddingTop";
185
+ }) => {
186
+ paddingTop: {
187
+ readonly [$$PropertyValue]: "paddingTop";
188
+ };
189
+ };
190
+ pr: (value: {
191
+ readonly [$$PropertyValue]: "paddingRight";
192
+ }) => {
193
+ paddingRight: {
194
+ readonly [$$PropertyValue]: "paddingRight";
195
+ };
196
+ };
197
+ pb: (value: {
198
+ readonly [$$PropertyValue]: "paddingBottom";
199
+ }) => {
200
+ paddingBottom: {
201
+ readonly [$$PropertyValue]: "paddingBottom";
202
+ };
203
+ };
204
+ pl: (value: {
205
+ readonly [$$PropertyValue]: "paddingLeft";
206
+ }) => {
207
+ paddingLeft: {
208
+ readonly [$$PropertyValue]: "paddingLeft";
209
+ };
210
+ };
211
+ px: (value: {
212
+ readonly [$$PropertyValue]: "paddingLeft";
213
+ }) => {
214
+ paddingLeft: {
215
+ readonly [$$PropertyValue]: "paddingLeft";
216
+ };
217
+ paddingRight: {
218
+ readonly [$$PropertyValue]: "paddingLeft";
219
+ };
220
+ };
221
+ py: (value: {
222
+ readonly [$$PropertyValue]: "paddingTop";
223
+ }) => {
224
+ paddingTop: {
225
+ readonly [$$PropertyValue]: "paddingTop";
226
+ };
227
+ paddingBottom: {
228
+ readonly [$$PropertyValue]: "paddingTop";
229
+ };
230
+ };
231
+ m: (value: {
232
+ readonly [$$PropertyValue]: "margin";
233
+ }) => {
234
+ margin: {
235
+ readonly [$$PropertyValue]: "margin";
236
+ };
237
+ };
238
+ mt: (value: {
239
+ readonly [$$PropertyValue]: "marginTop";
240
+ }) => {
241
+ marginTop: {
242
+ readonly [$$PropertyValue]: "marginTop";
243
+ };
244
+ };
245
+ mr: (value: {
246
+ readonly [$$PropertyValue]: "marginRight";
247
+ }) => {
248
+ marginRight: {
249
+ readonly [$$PropertyValue]: "marginRight";
250
+ };
251
+ };
252
+ mb: (value: {
253
+ readonly [$$PropertyValue]: "marginBottom";
254
+ }) => {
255
+ marginBottom: {
256
+ readonly [$$PropertyValue]: "marginBottom";
257
+ };
258
+ };
259
+ ml: (value: {
260
+ readonly [$$PropertyValue]: "marginLeft";
261
+ }) => {
262
+ marginLeft: {
263
+ readonly [$$PropertyValue]: "marginLeft";
264
+ };
265
+ };
266
+ mx: (value: {
267
+ readonly [$$PropertyValue]: "marginLeft";
268
+ }) => {
269
+ marginLeft: {
270
+ readonly [$$PropertyValue]: "marginLeft";
271
+ };
272
+ marginRight: {
273
+ readonly [$$PropertyValue]: "marginLeft";
274
+ };
275
+ };
276
+ my: (value: {
277
+ readonly [$$PropertyValue]: "marginTop";
278
+ }) => {
279
+ marginTop: {
280
+ readonly [$$PropertyValue]: "marginTop";
281
+ };
282
+ marginBottom: {
283
+ readonly [$$PropertyValue]: "marginTop";
284
+ };
285
+ };
286
+ ta: (value: {
287
+ readonly [$$PropertyValue]: "textAlign";
288
+ }) => {
289
+ textAlign: {
290
+ readonly [$$PropertyValue]: "textAlign";
291
+ };
292
+ };
293
+ fd: (value: {
294
+ readonly [$$PropertyValue]: "flexDirection";
295
+ }) => {
296
+ flexDirection: {
297
+ readonly [$$PropertyValue]: "flexDirection";
298
+ };
299
+ };
300
+ fw: (value: {
301
+ readonly [$$PropertyValue]: "flexWrap";
302
+ }) => {
303
+ flexWrap: {
304
+ readonly [$$PropertyValue]: "flexWrap";
305
+ };
306
+ };
307
+ ai: (value: {
308
+ readonly [$$PropertyValue]: "alignItems";
309
+ }) => {
310
+ alignItems: {
311
+ readonly [$$PropertyValue]: "alignItems";
312
+ };
313
+ };
314
+ ac: (value: {
315
+ readonly [$$PropertyValue]: "alignContent";
316
+ }) => {
317
+ alignContent: {
318
+ readonly [$$PropertyValue]: "alignContent";
319
+ };
320
+ };
321
+ jc: (value: {
322
+ readonly [$$PropertyValue]: "justifyContent";
323
+ }) => {
324
+ justifyContent: {
325
+ readonly [$$PropertyValue]: "justifyContent";
326
+ };
327
+ };
328
+ as: (value: {
329
+ readonly [$$PropertyValue]: "alignSelf";
330
+ }) => {
331
+ alignSelf: {
332
+ readonly [$$PropertyValue]: "alignSelf";
333
+ };
334
+ };
335
+ fg: (value: {
336
+ readonly [$$PropertyValue]: "flexGrow";
337
+ }) => {
338
+ flexGrow: {
339
+ readonly [$$PropertyValue]: "flexGrow";
340
+ };
341
+ };
342
+ fs: (value: {
343
+ readonly [$$PropertyValue]: "flexShrink";
344
+ }) => {
345
+ flexShrink: {
346
+ readonly [$$PropertyValue]: "flexShrink";
347
+ };
348
+ };
349
+ fb: (value: {
350
+ readonly [$$PropertyValue]: "flexBasis";
351
+ }) => {
352
+ flexBasis: {
353
+ readonly [$$PropertyValue]: "flexBasis";
354
+ };
355
+ };
356
+ bc: (value: {
357
+ readonly [$$PropertyValue]: "backgroundColor";
358
+ }) => {
359
+ backgroundColor: {
360
+ readonly [$$PropertyValue]: "backgroundColor";
361
+ };
362
+ };
363
+ br: (value: {
364
+ readonly [$$PropertyValue]: "borderRadius";
365
+ }) => {
366
+ borderRadius: {
367
+ readonly [$$PropertyValue]: "borderRadius";
368
+ };
369
+ };
370
+ btrr: (value: {
371
+ readonly [$$PropertyValue]: "borderTopRightRadius";
372
+ }) => {
373
+ borderTopRightRadius: {
374
+ readonly [$$PropertyValue]: "borderTopRightRadius";
375
+ };
376
+ };
377
+ bbrr: (value: {
378
+ readonly [$$PropertyValue]: "borderBottomRightRadius";
379
+ }) => {
380
+ borderBottomRightRadius: {
381
+ readonly [$$PropertyValue]: "borderBottomRightRadius";
382
+ };
383
+ };
384
+ bblr: (value: {
385
+ readonly [$$PropertyValue]: "borderBottomLeftRadius";
386
+ }) => {
387
+ borderBottomLeftRadius: {
388
+ readonly [$$PropertyValue]: "borderBottomLeftRadius";
389
+ };
390
+ };
391
+ btlr: (value: {
392
+ readonly [$$PropertyValue]: "borderTopLeftRadius";
393
+ }) => {
394
+ borderTopLeftRadius: {
395
+ readonly [$$PropertyValue]: "borderTopLeftRadius";
396
+ };
397
+ };
398
+ bs: (value: {
399
+ readonly [$$PropertyValue]: "boxShadow";
400
+ }) => {
401
+ boxShadow: {
402
+ readonly [$$PropertyValue]: "boxShadow";
403
+ };
404
+ };
405
+ lh: (value: {
406
+ readonly [$$PropertyValue]: "lineHeight";
407
+ }) => {
408
+ lineHeight: {
409
+ readonly [$$PropertyValue]: "lineHeight";
410
+ };
411
+ };
412
+ ox: (value: {
413
+ readonly [$$PropertyValue]: "overflowX";
414
+ }) => {
415
+ overflowX: {
416
+ readonly [$$PropertyValue]: "overflowX";
417
+ };
418
+ };
419
+ oy: (value: {
420
+ readonly [$$PropertyValue]: "overflowY";
421
+ }) => {
422
+ overflowY: {
423
+ readonly [$$PropertyValue]: "overflowY";
424
+ };
425
+ };
426
+ pe: (value: {
427
+ readonly [$$PropertyValue]: "pointerEvents";
428
+ }) => {
429
+ pointerEvents: {
430
+ readonly [$$PropertyValue]: "pointerEvents";
431
+ };
432
+ };
433
+ us: (value: {
434
+ readonly [$$PropertyValue]: "userSelect";
435
+ }) => {
436
+ WebkitUserSelect: {
437
+ readonly [$$PropertyValue]: "userSelect";
438
+ };
439
+ userSelect: {
440
+ readonly [$$PropertyValue]: "userSelect";
441
+ };
442
+ };
443
+ userSelect: (value: {
444
+ readonly [$$PropertyValue]: "userSelect";
445
+ }) => {
446
+ WebkitUserSelect: {
447
+ readonly [$$PropertyValue]: "userSelect";
448
+ };
449
+ userSelect: {
450
+ readonly [$$PropertyValue]: "userSelect";
451
+ };
452
+ };
453
+ size: (value: {
454
+ readonly [$$PropertyValue]: "width";
455
+ }) => {
456
+ width: {
457
+ readonly [$$PropertyValue]: "width";
458
+ };
459
+ height: {
460
+ readonly [$$PropertyValue]: "width";
461
+ };
462
+ };
463
+ appearance: (value: {
464
+ readonly [$$PropertyValue]: "appearance";
465
+ }) => {
466
+ WebkitAppearance: {
467
+ readonly [$$PropertyValue]: "appearance";
468
+ };
469
+ appearance: {
470
+ readonly [$$PropertyValue]: "appearance";
471
+ };
472
+ };
473
+ backgroundClip: (value: {
474
+ readonly [$$PropertyValue]: "backgroundClip";
475
+ }) => {
476
+ WebkitBackgroundClip: {
477
+ readonly [$$PropertyValue]: "backgroundClip";
478
+ };
479
+ backgroundClip: {
480
+ readonly [$$PropertyValue]: "backgroundClip";
481
+ };
482
+ };
483
+ }>>;
@@ -1,6 +1,35 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="node" />
2
3
  import type * as Stitches from "@stitches/react";
3
- export declare const Link: import("@stitches/react/types/styled-component").StyledComponent<"a", {
4
+ export declare const Link: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
5
+ href: string | import("url").UrlObject;
6
+ as?: (string | import("url").UrlObject) | undefined;
7
+ replace?: boolean | undefined;
8
+ scroll?: boolean | undefined;
9
+ shallow?: boolean | undefined;
10
+ passHref?: boolean | undefined;
11
+ prefetch?: boolean | undefined;
12
+ locale?: string | false | undefined;
13
+ legacyBehavior?: boolean | undefined;
14
+ onMouseEnter?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
15
+ onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement> | undefined;
16
+ onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
17
+ }> & {
18
+ href: string | import("url").UrlObject;
19
+ as?: (string | import("url").UrlObject) | undefined;
20
+ replace?: boolean | undefined;
21
+ scroll?: boolean | undefined;
22
+ shallow?: boolean | undefined;
23
+ passHref?: boolean | undefined;
24
+ prefetch?: boolean | undefined;
25
+ locale?: string | false | undefined;
26
+ legacyBehavior?: boolean | undefined;
27
+ onMouseEnter?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
28
+ onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement> | undefined;
29
+ onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
30
+ } & {
31
+ children?: import("react").ReactNode;
32
+ } & import("react").RefAttributes<HTMLAnchorElement>>, {
4
33
  variant?: "default" | "docs" | undefined;
5
34
  disabled?: boolean | "true" | undefined;
6
35
  }, {