@obolnetwork/obol-ui 1.0.7 → 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/Button/Button.d.ts +5 -5
- package/dist/components/atoms/Dialog/Dialog.d.ts +1445 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts +496 -0
- package/dist/components/atoms/NumberField/NumberField.d.ts +7 -0
- package/dist/components/atoms/TextField/TextField.d.ts +472 -15
- package/dist/components/atoms/index.d.ts +3 -0
- package/dist/components/icons/static-icons/Coinbase.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/RadioGroup/RadioGroup.d.ts +1445 -0
- package/dist/index.es.js +242 -5
- package/dist/index.js +246 -3
- package/package.json +2 -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)";
|
|
@@ -484,17 +484,17 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
484
484
|
};
|
|
485
485
|
};
|
|
486
486
|
}>>;
|
|
487
|
-
declare type
|
|
488
|
-
export declare type
|
|
487
|
+
declare type ButtonComponentVariants = Stitches.VariantProps<typeof Button>;
|
|
488
|
+
export declare type ButtonComponentProps = ButtonComponentVariants & {
|
|
489
489
|
loading?: boolean;
|
|
490
490
|
};
|
|
491
|
-
export declare const ButtonStory: (props: Omit<
|
|
491
|
+
export declare const ButtonStory: (props: Omit<ButtonComponentProps, "color" | "icon" | "ghost" | "fullWidth" | "outlined" | "variant"> & {
|
|
492
492
|
color?: "coordinate" | "test" | "create" | "primary" | "secondary" | undefined;
|
|
493
493
|
ghost?: boolean | undefined;
|
|
494
494
|
icon?: boolean | undefined;
|
|
495
495
|
fullWidth?: boolean | undefined;
|
|
496
496
|
outlined?: boolean | undefined;
|
|
497
|
-
variant?: "nav" | "tx" | undefined;
|
|
497
|
+
variant?: "nav" | "tx" | "wallet" | undefined;
|
|
498
498
|
} & {
|
|
499
499
|
children?: import("react").ReactNode;
|
|
500
500
|
disabled?: boolean | undefined;
|