@avalabs/k2-alpine 1.188.0 → 1.197.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/assets/branding/avalanche.svg +4 -0
- package/assets/branding/bitcoin.svg +4 -0
- package/assets/branding/coinbase.svg +12 -0
- package/assets/branding/ethereum.svg +9 -0
- package/assets/branding/halliday.svg +18 -0
- package/assets/branding/moonpay.svg +18 -0
- package/assets/branding/onramper.svg +21 -0
- package/assets/branding/solona.svg +10 -0
- package/assets/branding/stripe.svg +18 -0
- package/assets/currencies/aed.svg +20 -0
- package/assets/currencies/ars.svg +83 -0
- package/assets/currencies/aud.svg +41 -0
- package/assets/currencies/bdt.svg +18 -0
- package/assets/currencies/bgn.svg +19 -0
- package/assets/currencies/bri.svg +320 -0
- package/assets/currencies/cad.svg +20 -0
- package/assets/currencies/chf.svg +18 -0
- package/assets/currencies/clp.svg +20 -0
- package/assets/currencies/cny.svg +22 -0
- package/assets/currencies/cop.svg +19 -0
- package/assets/currencies/czk.svg +19 -0
- package/assets/currencies/dkk.svg +18 -0
- package/assets/currencies/egp.svg +48 -0
- package/assets/currencies/eur.svg +137 -0
- package/assets/currencies/gbp.svg +30 -0
- package/assets/currencies/ghs.svg +20 -0
- package/assets/currencies/hkd.svg +27 -0
- package/assets/currencies/huf.svg +19 -0
- package/assets/currencies/idr.svg +18 -0
- package/assets/currencies/ils.svg +20 -0
- package/assets/currencies/inr.svg +70 -0
- package/assets/currencies/irr.svg +56 -0
- package/assets/currencies/jpy.svg +18 -0
- package/assets/currencies/krw.svg +23 -0
- package/assets/currencies/mad.svg +28 -0
- package/assets/currencies/mxn.svg +404 -0
- package/assets/currencies/myr.svg +25 -0
- package/assets/currencies/ngn.svg +19 -0
- package/assets/currencies/nok.svg +19 -0
- package/assets/currencies/nzd.svg +115 -0
- package/assets/currencies/php.svg +31 -0
- package/assets/currencies/pkr.svg +20 -0
- package/assets/currencies/pln.svg +18 -0
- package/assets/currencies/ron.svg +19 -0
- package/assets/currencies/rub.svg +19 -0
- package/assets/currencies/sar.svg +50 -0
- package/assets/currencies/sek.svg +18 -0
- package/assets/currencies/sgd.svg +24 -0
- package/assets/currencies/thb.svg +20 -0
- package/assets/currencies/try.svg +18 -0
- package/assets/currencies/twd.svg +21 -0
- package/assets/currencies/uah.svg +18 -0
- package/assets/currencies/usa.svg +25 -0
- package/assets/currencies/vnd.svg +18 -0
- package/assets/currencies/zar.svg +33 -0
- package/assets/fonts/Aeonik-Air.otf +0 -0
- package/assets/fonts/Aeonik-AirItalic.otf +0 -0
- package/assets/fonts/Aeonik-Black.otf +0 -0
- package/assets/fonts/Aeonik-BlackItalic.otf +0 -0
- package/assets/fonts/Aeonik-Bold.otf +0 -0
- package/assets/fonts/Aeonik-BoldItalic.otf +0 -0
- package/assets/fonts/Aeonik-Light.otf +0 -0
- package/assets/fonts/Aeonik-LightItalic.otf +0 -0
- package/assets/fonts/Aeonik-Medium.otf +0 -0
- package/assets/fonts/Aeonik-MediumItalic.otf +0 -0
- package/assets/fonts/Aeonik-Regular.otf +0 -0
- package/assets/fonts/Aeonik-RegularItalic.otf +0 -0
- package/assets/fonts/Aeonik-Thin.otf +0 -0
- package/assets/fonts/Aeonik-ThinItalic.otf +0 -0
- package/assets/fonts/DejaVuSansMono-Bold.ttf +0 -0
- package/assets/fonts/DejaVuSansMono-BoldOblique.ttf +0 -0
- package/assets/fonts/DejaVuSansMono-Oblique.ttf +0 -0
- package/assets/fonts/DejaVuSansMono.ttf +0 -0
- package/assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/assets/fonts/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/assets/fonts/Inter_18pt-Black.ttf +0 -0
- package/assets/fonts/Inter_18pt-BlackItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-Bold.ttf +0 -0
- package/assets/fonts/Inter_18pt-BoldItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-ExtraBold.ttf +0 -0
- package/assets/fonts/Inter_18pt-ExtraBoldItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-ExtraLight.ttf +0 -0
- package/assets/fonts/Inter_18pt-ExtraLightItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-Italic.ttf +0 -0
- package/assets/fonts/Inter_18pt-Light.ttf +0 -0
- package/assets/fonts/Inter_18pt-LightItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-Medium.ttf +0 -0
- package/assets/fonts/Inter_18pt-MediumItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-Regular.ttf +0 -0
- package/assets/fonts/Inter_18pt-SemiBold.ttf +0 -0
- package/assets/fonts/Inter_18pt-SemiBoldItalic.ttf +0 -0
- package/assets/fonts/Inter_18pt-Thin.ttf +0 -0
- package/assets/fonts/Inter_18pt-ThinItalic.ttf +0 -0
- package/assets/tokens/aave.svg +13 -0
- package/assets/tokens/ada.svg +40 -0
- package/assets/tokens/apt.svg +19 -0
- package/assets/tokens/arb.svg +17 -0
- package/assets/tokens/arena.svg +16 -0
- package/assets/tokens/atom.svg +17 -0
- package/assets/tokens/avax.svg +11 -0
- package/assets/tokens/bch.svg +11 -0
- package/assets/tokens/bgb.svg +12 -0
- package/assets/tokens/bnb.svg +11 -0
- package/assets/tokens/btc.svg +4 -0
- package/assets/tokens/dai.svg +11 -0
- package/assets/tokens/doge.svg +11 -0
- package/assets/tokens/dot.svg +11 -0
- package/assets/tokens/eth-white.svg +16 -0
- package/assets/tokens/eth.svg +16 -0
- package/assets/tokens/euroc.svg +24 -0
- package/assets/tokens/fil.svg +11 -0
- package/assets/tokens/flow.svg +13 -0
- package/assets/tokens/ggavax.svg +11 -0
- package/assets/tokens/grt.svg +11 -0
- package/assets/tokens/hbar.svg +11 -0
- package/assets/tokens/hype.svg +11 -0
- package/assets/tokens/icp.svg +21 -0
- package/assets/tokens/imx.svg +16 -0
- package/assets/tokens/ldo.svg +44 -0
- package/assets/tokens/leo.svg +82 -0
- package/assets/tokens/link.svg +11 -0
- package/assets/tokens/ltc.svg +11 -0
- package/assets/tokens/matic.svg +11 -0
- package/assets/tokens/mnt.svg +12 -0
- package/assets/tokens/near.svg +11 -0
- package/assets/tokens/okb.svg +18 -0
- package/assets/tokens/om.svg +15 -0
- package/assets/tokens/ondo.svg +13 -0
- package/assets/tokens/pi.svg +12 -0
- package/assets/tokens/qnt.svg +16 -0
- package/assets/tokens/savax.svg +11 -0
- package/assets/tokens/shib.svg +24 -0
- package/assets/tokens/sol.svg +15 -0
- package/assets/tokens/steth.svg +18 -0
- package/assets/tokens/stx.svg +11 -0
- package/assets/tokens/sui.svg +11 -0
- package/assets/tokens/ton.svg +11 -0
- package/assets/tokens/trx.svg +11 -0
- package/assets/tokens/uni.svg +19 -0
- package/assets/tokens/usdc.svg +11 -0
- package/assets/tokens/usdt.svg +11 -0
- package/assets/tokens/vet.svg +11 -0
- package/assets/tokens/wavax.svg +11 -0
- package/assets/tokens/xlm.svg +12 -0
- package/assets/tokens/xrp.svg +11 -0
- package/assets/tokens/xsgd.svg +13 -0
- package/dist/components/Button/SquareButton.d.ts +27 -1
- package/dist/components/Icons/AddImage.d.ts +2 -0
- package/dist/components/Icons/Approve.d.ts +2 -0
- package/dist/components/Icons/AvalancheHorizontal.d.ts +2 -0
- package/dist/components/Icons/ChevronRight.d.ts +2 -0
- package/dist/components/Icons/Coinbase.d.ts +2 -0
- package/dist/components/Icons/ContractCall.d.ts +2 -0
- package/dist/components/Icons/FillOrder.d.ts +2 -0
- package/dist/components/Icons/Hide.d.ts +2 -0
- package/dist/components/Icons/MetaMask.d.ts +2 -0
- package/dist/components/Icons/Rabby.d.ts +2 -0
- package/dist/components/Icons/Refresh.d.ts +2 -0
- package/dist/components/Icons/Transfer.d.ts +2 -0
- package/dist/components/Icons/Unwrap.d.ts +2 -0
- package/dist/components/Icons/Velora.d.ts +2 -0
- package/dist/components/Icons/index.d.ts +45 -0
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Tilt/Tilt.d.ts +39 -0
- package/dist/components/Toast/Toast.d.ts +1 -0
- package/dist/index.cjs +23 -30
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +6497 -1070
- package/dist/index.js.map +1 -0
- package/dist/theme/components/input.d.ts +2 -0
- package/package.json +29 -17
- package/dist/components/Toast/index.d.ts +0 -1
- package/dist/global.d.ts +0 -181
- package/dist/vite-env.d.ts +0 -1
package/package.json
CHANGED
|
@@ -2,48 +2,60 @@
|
|
|
2
2
|
"name": "@avalabs/k2-alpine",
|
|
3
3
|
"author": "Ava Labs",
|
|
4
4
|
"license": "Limited Ecosystem License",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.197.0",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.cjs",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./branding/": "./assets/branding/",
|
|
15
|
+
"./currencies/": "./assets/currencies/",
|
|
16
|
+
"./tokens/": "./assets/tokens/"
|
|
17
|
+
},
|
|
10
18
|
"files": [
|
|
11
|
-
"dist"
|
|
19
|
+
"dist",
|
|
20
|
+
"assets"
|
|
12
21
|
],
|
|
13
22
|
"dependencies": {
|
|
14
23
|
"@emotion/react": "^11.14.0",
|
|
15
24
|
"@emotion/styled": "^11.14.0",
|
|
16
|
-
"@mui/
|
|
25
|
+
"@mui/lab": "6.0.1-beta.33",
|
|
26
|
+
"@mui/material": "^6.4.10",
|
|
17
27
|
"lodash-es": "^4.17.21",
|
|
18
28
|
"sonner": "^2.0.3"
|
|
19
29
|
},
|
|
20
30
|
"peerDependencies": {
|
|
31
|
+
"motion": "^12.5.0",
|
|
21
32
|
"react": "^19.0.0",
|
|
22
33
|
"react-dom": "^19.0.0",
|
|
23
34
|
"react-icons": "^5.4.0"
|
|
24
35
|
},
|
|
25
36
|
"devDependencies": {
|
|
26
|
-
"@chromatic-com/storybook": "^3.2.
|
|
27
|
-
"@storybook/addon-essentials": "8.6.
|
|
28
|
-
"@storybook/addon-interactions": "8.6.
|
|
29
|
-
"@storybook/addon-onboarding": "8.6.
|
|
30
|
-
"@storybook/addon-themes": "8.6.
|
|
31
|
-
"@storybook/blocks": "8.6.
|
|
32
|
-
"@storybook/react": "8.6.
|
|
33
|
-
"@storybook/react-vite": "8.6.
|
|
34
|
-
"@storybook/test": "8.6.
|
|
37
|
+
"@chromatic-com/storybook": "^3.2.6",
|
|
38
|
+
"@storybook/addon-essentials": "8.6.12",
|
|
39
|
+
"@storybook/addon-interactions": "8.6.12",
|
|
40
|
+
"@storybook/addon-onboarding": "8.6.12",
|
|
41
|
+
"@storybook/addon-themes": "8.6.12",
|
|
42
|
+
"@storybook/blocks": "8.6.12",
|
|
43
|
+
"@storybook/react": "8.6.12",
|
|
44
|
+
"@storybook/react-vite": "8.6.12",
|
|
45
|
+
"@storybook/test": "8.6.12",
|
|
35
46
|
"@types/lodash-es": "^4.17.12",
|
|
36
47
|
"@types/react": "^19.0.7",
|
|
37
48
|
"@types/react-dom": "^19.0.3",
|
|
38
49
|
"@vitejs/plugin-react": "^4.3.4",
|
|
50
|
+
"motion": "^12.5.0",
|
|
39
51
|
"react": "^19.0.0",
|
|
40
52
|
"react-dom": "^19.0.0",
|
|
41
53
|
"react-icons": "^5.4.0",
|
|
42
54
|
"rimraf": "^6.0.1",
|
|
43
|
-
"storybook": "8.6.
|
|
55
|
+
"storybook": "8.6.12",
|
|
44
56
|
"storybook-dark-mode": "^4.0.2",
|
|
45
57
|
"typescript": "^5.7.3",
|
|
46
|
-
"vite": "^6.
|
|
58
|
+
"vite": "^6.3.3",
|
|
47
59
|
"vite-plugin-dts": "^4.5.0"
|
|
48
60
|
},
|
|
49
61
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Toast';
|
package/dist/global.d.ts
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from '@mui/material/styles/createMixins';
|
|
2
|
-
declare module '*.svg' {
|
|
3
|
-
import React = require('react');
|
|
4
|
-
export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;
|
|
5
|
-
const src: string;
|
|
6
|
-
|
|
7
|
-
export default src;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
type ThemeComponentStylesOverride<T = CSSProperties> = T | (({ theme }: { theme: Theme }) => T);
|
|
11
|
-
|
|
12
|
-
declare module '@mui/material/styles' {
|
|
13
|
-
interface Theme {
|
|
14
|
-
shape: {
|
|
15
|
-
borderRadius: number | string;
|
|
16
|
-
mediumBorderRadius: number | string;
|
|
17
|
-
largeBorderRadius: number | string;
|
|
18
|
-
xlargeBorderRadius: number | string;
|
|
19
|
-
fullBorderRadius: number | string;
|
|
20
|
-
};
|
|
21
|
-
componentStyles: {
|
|
22
|
-
appBar?: ThemeComponentStylesOverride;
|
|
23
|
-
drawer?: ThemeComponentStylesOverride;
|
|
24
|
-
buttonDisabled?: ThemeComponentStylesOverride;
|
|
25
|
-
tableCell?: ThemeComponentStylesOverride;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface ThemeOptions {
|
|
30
|
-
shape?: {
|
|
31
|
-
borderRadius?: number | string;
|
|
32
|
-
mediumBorderRadius?: number | string;
|
|
33
|
-
largeBorderRadius?: number | string;
|
|
34
|
-
xlargeBorderRadius?: number | string;
|
|
35
|
-
fullBorderRadius?: number | string;
|
|
36
|
-
};
|
|
37
|
-
componentStyles?: {
|
|
38
|
-
appBar?: ThemeComponentStylesOverride;
|
|
39
|
-
drawer?: ThemeComponentStylesOverride;
|
|
40
|
-
buttonDisabled?: ThemeComponentStylesOverride;
|
|
41
|
-
tableCell?: ThemeComponentStylesOverride;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
interface Typography {
|
|
46
|
-
fontFamilyMonospace: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface TypographyOptions {
|
|
50
|
-
fontFamilyMonospace?: string;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
interface CommonColors {
|
|
54
|
-
white_10_alpha_match: string;
|
|
55
|
-
white_10: string;
|
|
56
|
-
white_30: string;
|
|
57
|
-
white_60: string;
|
|
58
|
-
white_80: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
type PaletteMode = 'light' | 'dark' | 'testnet';
|
|
62
|
-
|
|
63
|
-
interface Palette {
|
|
64
|
-
alphaMatch: {
|
|
65
|
-
paper: string;
|
|
66
|
-
};
|
|
67
|
-
avalanche: {
|
|
68
|
-
main: string;
|
|
69
|
-
};
|
|
70
|
-
green: {
|
|
71
|
-
light: string;
|
|
72
|
-
main: string;
|
|
73
|
-
};
|
|
74
|
-
red: {
|
|
75
|
-
main: string;
|
|
76
|
-
};
|
|
77
|
-
teal: {
|
|
78
|
-
main: string;
|
|
79
|
-
};
|
|
80
|
-
neutral: {
|
|
81
|
-
50: string;
|
|
82
|
-
850: string;
|
|
83
|
-
'850_10': string;
|
|
84
|
-
'850_30': string;
|
|
85
|
-
'850_60': string;
|
|
86
|
-
'850_80': string;
|
|
87
|
-
900: string;
|
|
88
|
-
950: string;
|
|
89
|
-
};
|
|
90
|
-
glass: {
|
|
91
|
-
light: string;
|
|
92
|
-
light2: string;
|
|
93
|
-
dark: string;
|
|
94
|
-
dark2: string;
|
|
95
|
-
dark3: string;
|
|
96
|
-
};
|
|
97
|
-
surface: {
|
|
98
|
-
primary: string;
|
|
99
|
-
secondary: string;
|
|
100
|
-
tertiary: string;
|
|
101
|
-
};
|
|
102
|
-
gradient: {
|
|
103
|
-
conic1: string;
|
|
104
|
-
conic2: string;
|
|
105
|
-
conic3: string;
|
|
106
|
-
positiveChange: string;
|
|
107
|
-
negativeChange: string;
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
interface PaletteOptions {
|
|
112
|
-
alphaMatch?: {
|
|
113
|
-
paper: string;
|
|
114
|
-
};
|
|
115
|
-
avalanche?: {
|
|
116
|
-
main: string;
|
|
117
|
-
};
|
|
118
|
-
green?: {
|
|
119
|
-
light: string;
|
|
120
|
-
main: string;
|
|
121
|
-
};
|
|
122
|
-
red?: {
|
|
123
|
-
main: string;
|
|
124
|
-
};
|
|
125
|
-
teal?: {
|
|
126
|
-
main: string;
|
|
127
|
-
};
|
|
128
|
-
neutral?: {
|
|
129
|
-
50?: string;
|
|
130
|
-
850?: string;
|
|
131
|
-
'850_10'?: string;
|
|
132
|
-
'850_30'?: string;
|
|
133
|
-
'850_60'?: string;
|
|
134
|
-
'850_80'?: string;
|
|
135
|
-
900?: string;
|
|
136
|
-
950?: string;
|
|
137
|
-
};
|
|
138
|
-
glass?: {
|
|
139
|
-
light?: string;
|
|
140
|
-
light2?: string;
|
|
141
|
-
dark?: string;
|
|
142
|
-
dark2?: string;
|
|
143
|
-
dark3?: string;
|
|
144
|
-
};
|
|
145
|
-
surface?: {
|
|
146
|
-
primary?: string;
|
|
147
|
-
secondary?: string;
|
|
148
|
-
tertiary?: string;
|
|
149
|
-
};
|
|
150
|
-
gradient?: {
|
|
151
|
-
conic1?: string;
|
|
152
|
-
conic2?: string;
|
|
153
|
-
conic3?: string;
|
|
154
|
-
positiveChange?: string;
|
|
155
|
-
negativeChange?: string;
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export interface TypeBackground {
|
|
160
|
-
backdrop: string;
|
|
161
|
-
default: string;
|
|
162
|
-
paper: string;
|
|
163
|
-
navBarItem: string;
|
|
164
|
-
switchTrackUnchecked: string;
|
|
165
|
-
icon: string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
interface TypographyVariants {
|
|
169
|
-
body3: React.CSSProperties;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
interface TypographyVariantsOptions {
|
|
173
|
-
body3?: React.CSSProperties;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare module '@mui/material/Typography' {
|
|
178
|
-
interface TypographyPropsVariantOverrides {
|
|
179
|
-
body3: true;
|
|
180
|
-
}
|
|
181
|
-
}
|
package/dist/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|