@obolnetwork/obol-ui 1.0.2 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/Box/Box.d.ts +3 -0
- package/dist/components/atoms/Button/Button.d.ts +6 -1
- package/dist/components/atoms/Container/Container.d.ts +955 -0
- package/dist/components/atoms/Image/Image.d.ts +476 -0
- package/dist/components/atoms/Link/Link.d.ts +4 -0
- package/dist/components/atoms/LogoCard/LogoCard.d.ts +7 -0
- package/dist/components/atoms/Spin/Spin.d.ts +3 -0
- package/dist/components/atoms/SvgIcon/SvgIcon.d.ts +5 -1
- package/dist/components/atoms/Tabs/Tabs.d.ts +13 -1
- package/dist/components/atoms/TeamMemberCard/TeamMemberCard.d.ts +3 -0
- package/dist/components/atoms/Text/Text.d.ts +8 -1
- package/dist/components/atoms/Toggle/Toggle.d.ts +952 -0
- package/dist/components/atoms/index.d.ts +5 -0
- package/dist/components/icons/ChevronDownIcon.d.ts +2 -0
- package/dist/components/icons/ChevronUpIcon.d.ts +2 -0
- package/dist/components/icons/CloseIcon.d.ts +2 -0
- package/dist/components/icons/GlowIconBox.d.ts +480 -0
- package/dist/components/icons/Hexapod.d.ts +2 -0
- package/dist/components/icons/Planet.d.ts +491 -0
- package/dist/components/icons/index.d.ts +18 -4
- package/dist/components/icons/static-icons/AloneIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/CodeIcon.d.ts +3 -1
- package/dist/components/icons/static-icons/CreateIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/ExistingGroupIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/GithubIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/GroupIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/MigrateIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/PublicGoodIcon.d.ts +3 -1
- package/dist/components/icons/static-icons/RunIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/TestIcon.d.ts +3 -0
- package/dist/components/icons/static-icons/TrustMinimisedIcon.d.ts +3 -1
- package/dist/components/icons/static-icons/TwitterIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/planets/PlanetBlue.d.ts +1 -0
- package/dist/components/icons/static-icons/planets/PlanetGreen.d.ts +1 -0
- package/dist/components/icons/static-icons/planets/PlanetGrey.d.ts +1 -0
- package/dist/components/icons/static-icons/planets/PlanetMagenta.d.ts +1 -0
- package/dist/components/icons/static-icons/planets/PlanetOrange.d.ts +1 -0
- package/dist/components/icons/static-icons/planets/index.d.ts +5 -0
- package/dist/components/molecules/Accordion/Accordion.d.ts +954 -0
- package/dist/components/molecules/Card/Card.d.ts +959 -1
- package/dist/components/molecules/Navbar/Navbar.d.ts +4 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/components/organisms/Footer/Footer.d.ts +11 -0
- package/dist/components/organisms/ObolEcosystem/ObolEcosystem.d.ts +1 -0
- package/dist/components/organisms/TwoColumnSection/TwoColumnSection.d.ts +15 -0
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/components/utils/index.d.ts +2 -0
- package/dist/components/utils/styles.d.ts +3 -0
- package/dist/components/utils/types.d.ts +16 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +624 -59
- package/dist/index.js +660 -60
- package/dist/stitches.config.d.ts +21 -1
- package/package.json +1 -1
- package/dist/components/organisms/hero-section/hero-section.d.ts +0 -14
|
@@ -4,6 +4,7 @@ export type { VariantProps } from "@stitches/react";
|
|
|
4
4
|
export declare const mediaQueryKeys: {
|
|
5
5
|
readonly xs: "(max-width: 520px)";
|
|
6
6
|
readonly sm: "(max-width: 900px)";
|
|
7
|
+
readonly bp2: "(min-width: 900px)";
|
|
7
8
|
readonly md: "(max-width: 1200px)";
|
|
8
9
|
readonly lg: "(max-width: 1800px)";
|
|
9
10
|
};
|
|
@@ -16,6 +17,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
16
17
|
light: "(prefers-color-scheme: light)";
|
|
17
18
|
xs: "(max-width: 520px)";
|
|
18
19
|
sm: "(max-width: 900px)";
|
|
20
|
+
bp2: "(min-width: 900px)";
|
|
19
21
|
md: "(max-width: 1200px)";
|
|
20
22
|
lg: "(max-width: 1800px)";
|
|
21
23
|
}, {
|
|
@@ -128,6 +130,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
128
130
|
8: string;
|
|
129
131
|
9: string;
|
|
130
132
|
10: string;
|
|
133
|
+
11: string;
|
|
131
134
|
};
|
|
132
135
|
fontWeights: {
|
|
133
136
|
hairline: number;
|
|
@@ -409,6 +412,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
409
412
|
light: "(prefers-color-scheme: light)";
|
|
410
413
|
xs: "(max-width: 520px)";
|
|
411
414
|
sm: "(max-width: 900px)";
|
|
415
|
+
bp2: "(min-width: 900px)";
|
|
412
416
|
md: "(max-width: 1200px)";
|
|
413
417
|
lg: "(max-width: 1800px)";
|
|
414
418
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
@@ -418,6 +422,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
418
422
|
light: "(prefers-color-scheme: light)";
|
|
419
423
|
xs: "(max-width: 520px)";
|
|
420
424
|
sm: "(max-width: 900px)";
|
|
425
|
+
bp2: "(min-width: 900px)";
|
|
421
426
|
md: "(max-width: 1200px)";
|
|
422
427
|
lg: "(max-width: 1800px)";
|
|
423
428
|
}, {
|
|
@@ -530,6 +535,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
530
535
|
8: string;
|
|
531
536
|
9: string;
|
|
532
537
|
10: string;
|
|
538
|
+
11: string;
|
|
533
539
|
};
|
|
534
540
|
fontWeights: {
|
|
535
541
|
hairline: number;
|
|
@@ -802,6 +808,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
802
808
|
light: "(prefers-color-scheme: light)";
|
|
803
809
|
xs: "(max-width: 520px)";
|
|
804
810
|
sm: "(max-width: 900px)";
|
|
811
|
+
bp2: "(min-width: 900px)";
|
|
805
812
|
md: "(max-width: 1200px)";
|
|
806
813
|
lg: "(max-width: 1800px)";
|
|
807
814
|
}, {
|
|
@@ -914,6 +921,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
914
921
|
8: string;
|
|
915
922
|
9: string;
|
|
916
923
|
10: string;
|
|
924
|
+
11: string;
|
|
917
925
|
};
|
|
918
926
|
fontWeights: {
|
|
919
927
|
hairline: number;
|
|
@@ -1195,6 +1203,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
1195
1203
|
light: "(prefers-color-scheme: light)";
|
|
1196
1204
|
xs: "(max-width: 520px)";
|
|
1197
1205
|
sm: "(max-width: 900px)";
|
|
1206
|
+
bp2: "(min-width: 900px)";
|
|
1198
1207
|
md: "(max-width: 1200px)";
|
|
1199
1208
|
lg: "(max-width: 1800px)";
|
|
1200
1209
|
}, CSS_1>, globalCss: <Styles extends {
|
|
@@ -1210,6 +1219,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
1210
1219
|
light: "(prefers-color-scheme: light)";
|
|
1211
1220
|
xs: "(max-width: 520px)";
|
|
1212
1221
|
sm: "(max-width: 900px)";
|
|
1222
|
+
bp2: "(min-width: 900px)";
|
|
1213
1223
|
md: "(max-width: 1200px)";
|
|
1214
1224
|
lg: "(max-width: 1800px)";
|
|
1215
1225
|
}, {
|
|
@@ -1322,6 +1332,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
1322
1332
|
8: string;
|
|
1323
1333
|
9: string;
|
|
1324
1334
|
10: string;
|
|
1335
|
+
11: string;
|
|
1325
1336
|
};
|
|
1326
1337
|
fontWeights: {
|
|
1327
1338
|
hairline: number;
|
|
@@ -1593,6 +1604,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
1593
1604
|
light: "(prefers-color-scheme: light)";
|
|
1594
1605
|
xs: "(max-width: 520px)";
|
|
1595
1606
|
sm: "(max-width: 900px)";
|
|
1607
|
+
bp2: "(min-width: 900px)";
|
|
1596
1608
|
md: "(max-width: 1200px)";
|
|
1597
1609
|
lg: "(max-width: 1800px)";
|
|
1598
1610
|
}, {
|
|
@@ -1705,6 +1717,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
1705
1717
|
8: string;
|
|
1706
1718
|
9: string;
|
|
1707
1719
|
10: string;
|
|
1720
|
+
11: string;
|
|
1708
1721
|
};
|
|
1709
1722
|
fontWeights: {
|
|
1710
1723
|
hairline: number;
|
|
@@ -1976,6 +1989,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
1976
1989
|
light: "(prefers-color-scheme: light)";
|
|
1977
1990
|
xs: "(max-width: 520px)";
|
|
1978
1991
|
sm: "(max-width: 900px)";
|
|
1992
|
+
bp2: "(min-width: 900px)";
|
|
1979
1993
|
md: "(max-width: 1200px)";
|
|
1980
1994
|
lg: "(max-width: 1800px)";
|
|
1981
1995
|
}, {
|
|
@@ -2088,6 +2102,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
2088
2102
|
8: string;
|
|
2089
2103
|
9: string;
|
|
2090
2104
|
10: string;
|
|
2105
|
+
11: string;
|
|
2091
2106
|
};
|
|
2092
2107
|
fontWeights: {
|
|
2093
2108
|
hairline: number;
|
|
@@ -2468,6 +2483,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
2468
2483
|
8: import("@stitches/react/types/theme").Token<"8", string, "fontSizes", "">;
|
|
2469
2484
|
9: import("@stitches/react/types/theme").Token<"9", string, "fontSizes", "">;
|
|
2470
2485
|
10: import("@stitches/react/types/theme").Token<"10", string, "fontSizes", "">;
|
|
2486
|
+
11: import("@stitches/react/types/theme").Token<"11", string, "fontSizes", "">;
|
|
2471
2487
|
};
|
|
2472
2488
|
fontWeights: {
|
|
2473
2489
|
hairline: import("@stitches/react/types/theme").Token<"hairline", string, "fontWeights", "">;
|
|
@@ -2613,6 +2629,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
2613
2629
|
8?: string | number | boolean | undefined;
|
|
2614
2630
|
9?: string | number | boolean | undefined;
|
|
2615
2631
|
10?: string | number | boolean | undefined;
|
|
2632
|
+
11?: string | number | boolean | undefined;
|
|
2616
2633
|
} | undefined;
|
|
2617
2634
|
fontWeights?: {
|
|
2618
2635
|
hairline?: string | number | boolean | undefined;
|
|
@@ -2763,6 +2780,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
2763
2780
|
8?: string | number | boolean | undefined;
|
|
2764
2781
|
9?: string | number | boolean | undefined;
|
|
2765
2782
|
10?: string | number | boolean | undefined;
|
|
2783
|
+
11?: string | number | boolean | undefined;
|
|
2766
2784
|
} | undefined;
|
|
2767
2785
|
fontWeights?: {
|
|
2768
2786
|
hairline?: string | number | boolean | undefined;
|
|
@@ -2815,6 +2833,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
2815
2833
|
light: "(prefers-color-scheme: light)";
|
|
2816
2834
|
xs: "(max-width: 520px)";
|
|
2817
2835
|
sm: "(max-width: 900px)";
|
|
2836
|
+
bp2: "(min-width: 900px)";
|
|
2818
2837
|
md: "(max-width: 1200px)";
|
|
2819
2838
|
lg: "(max-width: 1800px)";
|
|
2820
2839
|
};
|
|
@@ -2928,6 +2947,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
2928
2947
|
8: string;
|
|
2929
2948
|
9: string;
|
|
2930
2949
|
10: string;
|
|
2950
|
+
11: string;
|
|
2931
2951
|
};
|
|
2932
2952
|
fontWeights: {
|
|
2933
2953
|
hairline: number;
|
|
@@ -3194,6 +3214,6 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
3194
3214
|
};
|
|
3195
3215
|
};
|
|
3196
3216
|
};
|
|
3197
|
-
};
|
|
3217
|
+
}, reset: () => void;
|
|
3198
3218
|
export declare const globalStyles: () => string;
|
|
3199
3219
|
export declare type CSS = Stitches.CSS<typeof config>;
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CSS } from "../../../stitches.config";
|
|
3
|
-
export interface HeroSectionProps {
|
|
4
|
-
heading: string;
|
|
5
|
-
content: JSX.Element | string;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
image?: {
|
|
8
|
-
basePath: string;
|
|
9
|
-
mobilePath?: string;
|
|
10
|
-
};
|
|
11
|
-
css?: CSS;
|
|
12
|
-
}
|
|
13
|
-
export declare const HeroSection: React.FC<HeroSectionProps>;
|
|
14
|
-
export default HeroSection;
|