@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
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const mezoOffRed = "#FF004D";
|
|
2
|
+
export declare const primitiveColors: {
|
|
3
|
+
gray300: string;
|
|
4
|
+
yellow300: string;
|
|
5
|
+
yellow400: string;
|
|
6
|
+
yellow500: string;
|
|
7
|
+
yellow600: string;
|
|
8
|
+
yellow700: string;
|
|
9
|
+
lime300: string;
|
|
10
|
+
lime400: string;
|
|
11
|
+
lime500: string;
|
|
12
|
+
lime600: string;
|
|
13
|
+
lime700: string;
|
|
14
|
+
purple300: string;
|
|
15
|
+
purple400: string;
|
|
16
|
+
purple500: string;
|
|
17
|
+
purple600: string;
|
|
18
|
+
purple700: string;
|
|
19
|
+
blue300: string;
|
|
20
|
+
blue400: string;
|
|
21
|
+
blue500: string;
|
|
22
|
+
blue600: string;
|
|
23
|
+
blue700: string;
|
|
24
|
+
brown300: string;
|
|
25
|
+
brown400: string;
|
|
26
|
+
brown500: string;
|
|
27
|
+
brown600: string;
|
|
28
|
+
brown700: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const coreColors: {
|
|
31
|
+
accent: string;
|
|
32
|
+
negative: string;
|
|
33
|
+
warning: string;
|
|
34
|
+
positive: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const semanticExtensionColors: {
|
|
37
|
+
backgroundStateDisabled: string;
|
|
38
|
+
backgroundOverlayDark: string;
|
|
39
|
+
backgroundOverlayElevation: string;
|
|
40
|
+
backgroundAccent: string;
|
|
41
|
+
backgroundNegative: string;
|
|
42
|
+
backgroundWarning: string;
|
|
43
|
+
backgroundPositive: string;
|
|
44
|
+
backgroundAccentLight: string;
|
|
45
|
+
backgroundNegativeLight: string;
|
|
46
|
+
backgroundWarningLight: string;
|
|
47
|
+
backgroundPositiveLight: string;
|
|
48
|
+
backgroundAlwaysDark: string;
|
|
49
|
+
backgroundAlwaysLight: string;
|
|
50
|
+
contentAccent: string;
|
|
51
|
+
contentNegative: string;
|
|
52
|
+
contentWarning: string;
|
|
53
|
+
contentPositive: string;
|
|
54
|
+
borderAccent: string;
|
|
55
|
+
borderAccentLight: string;
|
|
56
|
+
borderNegative: string;
|
|
57
|
+
borderWarning: string;
|
|
58
|
+
};
|
|
59
|
+
export declare const sharedComponentColors: {
|
|
60
|
+
buttonPrimarySpinnerForeground: string;
|
|
61
|
+
buttonSecondarySpinnerForeground: string;
|
|
62
|
+
buttonTertiarySpinnerForeground: string;
|
|
63
|
+
buttonDisabledSpinnerForeground: string;
|
|
64
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { BaseProvider, ThemeProvider } from 'baseui';
|
|
2
|
+
export { Provider as StyletronProvider } from 'styletron-react';
|
|
3
|
+
export { default as borders } from './borders';
|
|
4
|
+
export { default as typography } from './typography';
|
|
5
|
+
export { default as ClayLightTheme } from './clay-light-theme';
|
|
6
|
+
export { default as ClayDarkTheme } from './clay-dark-theme';
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
declare const typography: {
|
|
2
|
+
DisplayLarge: {
|
|
3
|
+
fontSize: string;
|
|
4
|
+
lineHeight: string;
|
|
5
|
+
fontFamily: string;
|
|
6
|
+
fontWeight: number;
|
|
7
|
+
};
|
|
8
|
+
DisplayMedium: {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
fontWeight: number;
|
|
13
|
+
};
|
|
14
|
+
DisplaySmall: {
|
|
15
|
+
fontSize: string;
|
|
16
|
+
lineHeight: string;
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
fontWeight: number;
|
|
19
|
+
};
|
|
20
|
+
DisplayXSmall: {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
lineHeight: string;
|
|
23
|
+
fontFamily: string;
|
|
24
|
+
fontWeight: number;
|
|
25
|
+
};
|
|
26
|
+
HeadingXXLarge: {
|
|
27
|
+
fontSize: string;
|
|
28
|
+
lineHeight: string;
|
|
29
|
+
fontFamily: string;
|
|
30
|
+
fontWeight: number;
|
|
31
|
+
};
|
|
32
|
+
HeadingXLarge: {
|
|
33
|
+
fontSize: string;
|
|
34
|
+
lineHeight: string;
|
|
35
|
+
fontFamily: string;
|
|
36
|
+
fontWeight: number;
|
|
37
|
+
};
|
|
38
|
+
HeadingLarge: {
|
|
39
|
+
fontSize: string;
|
|
40
|
+
lineHeight: string;
|
|
41
|
+
fontFamily: string;
|
|
42
|
+
fontWeight: number;
|
|
43
|
+
};
|
|
44
|
+
HeadingMedium: {
|
|
45
|
+
fontSize: string;
|
|
46
|
+
lineHeight: string;
|
|
47
|
+
fontFamily: string;
|
|
48
|
+
fontWeight: number;
|
|
49
|
+
};
|
|
50
|
+
HeadingSmall: {
|
|
51
|
+
fontSize: string;
|
|
52
|
+
lineHeight: string;
|
|
53
|
+
fontFamily: string;
|
|
54
|
+
fontWeight: number;
|
|
55
|
+
};
|
|
56
|
+
HeadingXSmall: {
|
|
57
|
+
fontSize: string;
|
|
58
|
+
lineHeight: string;
|
|
59
|
+
fontFamily: string;
|
|
60
|
+
fontWeight: number;
|
|
61
|
+
};
|
|
62
|
+
LabelLarge: {
|
|
63
|
+
fontSize: string;
|
|
64
|
+
lineHeight: string;
|
|
65
|
+
fontFamily: string;
|
|
66
|
+
fontWeight: number;
|
|
67
|
+
};
|
|
68
|
+
LabelMedium: {
|
|
69
|
+
fontSize: string;
|
|
70
|
+
lineHeight: string;
|
|
71
|
+
fontFamily: string;
|
|
72
|
+
fontWeight: number;
|
|
73
|
+
};
|
|
74
|
+
LabelSmall: {
|
|
75
|
+
fontSize: string;
|
|
76
|
+
lineHeight: string;
|
|
77
|
+
fontFamily: string;
|
|
78
|
+
fontWeight: number;
|
|
79
|
+
};
|
|
80
|
+
LabelXSmall: {
|
|
81
|
+
fontSize: string;
|
|
82
|
+
lineHeight: string;
|
|
83
|
+
fontFamily: string;
|
|
84
|
+
fontWeight: number;
|
|
85
|
+
};
|
|
86
|
+
ParagraphLarge: {
|
|
87
|
+
fontSize: string;
|
|
88
|
+
lineHeight: string;
|
|
89
|
+
fontFamily: string;
|
|
90
|
+
fontWeight: number;
|
|
91
|
+
};
|
|
92
|
+
ParagraphMedium: {
|
|
93
|
+
fontSize: string;
|
|
94
|
+
lineHeight: string;
|
|
95
|
+
fontFamily: string;
|
|
96
|
+
fontWeight: number;
|
|
97
|
+
};
|
|
98
|
+
ParagraphSmall: {
|
|
99
|
+
fontSize: string;
|
|
100
|
+
lineHeight: string;
|
|
101
|
+
fontFamily: string;
|
|
102
|
+
fontWeight: number;
|
|
103
|
+
};
|
|
104
|
+
ParagraphXSmall: {
|
|
105
|
+
fontSize: string;
|
|
106
|
+
lineHeight: string;
|
|
107
|
+
fontFamily: string;
|
|
108
|
+
fontWeight: number;
|
|
109
|
+
};
|
|
110
|
+
MonoDisplayLarge: {
|
|
111
|
+
fontFamily: string;
|
|
112
|
+
fontWeight: number;
|
|
113
|
+
fontSize: string;
|
|
114
|
+
lineHeight: string;
|
|
115
|
+
};
|
|
116
|
+
MonoDisplayMedium: {
|
|
117
|
+
fontFamily: string;
|
|
118
|
+
fontWeight: number;
|
|
119
|
+
fontSize: string;
|
|
120
|
+
lineHeight: string;
|
|
121
|
+
};
|
|
122
|
+
MonoDisplaySmall: {
|
|
123
|
+
fontFamily: string;
|
|
124
|
+
fontWeight: number;
|
|
125
|
+
fontSize: string;
|
|
126
|
+
lineHeight: string;
|
|
127
|
+
};
|
|
128
|
+
MonoDisplayXSmall: {
|
|
129
|
+
fontFamily: string;
|
|
130
|
+
fontWeight: number;
|
|
131
|
+
fontSize: string;
|
|
132
|
+
lineHeight: string;
|
|
133
|
+
};
|
|
134
|
+
MonoHeadingXXLarge: {
|
|
135
|
+
fontFamily: string;
|
|
136
|
+
fontWeight: number;
|
|
137
|
+
fontSize: string;
|
|
138
|
+
lineHeight: string;
|
|
139
|
+
};
|
|
140
|
+
MonoHeadingXLarge: {
|
|
141
|
+
fontFamily: string;
|
|
142
|
+
fontWeight: number;
|
|
143
|
+
fontSize: string;
|
|
144
|
+
lineHeight: string;
|
|
145
|
+
};
|
|
146
|
+
MonoHeadingLarge: {
|
|
147
|
+
fontFamily: string;
|
|
148
|
+
fontWeight: number;
|
|
149
|
+
fontSize: string;
|
|
150
|
+
lineHeight: string;
|
|
151
|
+
};
|
|
152
|
+
MonoHeadingMedium: {
|
|
153
|
+
fontFamily: string;
|
|
154
|
+
fontWeight: number;
|
|
155
|
+
fontSize: string;
|
|
156
|
+
lineHeight: string;
|
|
157
|
+
};
|
|
158
|
+
MonoHeadingSmall: {
|
|
159
|
+
fontFamily: string;
|
|
160
|
+
fontWeight: number;
|
|
161
|
+
fontSize: string;
|
|
162
|
+
lineHeight: string;
|
|
163
|
+
};
|
|
164
|
+
MonoHeadingXSmall: {
|
|
165
|
+
fontFamily: string;
|
|
166
|
+
fontWeight: number;
|
|
167
|
+
fontSize: string;
|
|
168
|
+
lineHeight: string;
|
|
169
|
+
};
|
|
170
|
+
MonoLabelLarge: {
|
|
171
|
+
fontFamily: string;
|
|
172
|
+
fontWeight: number;
|
|
173
|
+
fontSize: string;
|
|
174
|
+
lineHeight: string;
|
|
175
|
+
};
|
|
176
|
+
MonoLabelMedium: {
|
|
177
|
+
fontFamily: string;
|
|
178
|
+
fontWeight: number;
|
|
179
|
+
fontSize: string;
|
|
180
|
+
lineHeight: string;
|
|
181
|
+
};
|
|
182
|
+
MonoLabelSmall: {
|
|
183
|
+
fontFamily: string;
|
|
184
|
+
fontWeight: number;
|
|
185
|
+
fontSize: string;
|
|
186
|
+
lineHeight: string;
|
|
187
|
+
};
|
|
188
|
+
MonoLabelXSmall: {
|
|
189
|
+
fontFamily: string;
|
|
190
|
+
fontWeight: number;
|
|
191
|
+
fontSize: string;
|
|
192
|
+
lineHeight: string;
|
|
193
|
+
};
|
|
194
|
+
MonoParagraphLarge: {
|
|
195
|
+
fontFamily: string;
|
|
196
|
+
fontWeight: number;
|
|
197
|
+
fontSize: string;
|
|
198
|
+
lineHeight: string;
|
|
199
|
+
};
|
|
200
|
+
MonoParagraphMedium: {
|
|
201
|
+
fontFamily: string;
|
|
202
|
+
fontWeight: number;
|
|
203
|
+
fontSize: string;
|
|
204
|
+
lineHeight: string;
|
|
205
|
+
};
|
|
206
|
+
MonoParagraphSmall: {
|
|
207
|
+
fontFamily: string;
|
|
208
|
+
fontWeight: number;
|
|
209
|
+
fontSize: string;
|
|
210
|
+
lineHeight: string;
|
|
211
|
+
};
|
|
212
|
+
MonoParagraphXSmall: {
|
|
213
|
+
fontFamily: string;
|
|
214
|
+
fontWeight: number;
|
|
215
|
+
fontSize: string;
|
|
216
|
+
lineHeight: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export default typography;
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mezo-org/mezo-clay",
|
|
3
|
+
"version": "0.1.0-dev.0",
|
|
4
|
+
"repository": "git@github.com:mezo-org/clay.git",
|
|
5
|
+
"main": "./dist/mezo-clay.umd.js",
|
|
6
|
+
"module": "./dist/mezo-clay.es.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"prettier": "@thesis/prettier-config",
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@storybook/blocks": "^8.4.7",
|
|
14
|
+
"@storybook/experimental-addon-test": "^8.4.7",
|
|
15
|
+
"@storybook/preview-api": "^8.4.7",
|
|
16
|
+
"@storybook/react": "^8.4.7",
|
|
17
|
+
"@storybook/test": "^8.4.7",
|
|
18
|
+
"@storybook/theming": "^8.4.7",
|
|
19
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
20
|
+
"baseui": "0.0.0-next-18f01efe0",
|
|
21
|
+
"storybook-dark-mode": "^4.0.2",
|
|
22
|
+
"styletron-react": "^6.1.1",
|
|
23
|
+
"vite": "^6.0.3",
|
|
24
|
+
"vite-plugin-dts": "^4.3.0",
|
|
25
|
+
"vitest": "^2.1.8"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
29
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
30
|
+
"@storybook/react-vite": "^8.4.7",
|
|
31
|
+
"@thesis-co/eslint-config": "^0.6.1",
|
|
32
|
+
"@thesis/prettier-config": "github:thesis/prettier-config",
|
|
33
|
+
"@types/node": "^22.10.2",
|
|
34
|
+
"@types/react": "^18.3.1",
|
|
35
|
+
"@types/react-dom": "18.3.1",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
37
|
+
"@typescript-eslint/parser": "^7.5.0",
|
|
38
|
+
"@vitest/browser": "^2.1.8",
|
|
39
|
+
"eslint": "^8.57.0",
|
|
40
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
41
|
+
"eslint-plugin-baseui": "^13.0.0",
|
|
42
|
+
"eslint-plugin-storybook": "^0.11.1",
|
|
43
|
+
"playwright": "^1.49.1",
|
|
44
|
+
"prettier": "^3.4.2",
|
|
45
|
+
"storybook": "^8.4.7",
|
|
46
|
+
"typescript": "5.5.4",
|
|
47
|
+
"wrangler": "^3.96.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"react": "^18.3.1",
|
|
51
|
+
"react-dom": "^18.3.1",
|
|
52
|
+
"styletron-engine-monolithic": "^1.0.0"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"dev": "pnpm run storybook",
|
|
56
|
+
"build": "pnpm run build-storybook",
|
|
57
|
+
"build:lib": "tsc && vite build",
|
|
58
|
+
"lint:config": "prettier -c '**/*.@(json|yaml|toml)'",
|
|
59
|
+
"lint:config:fix": "prettier -w '**/*.@(json|yaml|toml)'",
|
|
60
|
+
"lint:eslint": "eslint . --ext ts,tsx,mts",
|
|
61
|
+
"lint:eslint:fix": "eslint . --fix",
|
|
62
|
+
"format": "pnpm run lint:eslint && pnpm run lint:config",
|
|
63
|
+
"format:fix": "pnpm run lint:eslint:fix && pnpm run lint:config:fix",
|
|
64
|
+
"test": "vitest run",
|
|
65
|
+
"test-watch": "vitest",
|
|
66
|
+
"storybook": "storybook dev -p 6006",
|
|
67
|
+
"build-storybook": "storybook build"
|
|
68
|
+
}
|
|
69
|
+
}
|