@obolnetwork/obol-ui 1.0.7 → 1.0.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/Box/Box.d.ts +3 -0
- package/dist/components/atoms/Button/Button.d.ts +10 -7
- package/dist/components/atoms/Container/Container.d.ts +6 -0
- package/dist/components/atoms/Dialog/Dialog.d.ts +1455 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts +508 -0
- package/dist/components/atoms/Image/Image.d.ts +3 -0
- package/dist/components/atoms/Link/Link.d.ts +7 -1
- package/dist/components/atoms/NumberField/NumberField.d.ts +9 -0
- package/dist/components/atoms/Spin/Spin.d.ts +4 -1
- package/dist/components/atoms/SvgIcon/SvgIcon.d.ts +4 -1
- package/dist/components/atoms/Tabs/Tabs.d.ts +12 -0
- package/dist/components/atoms/Text/Text.d.ts +9 -6
- package/dist/components/atoms/TextField/TextField.d.ts +478 -15
- package/dist/components/atoms/Toggle/Toggle.d.ts +6 -0
- package/dist/components/atoms/index.d.ts +4 -0
- package/dist/components/icons/GlowIconBox.d.ts +3 -0
- package/dist/components/icons/Planet.d.ts +3 -0
- package/dist/components/icons/index.d.ts +5 -2
- package/dist/components/icons/static-icons/BulletCheckIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/Coinbase.d.ts +1 -0
- package/dist/components/icons/static-icons/HelpIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/Metamask.d.ts +1 -0
- package/dist/components/icons/static-icons/TrashIcon.d.ts +1 -0
- package/dist/components/icons/static-icons/WalletConnect.d.ts +1 -0
- package/dist/components/molecules/Accordion/Accordion.d.ts +6 -0
- package/dist/components/molecules/AdvisoryToggle/AdvisoryToggle.d.ts +968 -0
- package/dist/components/molecules/Card/Card.d.ts +6 -0
- package/dist/components/molecules/NotificationCard/NotificationCard.d.ts +6 -0
- package/dist/components/molecules/ProgressTracker/ProgressTracker.d.ts +11 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +1454 -0
- package/dist/components/molecules/Table/Table.d.ts +19 -0
- package/dist/components/molecules/index.d.ts +6 -1
- package/dist/components/organisms/Advisory/Advisory.d.ts +978 -0
- package/dist/components/organisms/index.d.ts +2 -1
- package/dist/components/utils/color-variants.d.ts +3 -0
- package/dist/components/utils/styles.d.ts +3 -0
- package/dist/index.es.js +726 -146
- package/dist/index.js +755 -144
- package/dist/stitches.config.d.ts +30 -0
- package/package.json +6 -2
|
@@ -38,6 +38,7 @@ export declare const Box: import("@stitches/react/types/styled-component").Style
|
|
|
38
38
|
cardBackgroundLight: string;
|
|
39
39
|
textMiddle: string;
|
|
40
40
|
textLight: string;
|
|
41
|
+
textLighter: string;
|
|
41
42
|
textTabHover: string;
|
|
42
43
|
textTabInactive: string;
|
|
43
44
|
textGreenDark: string;
|
|
@@ -50,11 +51,13 @@ export declare const Box: import("@stitches/react/types/styled-component").Style
|
|
|
50
51
|
textGrayHover: string;
|
|
51
52
|
txButton: string;
|
|
52
53
|
obolGreen: string;
|
|
54
|
+
obolMidGreen: string;
|
|
53
55
|
obolGreenHover: string;
|
|
54
56
|
obolGreenLight: string;
|
|
55
57
|
obolDarkDark: string;
|
|
56
58
|
obolDisabled: string;
|
|
57
59
|
linkButtonHover: string;
|
|
60
|
+
progressTrackerGreen: string;
|
|
58
61
|
coordinate: string;
|
|
59
62
|
coordinateHover: string;
|
|
60
63
|
test: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as Stitches from "@stitches/react";
|
|
3
3
|
export declare const Button: import("@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
4
|
-
color?: "coordinate" | "test" | "create" | "primary" | "secondary" | undefined;
|
|
4
|
+
color?: "coordinate" | "test" | "create" | "ghost" | "primary" | "secondary" | undefined;
|
|
5
5
|
ghost?: boolean | "true" | undefined;
|
|
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)";
|
|
@@ -47,6 +47,7 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
47
47
|
cardBackgroundLight: string;
|
|
48
48
|
textMiddle: string;
|
|
49
49
|
textLight: string;
|
|
50
|
+
textLighter: string;
|
|
50
51
|
textTabHover: string;
|
|
51
52
|
textTabInactive: string;
|
|
52
53
|
textGreenDark: string;
|
|
@@ -59,11 +60,13 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
59
60
|
textGrayHover: string;
|
|
60
61
|
txButton: string;
|
|
61
62
|
obolGreen: string;
|
|
63
|
+
obolMidGreen: string;
|
|
62
64
|
obolGreenHover: string;
|
|
63
65
|
obolGreenLight: string;
|
|
64
66
|
obolDarkDark: string;
|
|
65
67
|
obolDisabled: string;
|
|
66
68
|
linkButtonHover: string;
|
|
69
|
+
progressTrackerGreen: string;
|
|
67
70
|
coordinate: string;
|
|
68
71
|
coordinateHover: string;
|
|
69
72
|
test: string;
|
|
@@ -484,17 +487,17 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
484
487
|
};
|
|
485
488
|
};
|
|
486
489
|
}>>;
|
|
487
|
-
declare type
|
|
488
|
-
export declare type
|
|
490
|
+
declare type ButtonComponentVariants = Stitches.VariantProps<typeof Button>;
|
|
491
|
+
export declare type ButtonComponentProps = ButtonComponentVariants & {
|
|
489
492
|
loading?: boolean;
|
|
490
493
|
};
|
|
491
|
-
export declare const ButtonStory: (props: Omit<
|
|
492
|
-
color?: "coordinate" | "test" | "create" | "primary" | "secondary" | undefined;
|
|
494
|
+
export declare const ButtonStory: (props: Omit<ButtonComponentProps, "color" | "icon" | "ghost" | "fullWidth" | "outlined" | "variant"> & {
|
|
495
|
+
color?: "coordinate" | "test" | "create" | "ghost" | "primary" | "secondary" | undefined;
|
|
493
496
|
ghost?: boolean | undefined;
|
|
494
497
|
icon?: boolean | undefined;
|
|
495
498
|
fullWidth?: boolean | undefined;
|
|
496
499
|
outlined?: boolean | undefined;
|
|
497
|
-
variant?: "nav" | "tx" | undefined;
|
|
500
|
+
variant?: "nav" | "tx" | "wallet" | undefined;
|
|
498
501
|
} & {
|
|
499
502
|
children?: import("react").ReactNode;
|
|
500
503
|
disabled?: boolean | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
38
38
|
cardBackgroundLight: string;
|
|
39
39
|
textMiddle: string;
|
|
40
40
|
textLight: string;
|
|
41
|
+
textLighter: string;
|
|
41
42
|
textTabHover: string;
|
|
42
43
|
textTabInactive: string;
|
|
43
44
|
textGreenDark: string;
|
|
@@ -50,11 +51,13 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
50
51
|
textGrayHover: string;
|
|
51
52
|
txButton: string;
|
|
52
53
|
obolGreen: string;
|
|
54
|
+
obolMidGreen: string;
|
|
53
55
|
obolGreenHover: string;
|
|
54
56
|
obolGreenLight: string;
|
|
55
57
|
obolDarkDark: string;
|
|
56
58
|
obolDisabled: string;
|
|
57
59
|
linkButtonHover: string;
|
|
60
|
+
progressTrackerGreen: string;
|
|
58
61
|
coordinate: string;
|
|
59
62
|
coordinateHover: string;
|
|
60
63
|
test: string;
|
|
@@ -520,6 +523,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
520
523
|
cardBackgroundLight: string;
|
|
521
524
|
textMiddle: string;
|
|
522
525
|
textLight: string;
|
|
526
|
+
textLighter: string;
|
|
523
527
|
textTabHover: string;
|
|
524
528
|
textTabInactive: string;
|
|
525
529
|
textGreenDark: string;
|
|
@@ -532,11 +536,13 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
532
536
|
textGrayHover: string;
|
|
533
537
|
txButton: string;
|
|
534
538
|
obolGreen: string;
|
|
539
|
+
obolMidGreen: string;
|
|
535
540
|
obolGreenHover: string;
|
|
536
541
|
obolGreenLight: string;
|
|
537
542
|
obolDarkDark: string;
|
|
538
543
|
obolDisabled: string;
|
|
539
544
|
linkButtonHover: string;
|
|
545
|
+
progressTrackerGreen: string;
|
|
540
546
|
coordinate: string;
|
|
541
547
|
coordinateHover: string;
|
|
542
548
|
test: string;
|