@obolnetwork/obol-ui 1.1.15 → 1.1.18
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/README.md +41 -60
- package/dist/components/atoms/Avatar/Avatar.d.ts +18 -0
- package/dist/components/atoms/Box/Box.d.ts +9 -0
- package/dist/components/atoms/Button/Button.d.ts +9 -0
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/atoms/Container/Container.d.ts +18 -0
- package/dist/components/atoms/Flex/Flex.d.ts +9 -0
- package/dist/components/atoms/Grid/Grid.d.ts +9 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts +9 -0
- package/dist/components/atoms/Image/Image.d.ts +9 -0
- package/dist/components/atoms/Link/Link.d.ts +9 -0
- package/dist/components/atoms/NavigationMenu/NavigationMenu.d.ts +45 -0
- package/dist/components/atoms/ScoreBadge/ScoreBadge.d.ts +6 -0
- package/dist/components/atoms/Separator/Separator.d.ts +9 -0
- package/dist/components/atoms/Skeleton/Skeleton.d.ts +9 -0
- package/dist/components/atoms/Spin/Spin.d.ts +10 -1
- package/dist/components/atoms/SvgIcon/SvgIcon.d.ts +13 -2
- package/dist/components/atoms/Switch/Switch.d.ts +18 -0
- package/dist/components/atoms/Text/Text.d.ts +12 -3
- package/dist/components/atoms/TextField/TextField.d.ts +36 -0
- package/dist/components/atoms/Toggle/Toggle.d.ts +18 -0
- package/dist/components/atoms/UnstyledTextField/UnstyledTextField.d.ts +18 -0
- package/dist/components/atoms/VerdictChip/VerdictChip.d.ts +5 -0
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/icons/brand/obol/circle/ObolDarkCircle.d.ts +5 -0
- package/dist/components/icons/brand/obol/circle/ObolLightCircle.d.ts +5 -0
- package/dist/components/icons/brand/obol/horizontal/ObolDarkBgH.d.ts +5 -0
- package/dist/components/icons/brand/obol/horizontal/ObolLightBgH.d.ts +5 -0
- package/dist/components/icons/brand/obol/horizontal/ObolSolidDarkBgH.d.ts +5 -0
- package/dist/components/icons/brand/obol/horizontal/ObolSolidLightBgH.d.ts +5 -0
- package/dist/components/icons/brand/obol/mark/ObolDarkBgMark.d.ts +5 -0
- package/dist/components/icons/brand/obol/mark/ObolLightBgMark.d.ts +3 -0
- package/dist/components/icons/brand/obol/mark/ObolSolidDarkBgMark.d.ts +3 -0
- package/dist/components/icons/brand/obol/mark/ObolSolidLightBgMark.d.ts +3 -0
- package/dist/components/icons/brand/obol/vertical/ObolDarkBgV.d.ts +5 -0
- package/dist/components/icons/brand/obol/vertical/ObolLightBgV.d.ts +5 -0
- package/dist/components/icons/brand/obol/vertical/ObolSolidDarkBgV.d.ts +5 -0
- package/dist/components/icons/brand/obol/vertical/ObolSolidLightBgV.d.ts +5 -0
- package/dist/components/icons/brand/planets/PlanetBlue.d.ts +5 -0
- package/dist/components/icons/brand/planets/PlanetGreen.d.ts +5 -0
- package/dist/components/icons/brand/planets/PlanetGrey.d.ts +5 -0
- package/dist/components/icons/brand/planets/PlanetMagenta.d.ts +5 -0
- package/dist/components/icons/brand/planets/PlanetOrange.d.ts +5 -0
- package/dist/components/icons/index.d.ts +90 -54
- package/dist/components/icons/medals/MedalFirst.d.ts +3 -0
- package/dist/components/icons/medals/MedalSecond.d.ts +3 -0
- package/dist/components/icons/medals/MedalThird.d.ts +3 -0
- package/dist/components/icons/{static-icons → misc}/AloneIcon.d.ts +1 -1
- package/dist/components/icons/{static-icons → misc}/CodeIcon.d.ts +1 -1
- package/dist/components/icons/misc/ContributionBigIcon.d.ts +3 -0
- package/dist/components/icons/{static-icons → misc}/CreateIcon.d.ts +1 -1
- package/dist/components/icons/{static-icons → misc}/ExistingGroupIcon.d.ts +1 -1
- package/dist/components/icons/{GlowIconBox.d.ts → misc/GlowIconBox.d.ts} +9 -0
- package/dist/components/icons/{static-icons → misc}/GroupIcon.d.ts +1 -1
- package/dist/components/icons/misc/IncentivesIcon.d.ts +3 -0
- package/dist/components/icons/{static-icons → misc}/MigrateIcon.d.ts +1 -1
- package/dist/components/icons/{static-icons → misc}/PublicGoodIcon.d.ts +1 -1
- package/dist/components/icons/{static-icons → misc}/RunIcon.d.ts +1 -1
- package/dist/components/icons/{static-icons → misc}/TestIcon.d.ts +1 -1
- package/dist/components/icons/{static-icons → misc}/TrustMinimisedIcon.d.ts +1 -1
- package/dist/components/icons/misc/Variant8Icon.d.ts +3 -0
- package/dist/components/icons/protocols/Coinbase.d.ts +3 -0
- package/dist/components/icons/protocols/EthIcon.d.ts +3 -0
- package/dist/components/icons/protocols/EtherFiIcon.d.ts +3 -0
- package/dist/components/icons/protocols/LidoIcon.d.ts +3 -0
- package/dist/components/icons/protocols/Metamask.d.ts +3 -0
- package/dist/components/icons/protocols/WalletConnect.d.ts +3 -0
- package/dist/components/icons/protocols/WeEthIcon.d.ts +7 -0
- package/dist/components/icons/protocols/WstEthIcon.d.ts +3 -0
- package/dist/components/icons/social/DiscordIcon.d.ts +3 -0
- package/dist/components/icons/social/GithubIcon.d.ts +3 -0
- package/dist/components/icons/social/LinkedInIcon.d.ts +3 -0
- package/dist/components/icons/social/SocialsDiscordIcon.d.ts +6 -0
- package/dist/components/icons/social/SocialsLinkedinIcon.d.ts +6 -0
- package/dist/components/icons/social/StaticTwitterIcon.d.ts +6 -0
- package/dist/components/icons/social/XIcon.d.ts +3 -0
- package/dist/components/icons/status/ActiveIcon.d.ts +3 -0
- package/dist/components/icons/status/ExitedIcon.d.ts +3 -0
- package/dist/components/icons/status/ExitingIcon.d.ts +3 -0
- package/dist/components/icons/status/InActiveIcon.d.ts +3 -0
- package/dist/components/icons/status/WaitingIcon.d.ts +3 -0
- package/dist/components/icons/techne-credentials/BasicCredential.d.ts +3 -0
- package/dist/components/icons/techne-credentials/BronzeCredential.d.ts +3 -0
- package/dist/components/icons/techne-credentials/GoldCredential.d.ts +3 -0
- package/dist/components/icons/techne-credentials/MutedCredential.d.ts +3 -0
- package/dist/components/icons/techne-credentials/SilverCredential.d.ts +3 -0
- package/dist/components/icons/ui/AlarmIcon.d.ts +3 -0
- package/dist/components/icons/{AlertIcon.d.ts → ui/AlertIcon.d.ts} +1 -1
- package/dist/components/icons/ui/ArrowDown.d.ts +3 -0
- package/dist/components/icons/{ArrowForward.d.ts → ui/ArrowForward.d.ts} +1 -1
- package/dist/components/icons/ui/CheckIcon.d.ts +3 -0
- package/dist/components/icons/ui/CheckboxIcon.d.ts +3 -0
- package/dist/components/icons/{CloseIcon.d.ts → ui/CloseIcon.d.ts} +1 -1
- package/dist/components/icons/ui/ClusterIcon.d.ts +3 -0
- package/dist/components/icons/ui/CopyIcon.d.ts +3 -0
- package/dist/components/icons/ui/CopyLinkIcon.d.ts +3 -0
- package/dist/components/icons/ui/DialogBackIcon.d.ts +3 -0
- package/dist/components/icons/{Download.d.ts → ui/Download.d.ts} +1 -1
- package/dist/components/icons/ui/HelpIcon.d.ts +3 -0
- package/dist/components/icons/ui/MenuIcon.d.ts +3 -0
- package/dist/components/icons/ui/MinusIcon.d.ts +3 -0
- package/dist/components/icons/ui/NewInviteIcon.d.ts +3 -0
- package/dist/components/icons/{OpenDialogIcon.d.ts → ui/OpenDialogIcon.d.ts} +1 -1
- package/dist/components/icons/ui/OpenInNew.d.ts +2 -0
- package/dist/components/icons/ui/PlusIcon.d.ts +3 -0
- package/dist/components/icons/ui/SortAscIcon.d.ts +3 -0
- package/dist/components/icons/ui/SortDefaultIcon.d.ts +3 -0
- package/dist/components/icons/ui/SortDescIcon.d.ts +3 -0
- package/dist/components/icons/ui/TrashIcon.d.ts +3 -0
- package/dist/components/icons/ui/UnknownIcon.d.ts +3 -0
- package/dist/components/icons/ui/UserIcon.d.ts +3 -0
- package/dist/components/molecules/Accordion/Accordion.d.ts +18 -0
- package/dist/components/molecules/AdvisoryToggle/AdvisoryToggle.d.ts +18 -0
- package/dist/components/molecules/Card/Card.d.ts +36 -0
- package/dist/components/molecules/Dialog/Dialog.d.ts +54 -0
- package/dist/components/molecules/NotificationCard/NotificationCard.d.ts +18 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +27 -0
- package/dist/components/molecules/ResponsiveDialog/ResponsiveDialog.d.ts +18 -0
- package/dist/components/molecules/TableV3/ExpandedTable.d.ts +54 -0
- package/dist/components/molecules/Tabs/Tabs.d.ts +36 -0
- package/dist/components/utils/color-variants.d.ts +5 -0
- package/dist/components/utils/styles.d.ts +9 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/stitches.config.d.ts +90 -0
- package/package.json +9 -5
- package/dist/components/icons/ArrowDown.d.ts +0 -4
- package/dist/components/icons/ChevronDownIcon.d.ts +0 -2
- package/dist/components/icons/ChevronUpIcon.d.ts +0 -2
- package/dist/components/icons/Hexapod.d.ts +0 -2
- package/dist/components/icons/OpenInNew.d.ts +0 -6
- package/dist/components/icons/Planet.d.ts +0 -506
- package/dist/components/icons/socials/CopyLinkIcon.d.ts +0 -2
- package/dist/components/icons/socials/DiscordIcon.d.ts +0 -2
- package/dist/components/icons/socials/LinkedinIcon.d.ts +0 -2
- package/dist/components/icons/socials/XIcon.d.ts +0 -2
- package/dist/components/icons/static-icons/ActiveIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/AlarmIcon.d.ts +0 -7
- package/dist/components/icons/static-icons/BulletCheckIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/CheckIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/CheckboxIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/Coinbase.d.ts +0 -1
- package/dist/components/icons/static-icons/ContributionBigIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/CopyIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/DialogBackIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/DialogCloseIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/ExitedIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/ExitingIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/GithubIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/HelpIcon.d.ts +0 -4
- package/dist/components/icons/static-icons/InActiveIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/InProgressIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/MenuIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/Metamask.d.ts +0 -1
- package/dist/components/icons/static-icons/MinusIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/NewInviteIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/PendingActivationIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/PlusIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/SortAscIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/SortDefaultIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/SortDescIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/TrashIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/TwitterIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/UnknownIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/WaitingIcon.d.ts +0 -1
- package/dist/components/icons/static-icons/WalletConnect.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/circle/ObolDarkCircle.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/circle/ObolLightCircle.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/horizontal/ObolDarkBgH.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/horizontal/ObolLightBgH.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/horizontal/ObolSolidDarkBgH.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/horizontal/ObolSolidLightBgH.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/mark/ObolDarkBgMark.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/mark/ObolLightBgMark.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/mark/ObolSolidDarkBgMark.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/mark/ObolSolidLightBgMark.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/vertical/ObolDarkBgV.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/vertical/ObolLightBgV.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/vertical/ObolSolidDarkBgV.d.ts +0 -1
- package/dist/components/icons/static-icons/obol/vertical/ObolSolidLightBgV.d.ts +0 -1
- package/dist/components/icons/static-icons/planets/PlanetBlue.d.ts +0 -1
- package/dist/components/icons/static-icons/planets/PlanetGreen.d.ts +0 -1
- package/dist/components/icons/static-icons/planets/PlanetGrey.d.ts +0 -1
- package/dist/components/icons/static-icons/planets/PlanetMagenta.d.ts +0 -1
- package/dist/components/icons/static-icons/planets/PlanetOrange.d.ts +0 -1
- package/dist/scripts/figma-colors.d.ts +0 -1
- /package/dist/components/icons/{static-icons → actions}/DepositIcon.d.ts +0 -0
- /package/dist/components/icons/{static-icons → actions}/DistributeIcon.d.ts +0 -0
- /package/dist/components/icons/{static-icons → actions}/ExitIcon.d.ts +0 -0
- /package/dist/components/icons/{static-icons → actions}/MigrateActionIcon.d.ts +0 -0
- /package/dist/components/icons/{static-icons → actions}/RequestWithdrawIcon.d.ts +0 -0
- /package/dist/components/icons/{static-icons → brand}/obol/circle/index.d.ts +0 -0
- /package/dist/components/icons/{static-icons → brand}/obol/horizontal/index.d.ts +0 -0
- /package/dist/components/icons/{static-icons → brand}/obol/mark/index.d.ts +0 -0
- /package/dist/components/icons/{static-icons → brand}/obol/vertical/index.d.ts +0 -0
- /package/dist/components/icons/{static-icons → brand}/planets/index.d.ts +0 -0
- /package/dist/components/icons/{static-icons → protocols}/WalletIcon.d.ts +0 -0
- /package/dist/components/icons/{static-icons → ui}/ClockIcon.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,88 +1,69 @@
|
|
|
1
|
-
|
|
1
|
+
# @obolnetwork/obol-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Obol Network's shared React component library, built with [Stitches](https://stitches.dev/) and organised using [Atomic Design](https://bradfrost.com/blog/post/atomic-web-design/) principles.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
yarn add @obolnetwork/obol-ui
|
|
9
9
|
# or
|
|
10
|
-
|
|
10
|
+
npm install @obolnetwork/obol-ui
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## Usage
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
```tsx
|
|
16
|
+
import { Button, Text, Flex } from "@obolnetwork/obol-ui";
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
export default function App() {
|
|
19
|
+
return (
|
|
20
|
+
<Flex direction="column" gap="2">
|
|
21
|
+
<Text>Hello from Obol UI</Text>
|
|
22
|
+
<Button onClick={() => console.log("clicked")}>Get Started</Button>
|
|
23
|
+
</Flex>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
```
|
|
20
27
|
|
|
21
|
-
|
|
22
|
-
We use Jest and React Testing Library for testing our React components and functions. Jest is a testing framework that provides us with test runners, assertions, and mocks, while React Testing Library is a set of utilities that helps us write tests that are closer to how our end-users will interact with our application.
|
|
28
|
+
### Theme setup
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
To run the tests, simply run the following command in your terminal:
|
|
30
|
+
Obol UI uses Stitches for styling. Import and apply the global CSS reset in your app's entry point:
|
|
26
31
|
|
|
27
|
-
```
|
|
28
|
-
|
|
32
|
+
```tsx
|
|
33
|
+
import { globalCss, getCssText } from "@obolnetwork/obol-ui";
|
|
29
34
|
```
|
|
30
35
|
|
|
31
|
-
|
|
36
|
+
## Components
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
yarn run test <path-to-file>
|
|
35
|
-
```
|
|
38
|
+
The library follows Atomic Design methodology:
|
|
36
39
|
|
|
37
|
-
|
|
40
|
+
**Atoms** — Avatar, Badge, Box, Button, Checkbox, Container, Flex, Grid, IconButton, Image, Link, NavigationMenu, NumberField, ProgressBar, Separator, Skeleton, Switch, Text, TextField, Toggle, Tooltip, and more.
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
We write tests using Jest and React Testing Library in the same file as the component or function we are testing. For example, if we are testing a component called Button, we would create a file called Button.test.js in the same directory as the Button.js file.
|
|
42
|
+
**Molecules** — Accordion, Card, Dialog, Navbar, NotificationCard, Pagination, Profile, ProgressTracker, RadioGroup, ResponsiveDialog, Table, Tabs, and more.
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
**Organisms** — Advisory, Footer, HeroSection, Selector, TwoColumnSection.
|
|
43
45
|
|
|
44
|
-
|
|
45
|
-
import { Button } from "../../../components/atoms/Button/Button";
|
|
46
|
-
import { render, screen } from "@testing-library/react";
|
|
47
|
-
import userEvent from "@testing-library/user-event";
|
|
46
|
+
**Utilities** — Color variants, media query hooks, shared styles and types.
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
describe("On Click Listener", () => {
|
|
51
|
-
const user = userEvent.setup();
|
|
52
|
-
const mockProps = {
|
|
53
|
-
onClick: jest.fn(),
|
|
54
|
-
};
|
|
48
|
+
## Development
|
|
55
49
|
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
```bash
|
|
51
|
+
# Run Storybook for local component development
|
|
52
|
+
yarn storybook
|
|
58
53
|
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
# Build the design system
|
|
55
|
+
yarn ds:build
|
|
61
56
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
});
|
|
65
|
-
});
|
|
57
|
+
# Run tests
|
|
58
|
+
yarn test
|
|
66
59
|
```
|
|
67
60
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
Husky and pre-commit hooks
|
|
71
|
-
We use Husky to manage Git hooks, such as pre-commit hooks. Our pre-commit hook runs the tests before committing any code changes, ensuring that we only commit code that passes all the tests.
|
|
72
|
-
|
|
73
|
-
If you try to commit changes that break the tests, Husky will prevent the commit from going through and display an error message in your terminal.
|
|
74
|
-
|
|
75
|
-
## Learn More
|
|
76
|
-
|
|
77
|
-
To learn more about Next.js, take a look at the following resources:
|
|
78
|
-
|
|
79
|
-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
80
|
-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
81
|
-
|
|
82
|
-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
|
|
61
|
+
## Links
|
|
83
62
|
|
|
84
|
-
|
|
63
|
+
- [Obol Network](https://obol.org)
|
|
64
|
+
- [Documentation](https://docs.obol.org)
|
|
65
|
+
- [GitHub](https://github.com/ObolNetwork/obol-packages)
|
|
85
66
|
|
|
86
|
-
|
|
67
|
+
## License
|
|
87
68
|
|
|
88
|
-
|
|
69
|
+
MIT
|
|
@@ -88,6 +88,15 @@ export declare const AvatarComponent: import("@stitches/react/types/styled-compo
|
|
|
88
88
|
tooltip: string;
|
|
89
89
|
tooltip2: string;
|
|
90
90
|
skeletonBg: string;
|
|
91
|
+
purpleLight: string;
|
|
92
|
+
purpleLightHover: string;
|
|
93
|
+
tealDark: string;
|
|
94
|
+
purpleDark: string;
|
|
95
|
+
grayMedium: string;
|
|
96
|
+
};
|
|
97
|
+
fonts: {
|
|
98
|
+
sans: string;
|
|
99
|
+
mono: string;
|
|
91
100
|
};
|
|
92
101
|
space: {
|
|
93
102
|
1: string;
|
|
@@ -578,6 +587,15 @@ export declare const AvatarImage: import("@stitches/react/types/styled-component
|
|
|
578
587
|
tooltip: string;
|
|
579
588
|
tooltip2: string;
|
|
580
589
|
skeletonBg: string;
|
|
590
|
+
purpleLight: string;
|
|
591
|
+
purpleLightHover: string;
|
|
592
|
+
tealDark: string;
|
|
593
|
+
purpleDark: string;
|
|
594
|
+
grayMedium: string;
|
|
595
|
+
};
|
|
596
|
+
fonts: {
|
|
597
|
+
sans: string;
|
|
598
|
+
mono: string;
|
|
581
599
|
};
|
|
582
600
|
space: {
|
|
583
601
|
1: string;
|
|
@@ -85,6 +85,15 @@ export declare const Box: import("@stitches/react/types/styled-component").Style
|
|
|
85
85
|
tooltip: string;
|
|
86
86
|
tooltip2: string;
|
|
87
87
|
skeletonBg: string;
|
|
88
|
+
purpleLight: string;
|
|
89
|
+
purpleLightHover: string;
|
|
90
|
+
tealDark: string;
|
|
91
|
+
purpleDark: string;
|
|
92
|
+
grayMedium: string;
|
|
93
|
+
};
|
|
94
|
+
fonts: {
|
|
95
|
+
sans: string;
|
|
96
|
+
mono: string;
|
|
88
97
|
};
|
|
89
98
|
space: {
|
|
90
99
|
1: string;
|
|
@@ -96,6 +96,15 @@ export declare const Button: import("@stitches/react/types/styled-component").St
|
|
|
96
96
|
tooltip: string;
|
|
97
97
|
tooltip2: string;
|
|
98
98
|
skeletonBg: string;
|
|
99
|
+
purpleLight: string;
|
|
100
|
+
purpleLightHover: string;
|
|
101
|
+
tealDark: string;
|
|
102
|
+
purpleDark: string;
|
|
103
|
+
grayMedium: string;
|
|
104
|
+
};
|
|
105
|
+
fonts: {
|
|
106
|
+
sans: string;
|
|
107
|
+
mono: string;
|
|
99
108
|
};
|
|
100
109
|
space: {
|
|
101
110
|
1: string;
|
|
@@ -87,6 +87,15 @@ export declare const CheckboxRoot: import("@stitches/react/types/styled-componen
|
|
|
87
87
|
tooltip: string;
|
|
88
88
|
tooltip2: string;
|
|
89
89
|
skeletonBg: string;
|
|
90
|
+
purpleLight: string;
|
|
91
|
+
purpleLightHover: string;
|
|
92
|
+
tealDark: string;
|
|
93
|
+
purpleDark: string;
|
|
94
|
+
grayMedium: string;
|
|
95
|
+
};
|
|
96
|
+
fonts: {
|
|
97
|
+
sans: string;
|
|
98
|
+
mono: string;
|
|
90
99
|
};
|
|
91
100
|
space: {
|
|
92
101
|
1: string;
|
|
@@ -85,6 +85,15 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
85
85
|
tooltip: string;
|
|
86
86
|
tooltip2: string;
|
|
87
87
|
skeletonBg: string;
|
|
88
|
+
purpleLight: string;
|
|
89
|
+
purpleLightHover: string;
|
|
90
|
+
tealDark: string;
|
|
91
|
+
purpleDark: string;
|
|
92
|
+
grayMedium: string;
|
|
93
|
+
};
|
|
94
|
+
fonts: {
|
|
95
|
+
sans: string;
|
|
96
|
+
mono: string;
|
|
88
97
|
};
|
|
89
98
|
space: {
|
|
90
99
|
1: string;
|
|
@@ -580,6 +589,15 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
580
589
|
tooltip: string;
|
|
581
590
|
tooltip2: string;
|
|
582
591
|
skeletonBg: string;
|
|
592
|
+
purpleLight: string;
|
|
593
|
+
purpleLightHover: string;
|
|
594
|
+
tealDark: string;
|
|
595
|
+
purpleDark: string;
|
|
596
|
+
grayMedium: string;
|
|
597
|
+
};
|
|
598
|
+
fonts: {
|
|
599
|
+
sans: string;
|
|
600
|
+
mono: string;
|
|
583
601
|
};
|
|
584
602
|
space: {
|
|
585
603
|
1: string;
|
|
@@ -87,6 +87,15 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
|
|
|
87
87
|
tooltip: string;
|
|
88
88
|
tooltip2: string;
|
|
89
89
|
skeletonBg: string;
|
|
90
|
+
purpleLight: string;
|
|
91
|
+
purpleLightHover: string;
|
|
92
|
+
tealDark: string;
|
|
93
|
+
purpleDark: string;
|
|
94
|
+
grayMedium: string;
|
|
95
|
+
};
|
|
96
|
+
fonts: {
|
|
97
|
+
sans: string;
|
|
98
|
+
mono: string;
|
|
90
99
|
};
|
|
91
100
|
space: {
|
|
92
101
|
1: string;
|
|
@@ -87,6 +87,15 @@ export declare const GridRoot: import("@stitches/react/types/styled-component").
|
|
|
87
87
|
tooltip: string;
|
|
88
88
|
tooltip2: string;
|
|
89
89
|
skeletonBg: string;
|
|
90
|
+
purpleLight: string;
|
|
91
|
+
purpleLightHover: string;
|
|
92
|
+
tealDark: string;
|
|
93
|
+
purpleDark: string;
|
|
94
|
+
grayMedium: string;
|
|
95
|
+
};
|
|
96
|
+
fonts: {
|
|
97
|
+
sans: string;
|
|
98
|
+
mono: string;
|
|
90
99
|
};
|
|
91
100
|
space: {
|
|
92
101
|
1: string;
|
|
@@ -91,6 +91,15 @@ export declare const IconButton: import("@stitches/react/types/styled-component"
|
|
|
91
91
|
tooltip: string;
|
|
92
92
|
tooltip2: string;
|
|
93
93
|
skeletonBg: string;
|
|
94
|
+
purpleLight: string;
|
|
95
|
+
purpleLightHover: string;
|
|
96
|
+
tealDark: string;
|
|
97
|
+
purpleDark: string;
|
|
98
|
+
grayMedium: string;
|
|
99
|
+
};
|
|
100
|
+
fonts: {
|
|
101
|
+
sans: string;
|
|
102
|
+
mono: string;
|
|
94
103
|
};
|
|
95
104
|
space: {
|
|
96
105
|
1: string;
|
|
@@ -85,6 +85,15 @@ export declare const Image: import("@stitches/react/types/styled-component").Sty
|
|
|
85
85
|
tooltip: string;
|
|
86
86
|
tooltip2: string;
|
|
87
87
|
skeletonBg: string;
|
|
88
|
+
purpleLight: string;
|
|
89
|
+
purpleLightHover: string;
|
|
90
|
+
tealDark: string;
|
|
91
|
+
purpleDark: string;
|
|
92
|
+
grayMedium: string;
|
|
93
|
+
};
|
|
94
|
+
fonts: {
|
|
95
|
+
sans: string;
|
|
96
|
+
mono: string;
|
|
88
97
|
};
|
|
89
98
|
space: {
|
|
90
99
|
1: string;
|
|
@@ -119,6 +119,15 @@ export declare const Link: import("@stitches/react/types/styled-component").Styl
|
|
|
119
119
|
tooltip: string;
|
|
120
120
|
tooltip2: string;
|
|
121
121
|
skeletonBg: string;
|
|
122
|
+
purpleLight: string;
|
|
123
|
+
purpleLightHover: string;
|
|
124
|
+
tealDark: string;
|
|
125
|
+
purpleDark: string;
|
|
126
|
+
grayMedium: string;
|
|
127
|
+
};
|
|
128
|
+
fonts: {
|
|
129
|
+
sans: string;
|
|
130
|
+
mono: string;
|
|
122
131
|
};
|
|
123
132
|
space: {
|
|
124
133
|
1: string;
|
|
@@ -95,6 +95,15 @@ export declare const NavigationMenubarItemRightSlot: import("@stitches/react/typ
|
|
|
95
95
|
tooltip: string;
|
|
96
96
|
tooltip2: string;
|
|
97
97
|
skeletonBg: string;
|
|
98
|
+
purpleLight: string;
|
|
99
|
+
purpleLightHover: string;
|
|
100
|
+
tealDark: string;
|
|
101
|
+
purpleDark: string;
|
|
102
|
+
grayMedium: string;
|
|
103
|
+
};
|
|
104
|
+
fonts: {
|
|
105
|
+
sans: string;
|
|
106
|
+
mono: string;
|
|
98
107
|
};
|
|
99
108
|
space: {
|
|
100
109
|
1: string;
|
|
@@ -585,6 +594,15 @@ export declare const NavigationMenubarItem: import("@stitches/react/types/styled
|
|
|
585
594
|
tooltip: string;
|
|
586
595
|
tooltip2: string;
|
|
587
596
|
skeletonBg: string;
|
|
597
|
+
purpleLight: string;
|
|
598
|
+
purpleLightHover: string;
|
|
599
|
+
tealDark: string;
|
|
600
|
+
purpleDark: string;
|
|
601
|
+
grayMedium: string;
|
|
602
|
+
};
|
|
603
|
+
fonts: {
|
|
604
|
+
sans: string;
|
|
605
|
+
mono: string;
|
|
588
606
|
};
|
|
589
607
|
space: {
|
|
590
608
|
1: string;
|
|
@@ -1075,6 +1093,15 @@ export declare const NavigationMenubarContent: import("@stitches/react/types/sty
|
|
|
1075
1093
|
tooltip: string;
|
|
1076
1094
|
tooltip2: string;
|
|
1077
1095
|
skeletonBg: string;
|
|
1096
|
+
purpleLight: string;
|
|
1097
|
+
purpleLightHover: string;
|
|
1098
|
+
tealDark: string;
|
|
1099
|
+
purpleDark: string;
|
|
1100
|
+
grayMedium: string;
|
|
1101
|
+
};
|
|
1102
|
+
fonts: {
|
|
1103
|
+
sans: string;
|
|
1104
|
+
mono: string;
|
|
1078
1105
|
};
|
|
1079
1106
|
space: {
|
|
1080
1107
|
1: string;
|
|
@@ -1565,6 +1592,15 @@ export declare const NavigationMenubarTrigger: import("@stitches/react/types/sty
|
|
|
1565
1592
|
tooltip: string;
|
|
1566
1593
|
tooltip2: string;
|
|
1567
1594
|
skeletonBg: string;
|
|
1595
|
+
purpleLight: string;
|
|
1596
|
+
purpleLightHover: string;
|
|
1597
|
+
tealDark: string;
|
|
1598
|
+
purpleDark: string;
|
|
1599
|
+
grayMedium: string;
|
|
1600
|
+
};
|
|
1601
|
+
fonts: {
|
|
1602
|
+
sans: string;
|
|
1603
|
+
mono: string;
|
|
1568
1604
|
};
|
|
1569
1605
|
space: {
|
|
1570
1606
|
1: string;
|
|
@@ -2055,6 +2091,15 @@ export declare const NavigationMenubarRoot: import("@stitches/react/types/styled
|
|
|
2055
2091
|
tooltip: string;
|
|
2056
2092
|
tooltip2: string;
|
|
2057
2093
|
skeletonBg: string;
|
|
2094
|
+
purpleLight: string;
|
|
2095
|
+
purpleLightHover: string;
|
|
2096
|
+
tealDark: string;
|
|
2097
|
+
purpleDark: string;
|
|
2098
|
+
grayMedium: string;
|
|
2099
|
+
};
|
|
2100
|
+
fonts: {
|
|
2101
|
+
sans: string;
|
|
2102
|
+
mono: string;
|
|
2058
2103
|
};
|
|
2059
2104
|
space: {
|
|
2060
2105
|
1: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare type ScoreGrade = "A" | "B" | "C" | "D" | "F";
|
|
2
|
+
export interface ScoreBadgeProps {
|
|
3
|
+
/** Letter grade from charon test (A–F). Omit or pass undefined to show an empty state. */
|
|
4
|
+
score?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const ScoreBadge: ({ score }: ScoreBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -87,6 +87,15 @@ export declare const Separator: import("@stitches/react/types/styled-component")
|
|
|
87
87
|
tooltip: string;
|
|
88
88
|
tooltip2: string;
|
|
89
89
|
skeletonBg: string;
|
|
90
|
+
purpleLight: string;
|
|
91
|
+
purpleLightHover: string;
|
|
92
|
+
tealDark: string;
|
|
93
|
+
purpleDark: string;
|
|
94
|
+
grayMedium: string;
|
|
95
|
+
};
|
|
96
|
+
fonts: {
|
|
97
|
+
sans: string;
|
|
98
|
+
mono: string;
|
|
90
99
|
};
|
|
91
100
|
space: {
|
|
92
101
|
1: string;
|
|
@@ -87,6 +87,15 @@ export declare const Skeleton: import("@stitches/react/types/styled-component").
|
|
|
87
87
|
tooltip: string;
|
|
88
88
|
tooltip2: string;
|
|
89
89
|
skeletonBg: string;
|
|
90
|
+
purpleLight: string;
|
|
91
|
+
purpleLightHover: string;
|
|
92
|
+
tealDark: string;
|
|
93
|
+
purpleDark: string;
|
|
94
|
+
grayMedium: string;
|
|
95
|
+
};
|
|
96
|
+
fonts: {
|
|
97
|
+
sans: string;
|
|
98
|
+
mono: string;
|
|
90
99
|
};
|
|
91
100
|
space: {
|
|
92
101
|
1: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Stitches from "@stitches/react";
|
|
2
2
|
export declare const Spin: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
3
|
-
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | undefined;
|
|
3
|
+
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | "purpleLight" | "purpleLightHover" | "tealDark" | "purpleDark" | "grayMedium" | undefined;
|
|
4
4
|
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
5
5
|
}, {
|
|
6
6
|
motion: "(prefers-reduced-motion)";
|
|
@@ -89,6 +89,15 @@ export declare const Spin: import("@stitches/react/types/styled-component").Styl
|
|
|
89
89
|
tooltip: string;
|
|
90
90
|
tooltip2: string;
|
|
91
91
|
skeletonBg: string;
|
|
92
|
+
purpleLight: string;
|
|
93
|
+
purpleLightHover: string;
|
|
94
|
+
tealDark: string;
|
|
95
|
+
purpleDark: string;
|
|
96
|
+
grayMedium: string;
|
|
97
|
+
};
|
|
98
|
+
fonts: {
|
|
99
|
+
sans: string;
|
|
100
|
+
mono: string;
|
|
92
101
|
};
|
|
93
102
|
space: {
|
|
94
103
|
1: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
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
|
-
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | "inherit" | undefined;
|
|
5
|
-
size?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
4
|
+
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | "purpleLight" | "purpleLightHover" | "tealDark" | "purpleDark" | "grayMedium" | "inherit" | undefined;
|
|
5
|
+
size?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | undefined;
|
|
6
|
+
width?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | undefined;
|
|
7
|
+
height?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | undefined;
|
|
6
8
|
fillColor?: boolean | "true" | "false" | undefined;
|
|
7
9
|
strokeColor?: boolean | "true" | "false" | undefined;
|
|
8
10
|
transform?: "xAxis" | undefined;
|
|
@@ -93,6 +95,15 @@ export declare const SvgIcon: import("@stitches/react/types/styled-component").S
|
|
|
93
95
|
tooltip: string;
|
|
94
96
|
tooltip2: string;
|
|
95
97
|
skeletonBg: string;
|
|
98
|
+
purpleLight: string;
|
|
99
|
+
purpleLightHover: string;
|
|
100
|
+
tealDark: string;
|
|
101
|
+
purpleDark: string;
|
|
102
|
+
grayMedium: string;
|
|
103
|
+
};
|
|
104
|
+
fonts: {
|
|
105
|
+
sans: string;
|
|
106
|
+
mono: string;
|
|
96
107
|
};
|
|
97
108
|
space: {
|
|
98
109
|
1: string;
|
|
@@ -87,6 +87,15 @@ export declare const SwitchRoot: import("@stitches/react/types/styled-component"
|
|
|
87
87
|
tooltip: string;
|
|
88
88
|
tooltip2: string;
|
|
89
89
|
skeletonBg: string;
|
|
90
|
+
purpleLight: string;
|
|
91
|
+
purpleLightHover: string;
|
|
92
|
+
tealDark: string;
|
|
93
|
+
purpleDark: string;
|
|
94
|
+
grayMedium: string;
|
|
95
|
+
};
|
|
96
|
+
fonts: {
|
|
97
|
+
sans: string;
|
|
98
|
+
mono: string;
|
|
90
99
|
};
|
|
91
100
|
space: {
|
|
92
101
|
1: string;
|
|
@@ -577,6 +586,15 @@ export declare const SwitchThumb: import("@stitches/react/types/styled-component
|
|
|
577
586
|
tooltip: string;
|
|
578
587
|
tooltip2: string;
|
|
579
588
|
skeletonBg: string;
|
|
589
|
+
purpleLight: string;
|
|
590
|
+
purpleLightHover: string;
|
|
591
|
+
tealDark: string;
|
|
592
|
+
purpleDark: string;
|
|
593
|
+
grayMedium: string;
|
|
594
|
+
};
|
|
595
|
+
fonts: {
|
|
596
|
+
sans: string;
|
|
597
|
+
mono: string;
|
|
580
598
|
};
|
|
581
599
|
space: {
|
|
582
600
|
1: string;
|
|
@@ -3,7 +3,7 @@ import type * as Stitches from "@stitches/react";
|
|
|
3
3
|
export declare const Text: import("@stitches/react/types/styled-component").StyledComponent<"span", {
|
|
4
4
|
variant?: "body" | "pill" | "h1" | "h2" | "h3" | "h4" | "h5" | "metadata" | "subline" | "ens" | "metricStatusCell" | "helper" | undefined;
|
|
5
5
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
|
|
6
|
-
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | undefined;
|
|
6
|
+
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | "purpleLight" | "purpleLightHover" | "tealDark" | "purpleDark" | "grayMedium" | undefined;
|
|
7
7
|
glow?: boolean | "true" | undefined;
|
|
8
8
|
inline?: boolean | "true" | undefined;
|
|
9
9
|
}, {
|
|
@@ -93,6 +93,15 @@ export declare const Text: import("@stitches/react/types/styled-component").Styl
|
|
|
93
93
|
tooltip: string;
|
|
94
94
|
tooltip2: string;
|
|
95
95
|
skeletonBg: string;
|
|
96
|
+
purpleLight: string;
|
|
97
|
+
purpleLightHover: string;
|
|
98
|
+
tealDark: string;
|
|
99
|
+
purpleDark: string;
|
|
100
|
+
grayMedium: string;
|
|
101
|
+
};
|
|
102
|
+
fonts: {
|
|
103
|
+
sans: string;
|
|
104
|
+
mono: string;
|
|
96
105
|
};
|
|
97
106
|
space: {
|
|
98
107
|
1: string;
|
|
@@ -500,7 +509,7 @@ export default Text;
|
|
|
500
509
|
export declare const TextStory: (props: Omit<import("@stitches/react/types/styled-component").TransformProps<{
|
|
501
510
|
variant?: "body" | "pill" | "h1" | "h2" | "h3" | "h4" | "h5" | "metadata" | "subline" | "ens" | "metricStatusCell" | "helper" | undefined;
|
|
502
511
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
|
|
503
|
-
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | undefined;
|
|
512
|
+
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | "purpleLight" | "purpleLightHover" | "tealDark" | "purpleDark" | "grayMedium" | undefined;
|
|
504
513
|
glow?: boolean | "true" | undefined;
|
|
505
514
|
inline?: boolean | "true" | undefined;
|
|
506
515
|
}, {
|
|
@@ -518,7 +527,7 @@ export declare const TextStory: (props: Omit<import("@stitches/react/types/style
|
|
|
518
527
|
}>, "color" | "size" | "inline" | "variant" | "glow"> & {
|
|
519
528
|
variant?: "body" | "pill" | "h1" | "h2" | "h3" | "h4" | "h5" | "metadata" | "subline" | "ens" | "metricStatusCell" | "helper" | undefined;
|
|
520
529
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
|
|
521
|
-
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | undefined;
|
|
530
|
+
color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "gradientGold" | "gradientSilver" | "gradientBronze" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "obolGold" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | "skeletonBg" | "purpleLight" | "purpleLightHover" | "tealDark" | "purpleDark" | "grayMedium" | undefined;
|
|
522
531
|
glow?: boolean | undefined;
|
|
523
532
|
inline?: boolean | undefined;
|
|
524
533
|
} & {
|