@avalabs/k2-alpine 1.227.0 → 1.227.1-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +263 -268
- package/dist/index.js.map +1 -1
- package/dist/theme/palette.d.ts +0 -183
- package/dist/theme/theme.d.ts +181 -0
- package/package.json +21 -18
package/dist/theme/palette.d.ts
CHANGED
|
@@ -2,186 +2,3 @@ import { PaletteOptions } from '@mui/material';
|
|
|
2
2
|
export declare const lightPalette: PaletteOptions;
|
|
3
3
|
export declare const darkPalette: PaletteOptions;
|
|
4
4
|
export declare const testnetPalette: PaletteOptions;
|
|
5
|
-
declare module '@mui/material/styles' {
|
|
6
|
-
interface CommonColors {
|
|
7
|
-
black_25: string;
|
|
8
|
-
white_10_alpha_match: string;
|
|
9
|
-
white_10: string;
|
|
10
|
-
white_30: string;
|
|
11
|
-
white_60: string;
|
|
12
|
-
white_80: string;
|
|
13
|
-
}
|
|
14
|
-
interface Palette {
|
|
15
|
-
alphaMatch: {
|
|
16
|
-
paper: string;
|
|
17
|
-
backdropSolid: string;
|
|
18
|
-
};
|
|
19
|
-
avagpt: {
|
|
20
|
-
background: {
|
|
21
|
-
dialog: string;
|
|
22
|
-
botMessage: string;
|
|
23
|
-
userMessage: string;
|
|
24
|
-
input: string;
|
|
25
|
-
support: string;
|
|
26
|
-
};
|
|
27
|
-
button: {
|
|
28
|
-
background: string;
|
|
29
|
-
border: string;
|
|
30
|
-
};
|
|
31
|
-
text: {
|
|
32
|
-
botMessage: string;
|
|
33
|
-
userMessage: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
avalanche: {
|
|
37
|
-
main: string;
|
|
38
|
-
};
|
|
39
|
-
datePicker: {
|
|
40
|
-
background: string;
|
|
41
|
-
border: string;
|
|
42
|
-
hover: string;
|
|
43
|
-
text: string;
|
|
44
|
-
textSelected: string;
|
|
45
|
-
textSecondary: string;
|
|
46
|
-
};
|
|
47
|
-
green: {
|
|
48
|
-
light: string;
|
|
49
|
-
main: string;
|
|
50
|
-
};
|
|
51
|
-
red: {
|
|
52
|
-
main: string;
|
|
53
|
-
};
|
|
54
|
-
teal: {
|
|
55
|
-
main: string;
|
|
56
|
-
};
|
|
57
|
-
neutral: {
|
|
58
|
-
50: string;
|
|
59
|
-
850: string;
|
|
60
|
-
'850_10_alpha_match': string;
|
|
61
|
-
'850_10': string;
|
|
62
|
-
'850_30': string;
|
|
63
|
-
'850_50': string;
|
|
64
|
-
'850_60': string;
|
|
65
|
-
'850_80': string;
|
|
66
|
-
'850_90': string;
|
|
67
|
-
900: string;
|
|
68
|
-
950: string;
|
|
69
|
-
};
|
|
70
|
-
glass: {
|
|
71
|
-
light: string;
|
|
72
|
-
light2: string;
|
|
73
|
-
dark: string;
|
|
74
|
-
dark2: string;
|
|
75
|
-
dark3: string;
|
|
76
|
-
};
|
|
77
|
-
surface: {
|
|
78
|
-
primary: string;
|
|
79
|
-
secondary: string;
|
|
80
|
-
tertiary: string;
|
|
81
|
-
};
|
|
82
|
-
successAlt: {
|
|
83
|
-
main: string;
|
|
84
|
-
secondary: string;
|
|
85
|
-
};
|
|
86
|
-
gradient: {
|
|
87
|
-
conic1: string;
|
|
88
|
-
conic2: string;
|
|
89
|
-
conic3: string;
|
|
90
|
-
conic4: string;
|
|
91
|
-
glow: string;
|
|
92
|
-
positiveChange: string;
|
|
93
|
-
negativeChange: string;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
interface PaletteOptions {
|
|
97
|
-
alphaMatch?: {
|
|
98
|
-
paper: string;
|
|
99
|
-
backdropSolid: string;
|
|
100
|
-
};
|
|
101
|
-
avagpt?: {
|
|
102
|
-
background: {
|
|
103
|
-
dialog: string;
|
|
104
|
-
botMessage: string;
|
|
105
|
-
userMessage: string;
|
|
106
|
-
input: string;
|
|
107
|
-
support: string;
|
|
108
|
-
};
|
|
109
|
-
button: {
|
|
110
|
-
background: string;
|
|
111
|
-
border: string;
|
|
112
|
-
};
|
|
113
|
-
text: {
|
|
114
|
-
botMessage: string;
|
|
115
|
-
userMessage: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
avalanche?: {
|
|
119
|
-
main: string;
|
|
120
|
-
};
|
|
121
|
-
datePicker?: {
|
|
122
|
-
background: string;
|
|
123
|
-
border: string;
|
|
124
|
-
hover: string;
|
|
125
|
-
text: string;
|
|
126
|
-
textSelected: string;
|
|
127
|
-
textSecondary: string;
|
|
128
|
-
};
|
|
129
|
-
green?: {
|
|
130
|
-
light: string;
|
|
131
|
-
main: string;
|
|
132
|
-
};
|
|
133
|
-
red?: {
|
|
134
|
-
main: string;
|
|
135
|
-
};
|
|
136
|
-
teal?: {
|
|
137
|
-
main: string;
|
|
138
|
-
};
|
|
139
|
-
neutral?: {
|
|
140
|
-
50?: string;
|
|
141
|
-
850?: string;
|
|
142
|
-
'850_10_alpha_match'?: string;
|
|
143
|
-
'850_10'?: string;
|
|
144
|
-
'850_30'?: string;
|
|
145
|
-
'850_50'?: string;
|
|
146
|
-
'850_60'?: string;
|
|
147
|
-
'850_80'?: string;
|
|
148
|
-
'850_90'?: string;
|
|
149
|
-
900?: string;
|
|
150
|
-
950?: string;
|
|
151
|
-
};
|
|
152
|
-
glass?: {
|
|
153
|
-
light?: string;
|
|
154
|
-
light2?: string;
|
|
155
|
-
dark?: string;
|
|
156
|
-
dark2?: string;
|
|
157
|
-
dark3?: string;
|
|
158
|
-
};
|
|
159
|
-
surface?: {
|
|
160
|
-
primary?: string;
|
|
161
|
-
secondary?: string;
|
|
162
|
-
tertiary?: string;
|
|
163
|
-
};
|
|
164
|
-
successAlt?: {
|
|
165
|
-
main?: string;
|
|
166
|
-
secondary?: string;
|
|
167
|
-
};
|
|
168
|
-
gradient?: {
|
|
169
|
-
conic1?: string;
|
|
170
|
-
conic2?: string;
|
|
171
|
-
conic3?: string;
|
|
172
|
-
conic4?: string;
|
|
173
|
-
glow?: string;
|
|
174
|
-
positiveChange?: string;
|
|
175
|
-
negativeChange?: string;
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
interface TypeBackground {
|
|
179
|
-
backdrop: string;
|
|
180
|
-
default: string;
|
|
181
|
-
paper: string;
|
|
182
|
-
navBarItem: string;
|
|
183
|
-
switchTrackUnchecked: string;
|
|
184
|
-
icon: string;
|
|
185
|
-
popover: string;
|
|
186
|
-
}
|
|
187
|
-
}
|
package/dist/theme/theme.d.ts
CHANGED
|
@@ -72,6 +72,187 @@ declare module '@mui/material/styles' {
|
|
|
72
72
|
mono?: React.CSSProperties;
|
|
73
73
|
mono2?: React.CSSProperties;
|
|
74
74
|
}
|
|
75
|
+
interface CommonColors {
|
|
76
|
+
black_25: string;
|
|
77
|
+
white_10_alpha_match: string;
|
|
78
|
+
white_10: string;
|
|
79
|
+
white_30: string;
|
|
80
|
+
white_60: string;
|
|
81
|
+
white_80: string;
|
|
82
|
+
}
|
|
83
|
+
interface Palette {
|
|
84
|
+
alphaMatch: {
|
|
85
|
+
paper: string;
|
|
86
|
+
backdropSolid: string;
|
|
87
|
+
};
|
|
88
|
+
avagpt: {
|
|
89
|
+
background: {
|
|
90
|
+
dialog: string;
|
|
91
|
+
botMessage: string;
|
|
92
|
+
userMessage: string;
|
|
93
|
+
input: string;
|
|
94
|
+
support: string;
|
|
95
|
+
};
|
|
96
|
+
button: {
|
|
97
|
+
background: string;
|
|
98
|
+
border: string;
|
|
99
|
+
};
|
|
100
|
+
text: {
|
|
101
|
+
botMessage: string;
|
|
102
|
+
userMessage: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
avalanche: {
|
|
106
|
+
main: string;
|
|
107
|
+
};
|
|
108
|
+
datePicker: {
|
|
109
|
+
background: string;
|
|
110
|
+
border: string;
|
|
111
|
+
hover: string;
|
|
112
|
+
text: string;
|
|
113
|
+
textSelected: string;
|
|
114
|
+
textSecondary: string;
|
|
115
|
+
};
|
|
116
|
+
green: {
|
|
117
|
+
light: string;
|
|
118
|
+
main: string;
|
|
119
|
+
};
|
|
120
|
+
red: {
|
|
121
|
+
main: string;
|
|
122
|
+
};
|
|
123
|
+
teal: {
|
|
124
|
+
main: string;
|
|
125
|
+
};
|
|
126
|
+
neutral: {
|
|
127
|
+
50: string;
|
|
128
|
+
850: string;
|
|
129
|
+
'850_10_alpha_match': string;
|
|
130
|
+
'850_10': string;
|
|
131
|
+
'850_30': string;
|
|
132
|
+
'850_50': string;
|
|
133
|
+
'850_60': string;
|
|
134
|
+
'850_80': string;
|
|
135
|
+
'850_90': string;
|
|
136
|
+
900: string;
|
|
137
|
+
950: string;
|
|
138
|
+
};
|
|
139
|
+
glass: {
|
|
140
|
+
light: string;
|
|
141
|
+
light2: string;
|
|
142
|
+
dark: string;
|
|
143
|
+
dark2: string;
|
|
144
|
+
dark3: string;
|
|
145
|
+
};
|
|
146
|
+
surface: {
|
|
147
|
+
primary: string;
|
|
148
|
+
secondary: string;
|
|
149
|
+
tertiary: string;
|
|
150
|
+
};
|
|
151
|
+
successAlt: {
|
|
152
|
+
main: string;
|
|
153
|
+
secondary: string;
|
|
154
|
+
};
|
|
155
|
+
gradient: {
|
|
156
|
+
conic1: string;
|
|
157
|
+
conic2: string;
|
|
158
|
+
conic3: string;
|
|
159
|
+
conic4: string;
|
|
160
|
+
glow: string;
|
|
161
|
+
positiveChange: string;
|
|
162
|
+
negativeChange: string;
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
interface PaletteOptions {
|
|
166
|
+
alphaMatch?: {
|
|
167
|
+
paper: string;
|
|
168
|
+
backdropSolid: string;
|
|
169
|
+
};
|
|
170
|
+
avagpt?: {
|
|
171
|
+
background: {
|
|
172
|
+
dialog: string;
|
|
173
|
+
botMessage: string;
|
|
174
|
+
userMessage: string;
|
|
175
|
+
input: string;
|
|
176
|
+
support: string;
|
|
177
|
+
};
|
|
178
|
+
button: {
|
|
179
|
+
background: string;
|
|
180
|
+
border: string;
|
|
181
|
+
};
|
|
182
|
+
text: {
|
|
183
|
+
botMessage: string;
|
|
184
|
+
userMessage: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
avalanche?: {
|
|
188
|
+
main: string;
|
|
189
|
+
};
|
|
190
|
+
datePicker?: {
|
|
191
|
+
background: string;
|
|
192
|
+
border: string;
|
|
193
|
+
hover: string;
|
|
194
|
+
text: string;
|
|
195
|
+
textSelected: string;
|
|
196
|
+
textSecondary: string;
|
|
197
|
+
};
|
|
198
|
+
green?: {
|
|
199
|
+
light: string;
|
|
200
|
+
main: string;
|
|
201
|
+
};
|
|
202
|
+
red?: {
|
|
203
|
+
main: string;
|
|
204
|
+
};
|
|
205
|
+
teal?: {
|
|
206
|
+
main: string;
|
|
207
|
+
};
|
|
208
|
+
neutral?: {
|
|
209
|
+
50?: string;
|
|
210
|
+
850?: string;
|
|
211
|
+
'850_10_alpha_match'?: string;
|
|
212
|
+
'850_10'?: string;
|
|
213
|
+
'850_30'?: string;
|
|
214
|
+
'850_50'?: string;
|
|
215
|
+
'850_60'?: string;
|
|
216
|
+
'850_80'?: string;
|
|
217
|
+
'850_90'?: string;
|
|
218
|
+
900?: string;
|
|
219
|
+
950?: string;
|
|
220
|
+
};
|
|
221
|
+
glass?: {
|
|
222
|
+
light?: string;
|
|
223
|
+
light2?: string;
|
|
224
|
+
dark?: string;
|
|
225
|
+
dark2?: string;
|
|
226
|
+
dark3?: string;
|
|
227
|
+
};
|
|
228
|
+
surface?: {
|
|
229
|
+
primary?: string;
|
|
230
|
+
secondary?: string;
|
|
231
|
+
tertiary?: string;
|
|
232
|
+
};
|
|
233
|
+
successAlt?: {
|
|
234
|
+
main?: string;
|
|
235
|
+
secondary?: string;
|
|
236
|
+
};
|
|
237
|
+
gradient?: {
|
|
238
|
+
conic1?: string;
|
|
239
|
+
conic2?: string;
|
|
240
|
+
conic3?: string;
|
|
241
|
+
conic4?: string;
|
|
242
|
+
glow?: string;
|
|
243
|
+
positiveChange?: string;
|
|
244
|
+
negativeChange?: string;
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
interface TypeBackground {
|
|
248
|
+
backdrop: string;
|
|
249
|
+
default: string;
|
|
250
|
+
paper: string;
|
|
251
|
+
navBarItem: string;
|
|
252
|
+
switchTrackUnchecked: string;
|
|
253
|
+
icon: string;
|
|
254
|
+
popover: string;
|
|
255
|
+
}
|
|
75
256
|
}
|
|
76
257
|
declare module '@mui/material/styles/createTypography' {
|
|
77
258
|
interface FontStyle {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@avalabs/k2-alpine",
|
|
3
3
|
"author": "Ava Labs",
|
|
4
4
|
"license": "Limited Ecosystem License",
|
|
5
|
-
"version": "1.227.
|
|
5
|
+
"version": "1.227.1-alpha.12+16004ace1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.cjs",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -23,13 +23,22 @@
|
|
|
23
23
|
"dist",
|
|
24
24
|
"assets"
|
|
25
25
|
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "pnpm run storybook",
|
|
28
|
+
"storybook": "storybook dev -p 6006",
|
|
29
|
+
"build:library": "rimraf dist && vite build",
|
|
30
|
+
"build:storybook": "storybook build",
|
|
31
|
+
"prepublishOnly": "node --experimental-strip-types ./scripts/prepublish.ts",
|
|
32
|
+
"postpublish": "node --experimental-strip-types ./scripts/postpublish.ts",
|
|
33
|
+
"typecheck": "tsc --noEmit"
|
|
34
|
+
},
|
|
26
35
|
"dependencies": {
|
|
27
36
|
"@emotion/react": "^11.14.0",
|
|
28
37
|
"@emotion/styled": "^11.14.0",
|
|
29
38
|
"@mui/lab": "6.0.1-beta.33",
|
|
30
39
|
"@mui/material": "^6.4.10",
|
|
31
40
|
"dayjs": "^1.11.13",
|
|
32
|
-
"lodash-es": "
|
|
41
|
+
"lodash-es": "catalog:dependencies",
|
|
33
42
|
"react-country-flag": "3.1.0",
|
|
34
43
|
"react-day-picker": "^9.7.0",
|
|
35
44
|
"sonner": "^2.0.3"
|
|
@@ -53,26 +62,20 @@
|
|
|
53
62
|
"@storybook/react": "8.6.12",
|
|
54
63
|
"@storybook/react-vite": "8.6.12",
|
|
55
64
|
"@storybook/test": "8.6.12",
|
|
56
|
-
"@types/lodash-es": "
|
|
57
|
-
"@types/react": "
|
|
58
|
-
"@types/react-dom": "
|
|
59
|
-
"@vitejs/plugin-react": "
|
|
65
|
+
"@types/lodash-es": "catalog:devDependencies",
|
|
66
|
+
"@types/react": "catalog:devDependencies",
|
|
67
|
+
"@types/react-dom": "catalog:devDependencies",
|
|
68
|
+
"@vitejs/plugin-react": "catalog:devDependencies",
|
|
60
69
|
"motion": "^12.5.0",
|
|
61
|
-
"react": "
|
|
62
|
-
"react-dom": "
|
|
70
|
+
"react": "catalog:dependencies",
|
|
71
|
+
"react-dom": "catalog:dependencies",
|
|
63
72
|
"react-icons": "^5.4.0",
|
|
64
73
|
"rimraf": "^6.0.1",
|
|
65
74
|
"storybook": "8.6.12",
|
|
66
75
|
"storybook-dark-mode": "^4.0.2",
|
|
67
|
-
"typescript": "
|
|
68
|
-
"vite": "
|
|
76
|
+
"typescript": "catalog:devDependencies",
|
|
77
|
+
"vite": "catalog:devDependencies",
|
|
69
78
|
"vite-plugin-dts": "^4.5.0"
|
|
70
79
|
},
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
"storybook": "storybook dev -p 6006",
|
|
74
|
-
"build:library": "rimraf dist && vite build",
|
|
75
|
-
"build:storybook": "storybook build",
|
|
76
|
-
"typecheck": "tsc --noEmit"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
80
|
+
"gitHead": "16004ace1f634488b495b1d9547f05a9c6a9cb87"
|
|
81
|
+
}
|