@mezo-org/mezo-clay 0.1.0-dev.0
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 +104 -0
- package/dist/components/block/index.d.ts +1 -0
- package/dist/components/button/button.d.ts +3 -0
- package/dist/components/button/constants.d.ts +11 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/overrides.d.ts +2 -0
- package/dist/components/button/types.d.ts +9 -0
- package/dist/components/button-group/button-group.d.ts +3 -0
- package/dist/components/button-group/constants.d.ts +5 -0
- package/dist/components/button-group/index.d.ts +3 -0
- package/dist/components/button-group/types.d.ts +13 -0
- package/dist/components/button-icon/button-icon.d.ts +2 -0
- package/dist/components/button-icon/constants.d.ts +13 -0
- package/dist/components/button-icon/index.d.ts +4 -0
- package/dist/components/button-icon/overrides.d.ts +5 -0
- package/dist/components/button-icon/types.d.ts +7 -0
- package/dist/components/flex-grid/index.d.ts +2 -0
- package/dist/components/form-control/constants.d.ts +1 -0
- package/dist/components/form-control/form-control-character-count.d.ts +5 -0
- package/dist/components/form-control/form-control.d.ts +2 -0
- package/dist/components/form-control/index.d.ts +5 -0
- package/dist/components/form-control/overrides.d.ts +6 -0
- package/dist/components/form-control/types.d.ts +8 -0
- package/dist/components/icons/alert-circle/index.d.ts +9 -0
- package/dist/components/icons/apple/index.d.ts +9 -0
- package/dist/components/icons/arrow-narrow-left/index.d.ts +9 -0
- package/dist/components/icons/arrow-narrow-right/index.d.ts +9 -0
- package/dist/components/icons/building/index.d.ts +8 -0
- package/dist/components/icons/check-circle/index.d.ts +9 -0
- package/dist/components/icons/check-square/index.d.ts +9 -0
- package/dist/components/icons/chevron-down/index.d.ts +9 -0
- package/dist/components/icons/chevron-left/index.d.ts +9 -0
- package/dist/components/icons/chevron-right/index.d.ts +9 -0
- package/dist/components/icons/chevron-selector-horizontal/index.d.ts +9 -0
- package/dist/components/icons/chevron-selector-vertical/index.d.ts +9 -0
- package/dist/components/icons/chevron-up/index.d.ts +9 -0
- package/dist/components/icons/close/index.d.ts +9 -0
- package/dist/components/icons/coins-hand/index.d.ts +9 -0
- package/dist/components/icons/cube/index.d.ts +8 -0
- package/dist/components/icons/discord/index.d.ts +9 -0
- package/dist/components/icons/eye/index.d.ts +9 -0
- package/dist/components/icons/eye-off/index.d.ts +9 -0
- package/dist/components/icons/google/index.d.ts +9 -0
- package/dist/components/icons/heart/index.d.ts +9 -0
- package/dist/components/icons/home-smile/index.d.ts +8 -0
- package/dist/components/icons/index.d.ts +42 -0
- package/dist/components/icons/info-circle/index.d.ts +9 -0
- package/dist/components/icons/lightning/index.d.ts +8 -0
- package/dist/components/icons/link-external/index.d.ts +8 -0
- package/dist/components/icons/loading/index.d.ts +9 -0
- package/dist/components/icons/log-in/index.d.ts +8 -0
- package/dist/components/icons/mats-circle/index.d.ts +9 -0
- package/dist/components/icons/menu/index.d.ts +9 -0
- package/dist/components/icons/minus-circle/index.d.ts +9 -0
- package/dist/components/icons/minus-square/index.d.ts +9 -0
- package/dist/components/icons/plus-circle/index.d.ts +9 -0
- package/dist/components/icons/receipt/index.d.ts +8 -0
- package/dist/components/icons/search/index.d.ts +23 -0
- package/dist/components/icons/square/index.d.ts +9 -0
- package/dist/components/icons/star/index.d.ts +29 -0
- package/dist/components/icons/trophy/index.d.ts +8 -0
- package/dist/components/icons/user/index.d.ts +9 -0
- package/dist/components/icons/utils.d.ts +46 -0
- package/dist/components/icons/wallet/index.d.ts +9 -0
- package/dist/components/icons/x-circle/index.d.ts +9 -0
- package/dist/components/icons/x-twitter/index.d.ts +9 -0
- package/dist/components/index.d.ts +12 -0
- package/dist/components/input/constants.d.ts +5 -0
- package/dist/components/input/index.d.ts +6 -0
- package/dist/components/input/input.d.ts +4 -0
- package/dist/components/input/overrides.d.ts +23 -0
- package/dist/components/input/password-input.d.ts +2 -0
- package/dist/components/input/search-input.d.ts +2 -0
- package/dist/components/input/types.d.ts +12 -0
- package/dist/components/side-navigation/index.d.ts +3 -0
- package/dist/components/side-navigation/overrides.d.ts +3 -0
- package/dist/components/side-navigation/side-navigation.d.ts +5 -0
- package/dist/components/tag/constants.d.ts +73 -0
- package/dist/components/tag/index.d.ts +4 -0
- package/dist/components/tag/overrides.d.ts +11 -0
- package/dist/components/tag/tag.d.ts +22 -0
- package/dist/components/tag/types.d.ts +6 -0
- package/dist/components/textarea/constants.d.ts +1 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/overrides.d.ts +4 -0
- package/dist/components/textarea/textarea.d.ts +2 -0
- package/dist/components/textarea/types.d.ts +8 -0
- package/dist/components/typography/index.d.ts +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +4 -0
- package/dist/mezo-clay.css +1 -0
- package/dist/mezo-clay.es.js +19315 -0
- package/dist/mezo-clay.umd.js +241 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/themes/borders.d.ts +8 -0
- package/dist/themes/clay-dark-theme.d.ts +335 -0
- package/dist/themes/clay-light-theme.d.ts +334 -0
- package/dist/themes/color-tokens.d.ts +64 -0
- package/dist/themes/index.d.ts +6 -0
- package/dist/themes/typography.d.ts +219 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +69 -0
package/README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Mezo Clay
|
|
2
|
+
|
|
3
|
+
Mezo Clay is Mezo's UI component library.
|
|
4
|
+
|
|
5
|
+
## Development
|
|
6
|
+
|
|
7
|
+
### Installation
|
|
8
|
+
|
|
9
|
+
This project uses [pnpm](https://pnpm.io/installation) for package management.
|
|
10
|
+
|
|
11
|
+
To install dependencies run:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
pnpm install
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Run the development server
|
|
18
|
+
|
|
19
|
+
This project uses [Storybook](https://storybook.js.org/) to view, develop and test UI components in isolation.
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pnpm run dev
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Open [http://localhost:6006/](http://localhost:6006/) to view it in the browser.
|
|
26
|
+
|
|
27
|
+
### Linting
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
pnpm run format
|
|
31
|
+
```
|
|
32
|
+
This will lint both config files and ts/tsx/js/jsx files. See the `package.json` for specific linting commands.
|
|
33
|
+
|
|
34
|
+
#### Pre-commit
|
|
35
|
+
|
|
36
|
+
The project includes a [pre-commit](https://pre-commit.com/) hook to automate linting when you commit. Please refer to the [docs](https://pre-commit.com/#install) to install.
|
|
37
|
+
|
|
38
|
+
### Testing
|
|
39
|
+
|
|
40
|
+
Storybook automatically runs component tests for each story (if written as a [play function](https://storybook.js.org/docs/writing-stories/play-function)) and are visible in the UI under the "Component Tests" tab. We've set up the [test-addon](https://storybook.js.org/docs/writing-tests/test-addon) to use Vitest as the test runner. You can also run all tests in the terminal:
|
|
41
|
+
|
|
42
|
+
```shell
|
|
43
|
+
pnpm run test
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Build
|
|
47
|
+
|
|
48
|
+
#### Build storybook
|
|
49
|
+
|
|
50
|
+
```shell
|
|
51
|
+
pnpm run build
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The storybook build will be generated as the /storybook-static directory.
|
|
55
|
+
|
|
56
|
+
#### Build the library
|
|
57
|
+
|
|
58
|
+
```shell
|
|
59
|
+
pnpm run build:lib
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The library is output as the /dist directory.
|
|
63
|
+
|
|
64
|
+
## Using Clay
|
|
65
|
+
|
|
66
|
+
### Install
|
|
67
|
+
|
|
68
|
+
// TODO instructions for installing mezo-clay package
|
|
69
|
+
|
|
70
|
+
Clay (and Base) uses [Styletron](https://www.styletron.org/) for its component styling (as css in js), and requires its engine as a peer dependency, so you will need to install it as well.
|
|
71
|
+
|
|
72
|
+
```shell
|
|
73
|
+
pnpm add styletron-engine-monolithic
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Adding Clay to your React app
|
|
77
|
+
|
|
78
|
+
Wrap the root of your app with `StyletronProvider` and `BaseProvider` components, like so:
|
|
79
|
+
|
|
80
|
+
```js
|
|
81
|
+
import { StrictMode } from "react"
|
|
82
|
+
import { createRoot } from "react-dom/client"
|
|
83
|
+
import { Client as Styletron } from "styletron-engine-monolithic"
|
|
84
|
+
import { BaseProvider, ClayLightTheme, StyletronProvider } from "mezo-clay"
|
|
85
|
+
|
|
86
|
+
import "mezo-clay/dist/mezo-clay.css" // Font styles
|
|
87
|
+
|
|
88
|
+
import App from "./App.tsx"
|
|
89
|
+
|
|
90
|
+
const engine = new Styletron()
|
|
91
|
+
|
|
92
|
+
createRoot(document.getElementById('root')!).render(
|
|
93
|
+
<StrictMode>
|
|
94
|
+
<StyletronProvider value={engine}>
|
|
95
|
+
<BaseProvider theme={ClayLightTheme}>
|
|
96
|
+
<App />
|
|
97
|
+
</BaseProvider>
|
|
98
|
+
</StyletronProvider>
|
|
99
|
+
</StrictMode>
|
|
100
|
+
,
|
|
101
|
+
)
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Import the `mezo-clay/dist/mezo-clay.css` to ensure that the proper fonts are included.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BlockProps } from 'baseui/block';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ButtonProps } from './types';
|
|
2
|
+
export declare function getBaseButtonSize(size: any): any;
|
|
3
|
+
export default function Button({ $as, children, colors, disabled, endEnhancer, href, isLoading, isSelected, kind, onClick, overrides, shape, size, startEnhancer, target, type, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonProps as BaseButtonProps } from 'baseui/button';
|
|
3
|
+
import { SIZE, SHAPE } from './constants';
|
|
4
|
+
export interface ButtonProps extends Omit<Omit<BaseButtonProps, "size">, "shape"> {
|
|
5
|
+
size?: keyof typeof SIZE;
|
|
6
|
+
shape?: keyof typeof SHAPE;
|
|
7
|
+
$as?: React.ElementType;
|
|
8
|
+
}
|
|
9
|
+
export type { ButtonOverrides, CustomColors, SharedStyleProps, } from 'baseui/button';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ButtonGroupProps, StatefulButtonGroupProps } from './types';
|
|
2
|
+
export default function ButtonGroup({ ariaLabel, children, disabled, mode, onClick, overrides, selected, shape, size, }: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function StatefulButtonGroup({ ariaLabel, children, disabled, initialState, mode, onClick, overrides, shape, size, stateReducer, }: StatefulButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ButtonGroupProps as BaseButtonGroupProps, StateReducer } from 'baseui/button-group';
|
|
2
|
+
import { BUTTON_SHAPE } from '../button';
|
|
3
|
+
import { SIZE } from './constants';
|
|
4
|
+
export interface ButtonGroupProps extends Omit<Omit<BaseButtonGroupProps, "size">, "shape"> {
|
|
5
|
+
size?: keyof typeof SIZE;
|
|
6
|
+
shape?: keyof typeof BUTTON_SHAPE;
|
|
7
|
+
}
|
|
8
|
+
export interface StatefulButtonGroupProps extends Omit<ButtonGroupProps, "selected"> {
|
|
9
|
+
initialState?: {
|
|
10
|
+
selected: number | Array<number>;
|
|
11
|
+
};
|
|
12
|
+
stateReducer?: StateReducer;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const KIND: {
|
|
2
|
+
secondary: "secondary";
|
|
3
|
+
tertiary: "tertiary";
|
|
4
|
+
};
|
|
5
|
+
export declare const SIZE: {
|
|
6
|
+
small: "compact";
|
|
7
|
+
medium: "default";
|
|
8
|
+
large: "large";
|
|
9
|
+
};
|
|
10
|
+
export declare const SHAPE: {
|
|
11
|
+
square: "square";
|
|
12
|
+
circle: "circle";
|
|
13
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonIconProps } from './types';
|
|
3
|
+
export declare function getIconSize(size: ButtonIconProps["size"]): "16px" | "24px" | "20px";
|
|
4
|
+
export declare function formatButtonLabel(label: ReactNode): string | number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode>;
|
|
5
|
+
export declare function getButtonIconOverrides({ overrides, shape }: ButtonIconProps): import('baseui/helpers/overrides').Overrides<any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ButtonProps } from '../button';
|
|
2
|
+
import { KIND, SHAPE, SIZE } from './constants';
|
|
3
|
+
export interface ButtonIconProps extends Omit<Omit<Omit<Omit<Omit<ButtonProps, "kind">, "size">, "shape">, "startEnhancer">, "endEnhancer"> {
|
|
4
|
+
kind?: keyof typeof KIND;
|
|
5
|
+
size?: keyof typeof SIZE;
|
|
6
|
+
shape?: keyof typeof SHAPE;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SIZE } from '../input/constants';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as FormControl } from './form-control';
|
|
2
|
+
export { default as FormControlCharacterCount } from './form-control-character-count';
|
|
3
|
+
export { SIZE as FORM_CONTROL_SIZE } from './constants';
|
|
4
|
+
export type { FormControlProps } from './types';
|
|
5
|
+
export type { StyleProps } from 'baseui/form-control';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormControlProps as BaseFormControlProps } from 'baseui/form-control';
|
|
2
|
+
import { SIZE } from './constants';
|
|
3
|
+
export interface FormControlProps extends BaseFormControlProps {
|
|
4
|
+
size?: keyof typeof SIZE;
|
|
5
|
+
minLength?: number;
|
|
6
|
+
maxLength?: number;
|
|
7
|
+
value?: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const AlertCircle: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default AlertCircle;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const Apple: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Apple;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ArrowNarrowLeft: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ArrowNarrowLeft;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ArrowNarrowRight: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ArrowNarrowRight;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Building02: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const CheckCircle: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default CheckCircle;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const CheckSquare: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default CheckSquare;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ChevronDown: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ChevronDown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ChevronLeft: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ChevronLeft;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ChevronRight: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ChevronRight;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ChevronSelectorHorizontal: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ChevronSelectorHorizontal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ChevronSelectorVertical: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ChevronSelectorVertical;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ChevronUp: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default ChevronUp;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Close: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Close;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const CoinsHand: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default CoinsHand;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Cube01: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const Discord: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Discord;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Eye: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Eye;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const EyeOff: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default EyeOff;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const Google: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Google;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Heart: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Heart;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const HomeSmile: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export { Icon } from 'baseui/icon';
|
|
2
|
+
export type { IconProps } from 'baseui/icon';
|
|
3
|
+
export { default as AlertCircle } from './alert-circle';
|
|
4
|
+
export { default as Apple } from './apple';
|
|
5
|
+
export { default as ArrowNarrowLeft } from './arrow-narrow-left';
|
|
6
|
+
export { default as ArrowNarrowRight } from './arrow-narrow-right';
|
|
7
|
+
export { Building02 } from './building';
|
|
8
|
+
export { default as CheckCircle } from './check-circle';
|
|
9
|
+
export { default as ChevronDown } from './chevron-down';
|
|
10
|
+
export { default as ChevronLeft } from './chevron-left';
|
|
11
|
+
export { default as ChevronRight } from './chevron-right';
|
|
12
|
+
export { default as ChevronSelectorHorizontal } from './chevron-selector-horizontal';
|
|
13
|
+
export { default as ChevronSelectorVertical } from './chevron-selector-vertical';
|
|
14
|
+
export { default as ChevronUp } from './chevron-up';
|
|
15
|
+
export { default as Close } from './close';
|
|
16
|
+
export { default as CoinsHand } from './coins-hand';
|
|
17
|
+
export { Cube01 } from './cube';
|
|
18
|
+
export { default as Discord } from './discord';
|
|
19
|
+
export { default as Eye } from './eye';
|
|
20
|
+
export { default as EyeOff } from './eye-off';
|
|
21
|
+
export { default as Google } from './google';
|
|
22
|
+
export { default as Heart } from './heart';
|
|
23
|
+
export { HomeSmile } from './home-smile';
|
|
24
|
+
export { default as InfoCircle } from './info-circle';
|
|
25
|
+
export { Lightning01 } from './lightning';
|
|
26
|
+
export { LinkExternal02 } from './link-external';
|
|
27
|
+
export { default as Loading } from './loading';
|
|
28
|
+
export { LogIn01 } from './log-in';
|
|
29
|
+
export { default as MatsCircle } from './mats-circle';
|
|
30
|
+
export { default as Menu } from './menu';
|
|
31
|
+
export { default as MinusCircle } from './minus-circle';
|
|
32
|
+
export { default as MinusSquare } from './minus-square';
|
|
33
|
+
export { default as PlusCircle } from './plus-circle';
|
|
34
|
+
export { ReceiptCheck } from './receipt';
|
|
35
|
+
export { SearchSmall, SearchMedium, SearchLarge } from './search';
|
|
36
|
+
export { default as Square } from './square';
|
|
37
|
+
export { Star01, Star01Outline, Star05, Star05Outline } from './star';
|
|
38
|
+
export { Trophy01 } from './trophy';
|
|
39
|
+
export { default as User03 } from './user';
|
|
40
|
+
export { default as Wallet } from './wallet';
|
|
41
|
+
export { default as XCircle } from './x-circle';
|
|
42
|
+
export { default as XTwitter } from './x-twitter';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const InfoCircle: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default InfoCircle;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Lightning01: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const LinkExternal02: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Loading: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Loading;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const LogIn01: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const MatsCircle: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default MatsCircle;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Menu: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default Menu;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const MinusCircle: React.ForwardRefExoticComponent<React.SVGAttributes<SVGElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
size?: import('baseui/icon').Size;
|
|
5
|
+
color?: import('baseui/icon').Color;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
overrides?: import('baseui/icon').IconOverrides;
|
|
8
|
+
} & import('baseui/icon').StyledComponentArgs & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export default MinusCircle;
|