@obolnetwork/obol-ui 1.1.8 → 1.1.10
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/TextField/TextField.d.ts +9 -0
- package/dist/components/icons/OpenInNew.d.ts +5 -1
- package/dist/components/molecules/MetricWidget/MetricWidget.d.ts +1 -1
- package/dist/components/molecules/Profile/Profile.d.ts +2 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as Stitches from "@stitches/react";
|
|
3
|
+
import { CSS } from "../../../stitches.config";
|
|
3
4
|
export declare const TextField: import("@stitches/react/types/styled-component").StyledComponent<"input", {
|
|
4
5
|
withCopy?: boolean | "true" | undefined;
|
|
5
6
|
}, {
|
|
@@ -980,6 +981,13 @@ export declare const TextAreaField: import("@stitches/react/types/styled-compone
|
|
|
980
981
|
};
|
|
981
982
|
};
|
|
982
983
|
}>>;
|
|
984
|
+
declare type InputType = string | number | readonly string[] | undefined;
|
|
985
|
+
declare type CopyButtonProps = {
|
|
986
|
+
value: InputType;
|
|
987
|
+
css?: CSS;
|
|
988
|
+
ghost?: boolean;
|
|
989
|
+
};
|
|
990
|
+
export declare const CopyButton: ({ value, css, ghost }: CopyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
983
991
|
export declare const TextFieldWithCopy: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
984
992
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
985
993
|
}, "css" | "withCopy"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
@@ -1970,3 +1978,4 @@ export declare const TextAreaFieldWithCopy: import("react").ForwardRefExoticComp
|
|
|
1970
1978
|
} & {
|
|
1971
1979
|
disableResize?: boolean | undefined;
|
|
1972
1980
|
}, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
1981
|
+
export {};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { SvgIconProps } from "../atoms/SvgIcon/SvgIcon";
|
|
2
|
-
|
|
2
|
+
declare type OpenInNewProps = SvgIconProps & {
|
|
3
|
+
iconFillColor?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const OpenInNew: ({ iconFillColor, css, ...props }: OpenInNewProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { ClusterAndValidatorStatus } from "../MetricValidatorStatus/MetricValida
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
declare type BaseMetricWidgetProps = {
|
|
5
5
|
heading: string;
|
|
6
|
-
tooltipContent?: string;
|
|
6
|
+
tooltipContent?: string | ReactNode;
|
|
7
7
|
css?: CSS;
|
|
8
8
|
isLoading?: boolean;
|
|
9
9
|
};
|