@obolnetwork/obol-ui 1.0.5 → 1.0.8
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 +2 -0
- package/dist/components/atoms/Button/Button.d.ts +7 -5
- package/dist/components/atoms/Container/Container.d.ts +4 -0
- package/dist/components/atoms/Dialog/Dialog.d.ts +1445 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts +496 -0
- package/dist/components/atoms/Image/Image.d.ts +2 -0
- package/dist/components/atoms/Link/Link.d.ts +2 -0
- package/dist/components/atoms/NumberField/NumberField.d.ts +7 -0
- package/dist/components/atoms/Spin/Spin.d.ts +3 -1
- package/dist/components/atoms/SvgIcon/SvgIcon.d.ts +3 -1
- package/dist/components/atoms/Tabs/Tabs.d.ts +8 -0
- package/dist/components/atoms/Text/Text.d.ts +5 -3
- package/dist/components/atoms/TextField/TextField.d.ts +964 -0
- package/dist/components/atoms/Toggle/Toggle.d.ts +4 -0
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +13 -0
- package/dist/components/atoms/index.d.ts +3 -0
- package/dist/components/icons/AlertIcon.d.ts +2 -0
- package/dist/components/icons/GlowIconBox.d.ts +2 -0
- package/dist/components/icons/Planet.d.ts +2 -0
- package/dist/components/icons/index.d.ts +3 -0
- package/dist/components/icons/static-icons/CheckIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/Coinbase.d.ts +1 -0
- package/dist/components/icons/static-icons/CopyIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/Metamask.d.ts +1 -0
- package/dist/components/icons/static-icons/WalletConnect.d.ts +1 -0
- package/dist/components/molecules/Accordion/Accordion.d.ts +4 -0
- package/dist/components/molecules/Card/Card.d.ts +4 -0
- package/dist/components/molecules/NotificationCard/NotificationCard.d.ts +961 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +1445 -0
- package/dist/components/utils/color-variants.d.ts +2 -0
- package/dist/components/utils/styles.d.ts +2 -0
- package/dist/index.es.js +292 -43
- package/dist/index.js +301 -43
- package/dist/stitches.config.d.ts +20 -0
- package/package.json +3 -1
|
@@ -6,7 +6,7 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
6
6
|
icon?: boolean | "true" | undefined;
|
|
7
7
|
fullWidth?: boolean | "true" | undefined;
|
|
8
8
|
outlined?: boolean | "true" | undefined;
|
|
9
|
-
variant?: "nav" | "tx" | undefined;
|
|
9
|
+
variant?: "nav" | "tx" | "wallet" | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
motion: "(prefers-reduced-motion)";
|
|
12
12
|
hover: "(any-hover: hover)";
|
|
@@ -79,6 +79,8 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
79
79
|
bg03: string;
|
|
80
80
|
bg04: string;
|
|
81
81
|
bg05: string;
|
|
82
|
+
tooltip: string;
|
|
83
|
+
tooltip2: string;
|
|
82
84
|
};
|
|
83
85
|
space: {
|
|
84
86
|
1: string;
|
|
@@ -482,17 +484,17 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
482
484
|
};
|
|
483
485
|
};
|
|
484
486
|
}>>;
|
|
485
|
-
declare type
|
|
486
|
-
export declare type
|
|
487
|
+
declare type ButtonComponentVariants = Stitches.VariantProps<typeof Button>;
|
|
488
|
+
export declare type ButtonComponentProps = ButtonComponentVariants & {
|
|
487
489
|
loading?: boolean;
|
|
488
490
|
};
|
|
489
|
-
export declare const ButtonStory: (props: Omit<
|
|
491
|
+
export declare const ButtonStory: (props: Omit<ButtonComponentProps, "color" | "icon" | "ghost" | "fullWidth" | "outlined" | "variant"> & {
|
|
490
492
|
color?: "coordinate" | "test" | "create" | "primary" | "secondary" | undefined;
|
|
491
493
|
ghost?: boolean | undefined;
|
|
492
494
|
icon?: boolean | undefined;
|
|
493
495
|
fullWidth?: boolean | undefined;
|
|
494
496
|
outlined?: boolean | undefined;
|
|
495
|
-
variant?: "nav" | "tx" | undefined;
|
|
497
|
+
variant?: "nav" | "tx" | "wallet" | undefined;
|
|
496
498
|
} & {
|
|
497
499
|
children?: import("react").ReactNode;
|
|
498
500
|
disabled?: boolean | undefined;
|
|
@@ -70,6 +70,8 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
70
70
|
bg03: string;
|
|
71
71
|
bg04: string;
|
|
72
72
|
bg05: string;
|
|
73
|
+
tooltip: string;
|
|
74
|
+
tooltip2: string;
|
|
73
75
|
};
|
|
74
76
|
space: {
|
|
75
77
|
1: string;
|
|
@@ -550,6 +552,8 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
550
552
|
bg03: string;
|
|
551
553
|
bg04: string;
|
|
552
554
|
bg05: string;
|
|
555
|
+
tooltip: string;
|
|
556
|
+
tooltip2: string;
|
|
553
557
|
};
|
|
554
558
|
space: {
|
|
555
559
|
1: string;
|