@obolnetwork/obol-ui 1.0.69 → 1.0.71

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.
@@ -0,0 +1,6 @@
1
+ export declare const InstanceContainer: (props: {
2
+ title: string;
3
+ showDialogIcon: boolean;
4
+ children: React.ReactNode;
5
+ onClick?: () => void;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import type * as Stitches from "@stitches/react";
2
2
  import { CSS } from "../../../stitches.config";
3
3
  export declare const SvgIcon: import("@stitches/react/types/styled-component").StyledComponent<"svg", {
4
4
  color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "inherit" | undefined;
5
- size?: "inherit" | "sm" | "md" | "lg" | "xl" | undefined;
5
+ size?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
6
6
  fillColor?: boolean | "true" | "false" | undefined;
7
7
  strokeColor?: boolean | "true" | "false" | undefined;
8
8
  transform?: "xAxis" | undefined;
@@ -5,6 +5,8 @@ import type * as Stitches from "@stitches/react";
5
5
  interface Props extends Stitches.VariantProps<typeof Text> {
6
6
  value: string | number;
7
7
  css?: CSS;
8
+ numberCss?: CSS;
9
+ unitCss?: CSS;
8
10
  }
9
11
  export declare const TextNumberWithUnit: React.FC<Props>;
10
12
  export {};
@@ -0,0 +1,6 @@
1
+ import { SvgIconProps } from "../atoms";
2
+ interface Props extends SvgIconProps {
3
+ backgroundColor: string;
4
+ }
5
+ export declare const ContibutionsIcon: ({ backgroundColor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SvgIconProps } from "../atoms";
2
+ export declare const CredentialIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SvgIconProps } from "../atoms";
2
+ export declare const OpenDialogIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ContributionBigIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const NoBadgesIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const ContributionsContainer: (props: {
2
+ contributions?: number;
3
+ onClick?: () => void;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -13,3 +13,4 @@ export * from "./Table/TableV2";
13
13
  export * from "./MetricValidatorStatus/MetricValidatorStatus";
14
14
  export * from "./Dialog/Dialog";
15
15
  export * from "./ResponsiveDialog/ResponsiveDialog";
16
+ export * from "./ContributionsContainer/ContributionsContainer";
@@ -2,7 +2,12 @@ import React from "react";
2
2
  import { BadgeProps } from "../../atoms/Badge/Badge";
3
3
  export interface OperatorInfoDialogProps {
4
4
  badges: BadgeProps[];
5
- pointsInfo: any;
5
+ contributionsInfo: {
6
+ address: string;
7
+ contributions: number;
8
+ daily_avg: number;
9
+ start_date: Date;
10
+ };
6
11
  credentialInfo: any;
7
12
  defaultTab: string;
8
13
  open?: boolean;
@@ -2,3 +2,4 @@ export * from "./Advisory/Advisory";
2
2
  export * from "./Footer/Footer";
3
3
  export * from "./HeroSection/HeroSection";
4
4
  export * from "./TwoColumnSection/TwoColumnSection";
5
+ export * from "./OperatorInfoDialog/OperatorInfoDialog";