@obolnetwork/obol-ui 1.0.1 → 1.0.5
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 +631 -69
- package/dist/index.js +667 -70
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ObolEcosystem: () => JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CSS } from "../../../stitches.config";
|
|
3
|
+
export interface TwoColumnSectionProps {
|
|
4
|
+
heading: JSX.Element | string;
|
|
5
|
+
content: JSX.Element | string;
|
|
6
|
+
image: {
|
|
7
|
+
basePath: string;
|
|
8
|
+
mobilePath?: string;
|
|
9
|
+
};
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
preHeading?: JSX.Element | string;
|
|
12
|
+
css?: CSS;
|
|
13
|
+
}
|
|
14
|
+
export declare const TwoColumnSection: React.FC<TwoColumnSectionProps>;
|
|
15
|
+
export default TwoColumnSection;
|
|
@@ -5,6 +5,7 @@ export declare const GlowIcon: import("@stitches/react/types/styled-component").
|
|
|
5
5
|
light: "(prefers-color-scheme: light)";
|
|
6
6
|
xs: "(max-width: 520px)";
|
|
7
7
|
sm: "(max-width: 900px)";
|
|
8
|
+
bp2: "(min-width: 900px)";
|
|
8
9
|
md: "(max-width: 1200px)";
|
|
9
10
|
lg: "(max-width: 1800px)";
|
|
10
11
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
@@ -14,6 +15,7 @@ export declare const GlowIcon: import("@stitches/react/types/styled-component").
|
|
|
14
15
|
light: "(prefers-color-scheme: light)";
|
|
15
16
|
xs: "(max-width: 520px)";
|
|
16
17
|
sm: "(max-width: 900px)";
|
|
18
|
+
bp2: "(min-width: 900px)";
|
|
17
19
|
md: "(max-width: 1200px)";
|
|
18
20
|
lg: "(max-width: 1800px)";
|
|
19
21
|
}, {
|
|
@@ -126,6 +128,7 @@ export declare const GlowIcon: import("@stitches/react/types/styled-component").
|
|
|
126
128
|
8: string;
|
|
127
129
|
9: string;
|
|
128
130
|
10: string;
|
|
131
|
+
11: string;
|
|
129
132
|
};
|
|
130
133
|
fontWeights: {
|
|
131
134
|
hairline: number;
|
|
@@ -10,4 +10,20 @@ export declare function modifyVariantsForStory<ComponentVariants, ComponentProps
|
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}) => JSX.Element;
|
|
13
|
+
declare type SocialNetwork = {
|
|
14
|
+
network: "github" | "twitter";
|
|
15
|
+
link: string;
|
|
16
|
+
};
|
|
17
|
+
export interface EcosystemCardProps {
|
|
18
|
+
image: string;
|
|
19
|
+
heading: string;
|
|
20
|
+
subheading?: string;
|
|
21
|
+
links?: SocialNetwork[];
|
|
22
|
+
logoCardLink?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface EcosystemTabsProps {
|
|
25
|
+
tab: string;
|
|
26
|
+
component?: "TeamMemberCard";
|
|
27
|
+
items: EcosystemCardProps[];
|
|
28
|
+
}
|
|
13
29
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./components/atoms";
|
|
|
2
2
|
export * from "./components/icons";
|
|
3
3
|
export * from "./components/molecules";
|
|
4
4
|
export * from "./components/organisms";
|
|
5
|
-
export * from "./components/utils
|
|
6
|
-
export { styled, css, theme, createTheme, getCssText, globalCss, keyframes, config, } from "./stitches.config";
|
|
5
|
+
export * from "./components/utils";
|
|
6
|
+
export { styled, css, theme, createTheme, getCssText, globalCss, keyframes, config, reset } from "./stitches.config";
|