everest-npm-features 0.0.1
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 +3 -0
- package/dist/ArrowRight-C6tjImpU.js +300 -0
- package/dist/Box-wAem3MQD.js +58 -0
- package/dist/Button-fWdSk-yh.js +451 -0
- package/dist/ButtonBase-SYP7klDp.js +876 -0
- package/dist/CircularProgress-DcXA6nAu.js +249 -0
- package/dist/Close-CdRA3xUs.js +75 -0
- package/dist/Container-CIMHcpEe.js +181 -0
- package/dist/ContentCopy-CexUUXuC.js +8 -0
- package/dist/DefaultPropsProvider-Y8MI-J-I.js +555 -0
- package/dist/DialogContent-JgT9A6nk.js +501 -0
- package/dist/FormControl-D4QuPCnV.js +249 -0
- package/dist/GlobalStyles-BOnEiMUE.js +23 -0
- package/dist/Grid-dtT_MVn3.js +501 -0
- package/dist/Grow-B3Swdn2Z.js +215 -0
- package/dist/IconButton-CRGy76pJ.js +237 -0
- package/dist/Modal-0q_y4zbS.js +1170 -0
- package/dist/Select-BNAaKK32.js +4046 -0
- package/dist/Slide-BlS6unRJ.js +229 -0
- package/dist/TextField-CPZo0_di.js +963 -0
- package/dist/TransitionGroupContext-VwpFXTPO.js +43 -0
- package/dist/Typography-kyxogyUq.js +256 -0
- package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +4 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/assets/documents.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/index2.css +1 -0
- package/dist/assets/keyboard.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/assets/styles2.css +1 -0
- package/dist/assets/tokenRow.css +1 -0
- package/dist/assets/withThemeProvider.css +1 -0
- package/dist/auth-Cj5FKr_m.js +19 -0
- package/dist/axios-xPiQW9EP.js +118114 -0
- package/dist/components/Profile/documents.d.ts +6 -0
- package/dist/components/Profile/documents.js +24 -0
- package/dist/components/Profile/index.d.ts +6 -0
- package/dist/components/Profile/index.js +592 -0
- package/dist/components/Receive/index.d.ts +2 -0
- package/dist/components/Receive/index.js +75 -0
- package/dist/components/Send/index.d.ts +6 -0
- package/dist/components/Send/index.js +387 -0
- package/dist/components/Shared/Keyboard/index.d.ts +1 -0
- package/dist/components/Shared/Keyboard/index.js +4 -0
- package/dist/components/Shared/Keyboard/keyboard.d.ts +8 -0
- package/dist/components/Shared/Keyboard/keyboard.js +152 -0
- package/dist/components/Shared/button.d.ts +11 -0
- package/dist/components/Shared/button.js +64 -0
- package/dist/components/Shared/incode.d.ts +20 -0
- package/dist/components/Shared/incode.js +202 -0
- package/dist/components/Shared/inputField.d.ts +7 -0
- package/dist/components/Shared/inputField.js +48 -0
- package/dist/components/Shared/pin.d.ts +9 -0
- package/dist/components/Shared/pin.js +96 -0
- package/dist/components/Shared/step.d.ts +8 -0
- package/dist/components/Shared/step.js +48 -0
- package/dist/components/Shared/transition.d.ts +7 -0
- package/dist/components/Shared/transition.js +11 -0
- package/dist/components/SignIn/index.d.ts +4 -0
- package/dist/components/SignIn/index.js +266 -0
- package/dist/components/SignIn/types.d.ts +7 -0
- package/dist/components/SignIn/types.js +1 -0
- package/dist/components/SignUp/biometric.d.ts +3 -0
- package/dist/components/SignUp/biometric.js +77 -0
- package/dist/components/SignUp/index.d.ts +3 -0
- package/dist/components/SignUp/index.js +393 -0
- package/dist/components/SignUp/pin.d.ts +3 -0
- package/dist/components/SignUp/pin.js +950 -0
- package/dist/components/SignUp/privacy.d.ts +2 -0
- package/dist/components/SignUp/privacy.js +259 -0
- package/dist/components/SignUp/terms.d.ts +2 -0
- package/dist/components/SignUp/terms.js +524 -0
- package/dist/components/SignUp/types.d.ts +54 -0
- package/dist/components/SignUp/types.js +1 -0
- package/dist/components/SignUp/userInfo.d.ts +3 -0
- package/dist/components/SignUp/userInfo.js +47 -0
- package/dist/components/WalletPortfolio/index.d.ts +3 -0
- package/dist/components/WalletPortfolio/index.js +557 -0
- package/dist/components/WalletPortfolio/tokenRow.d.ts +17 -0
- package/dist/components/WalletPortfolio/tokenRow.js +11 -0
- package/dist/components/WalletPortfolio/types.d.ts +10 -0
- package/dist/components/WalletPortfolio/types.js +1 -0
- package/dist/createSimplePaletteValueFilter-CsgjlRAs.js +659 -0
- package/dist/createSvgIcon-CAZr4ukt.js +249 -0
- package/dist/createTheme-NrBCWesw.js +3386 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/defaultTheme-OIfL8Ia7.js +5 -0
- package/dist/dialog-success-BDNJV4Tk.js +4 -0
- package/dist/dividerClasses-Z7VLlu5C.js +10 -0
- package/dist/documents-CL4Ajr_B.js +569 -0
- package/dist/exactProp-C1Lmtwf_.js +13 -0
- package/dist/extendSxProp-CuERe1TA.js +37 -0
- package/dist/hoc/withThemeProvider.d.ts +6 -0
- package/dist/hoc/withThemeProvider.js +635 -0
- package/dist/hooks/useDialog/index.d.ts +5 -0
- package/dist/hooks/useDialog/index.js +78 -0
- package/dist/hooks/useDialog/types.d.ts +14 -0
- package/dist/hooks/useDialog/types.js +1 -0
- package/dist/hooks/useSnackBar.d.ts +14 -0
- package/dist/hooks/useSnackBar.js +968 -0
- package/dist/index-CAoLi5Qq.js +827 -0
- package/dist/index-Cq3eHOnB.js +22 -0
- package/dist/index-DKTkUdik.js +6 -0
- package/dist/index-iAyNk1r6.js +72 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.js +16 -0
- package/dist/pin-empty-D9665KFr.js +6 -0
- package/dist/react-redux-VW99uJjf.js +5908 -0
- package/dist/react-webcam-Cov1TP0q.js +639 -0
- package/dist/styled-Da6GnxEE.js +5 -0
- package/dist/styles.module-Ctfaq7f2.js +10 -0
- package/dist/styles.module-KeND8lCR.js +9 -0
- package/dist/tokenRow-Cdd_jFjp.js +206 -0
- package/dist/useFormControl-Bo6Tf_xo.js +46 -0
- package/dist/useSlot-CURNJ3JC.js +306 -0
- package/dist/useTheme-DWRMvRU8.js +9 -0
- package/dist/useTheme-nlj1B_-c.js +11 -0
- package/dist/useThemeProps-BqWuFW3z.js +40 -0
- package/dist/useThemeWithoutDefault-BdYkMk0o.js +12 -0
- package/dist/useTimeout-lr7ryrda.js +75 -0
- package/dist/util/constants.d.ts +20 -0
- package/dist/util/constants.js +23 -0
- package/dist/util/conversions.d.ts +9 -0
- package/dist/util/conversions.js +22284 -0
- package/dist/util/functions.d.ts +15 -0
- package/dist/util/functions.js +94 -0
- package/dist/utils-_FXWkn40.js +19473 -0
- package/dist/wallet-DN7ej6mj.js +273 -0
- package/package.json +59 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { g as z, e as j, P as e } from "./createTheme-NrBCWesw.js";
|
|
3
|
+
import { g as V, s as _, u as q, a as L, b as $ } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
|
|
4
|
+
import { i as k, a as I } from "./Select-BNAaKK32.js";
|
|
5
|
+
import { F as G } from "./useFormControl-Bo6Tf_xo.js";
|
|
6
|
+
import { jsx as R } from "react/jsx-runtime";
|
|
7
|
+
function b(o, t) {
|
|
8
|
+
var i, l, r;
|
|
9
|
+
return /* @__PURE__ */ n.isValidElement(o) && t.indexOf(
|
|
10
|
+
// For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
11
|
+
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
12
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
13
|
+
o.type.muiName ?? ((r = (l = (i = o.type) == null ? void 0 : i._payload) == null ? void 0 : l.value) == null ? void 0 : r.muiName)
|
|
14
|
+
) !== -1;
|
|
15
|
+
}
|
|
16
|
+
function H(o) {
|
|
17
|
+
return z("MuiFormControl", o);
|
|
18
|
+
}
|
|
19
|
+
V("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
|
|
20
|
+
const J = (o) => {
|
|
21
|
+
const {
|
|
22
|
+
classes: t,
|
|
23
|
+
margin: i,
|
|
24
|
+
fullWidth: l
|
|
25
|
+
} = o, r = {
|
|
26
|
+
root: ["root", i !== "none" && `margin${j(i)}`, l && "fullWidth"]
|
|
27
|
+
};
|
|
28
|
+
return $(r, H, t);
|
|
29
|
+
}, K = _("div", {
|
|
30
|
+
name: "MuiFormControl",
|
|
31
|
+
slot: "Root",
|
|
32
|
+
overridesResolver: ({
|
|
33
|
+
ownerState: o
|
|
34
|
+
}, t) => ({
|
|
35
|
+
...t.root,
|
|
36
|
+
...t[`margin${j(o.margin)}`],
|
|
37
|
+
...o.fullWidth && t.fullWidth
|
|
38
|
+
})
|
|
39
|
+
})({
|
|
40
|
+
display: "inline-flex",
|
|
41
|
+
flexDirection: "column",
|
|
42
|
+
position: "relative",
|
|
43
|
+
// Reset fieldset default style.
|
|
44
|
+
minWidth: 0,
|
|
45
|
+
padding: 0,
|
|
46
|
+
margin: 0,
|
|
47
|
+
border: 0,
|
|
48
|
+
verticalAlign: "top",
|
|
49
|
+
// Fix alignment issue on Safari.
|
|
50
|
+
variants: [{
|
|
51
|
+
props: {
|
|
52
|
+
margin: "normal"
|
|
53
|
+
},
|
|
54
|
+
style: {
|
|
55
|
+
marginTop: 16,
|
|
56
|
+
marginBottom: 8
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
props: {
|
|
60
|
+
margin: "dense"
|
|
61
|
+
},
|
|
62
|
+
style: {
|
|
63
|
+
marginTop: 8,
|
|
64
|
+
marginBottom: 4
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
props: {
|
|
68
|
+
fullWidth: !0
|
|
69
|
+
},
|
|
70
|
+
style: {
|
|
71
|
+
width: "100%"
|
|
72
|
+
}
|
|
73
|
+
}]
|
|
74
|
+
}), Q = /* @__PURE__ */ n.forwardRef(function(t, i) {
|
|
75
|
+
const l = q({
|
|
76
|
+
props: t,
|
|
77
|
+
name: "MuiFormControl"
|
|
78
|
+
}), {
|
|
79
|
+
children: r,
|
|
80
|
+
className: B,
|
|
81
|
+
color: d = "primary",
|
|
82
|
+
component: v = "div",
|
|
83
|
+
disabled: a = !1,
|
|
84
|
+
error: f = !1,
|
|
85
|
+
focused: O,
|
|
86
|
+
fullWidth: c = !1,
|
|
87
|
+
hiddenLabel: m = !1,
|
|
88
|
+
margin: D = "none",
|
|
89
|
+
required: p = !1,
|
|
90
|
+
size: g = "medium",
|
|
91
|
+
variant: y = "outlined",
|
|
92
|
+
...P
|
|
93
|
+
} = l, S = {
|
|
94
|
+
...l,
|
|
95
|
+
color: d,
|
|
96
|
+
component: v,
|
|
97
|
+
disabled: a,
|
|
98
|
+
error: f,
|
|
99
|
+
fullWidth: c,
|
|
100
|
+
hiddenLabel: m,
|
|
101
|
+
margin: D,
|
|
102
|
+
required: p,
|
|
103
|
+
size: g,
|
|
104
|
+
variant: y
|
|
105
|
+
}, U = J(S), [N, w] = n.useState(() => {
|
|
106
|
+
let u = !1;
|
|
107
|
+
return r && n.Children.forEach(r, (s) => {
|
|
108
|
+
if (!b(s, ["Input", "Select"]))
|
|
109
|
+
return;
|
|
110
|
+
const M = b(s, ["Select"]) ? s.props.input : s;
|
|
111
|
+
M && k(M.props) && (u = !0);
|
|
112
|
+
}), u;
|
|
113
|
+
}), [T, E] = n.useState(() => {
|
|
114
|
+
let u = !1;
|
|
115
|
+
return r && n.Children.forEach(r, (s) => {
|
|
116
|
+
b(s, ["Input", "Select"]) && (I(s.props, !0) || I(s.props.inputProps, !0)) && (u = !0);
|
|
117
|
+
}), u;
|
|
118
|
+
}), [x, h] = n.useState(!1);
|
|
119
|
+
a && x && h(!1);
|
|
120
|
+
const W = O !== void 0 && !a ? O : x;
|
|
121
|
+
let C;
|
|
122
|
+
const F = n.useRef(!1);
|
|
123
|
+
process.env.NODE_ENV !== "production" && (C = () => (F.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
124
|
+
`)), F.current = !0, () => {
|
|
125
|
+
F.current = !1;
|
|
126
|
+
}));
|
|
127
|
+
const A = n.useMemo(() => ({
|
|
128
|
+
adornedStart: N,
|
|
129
|
+
setAdornedStart: w,
|
|
130
|
+
color: d,
|
|
131
|
+
disabled: a,
|
|
132
|
+
error: f,
|
|
133
|
+
filled: T,
|
|
134
|
+
focused: W,
|
|
135
|
+
fullWidth: c,
|
|
136
|
+
hiddenLabel: m,
|
|
137
|
+
size: g,
|
|
138
|
+
onBlur: () => {
|
|
139
|
+
h(!1);
|
|
140
|
+
},
|
|
141
|
+
onEmpty: () => {
|
|
142
|
+
E(!1);
|
|
143
|
+
},
|
|
144
|
+
onFilled: () => {
|
|
145
|
+
E(!0);
|
|
146
|
+
},
|
|
147
|
+
onFocus: () => {
|
|
148
|
+
h(!0);
|
|
149
|
+
},
|
|
150
|
+
registerEffect: C,
|
|
151
|
+
required: p,
|
|
152
|
+
variant: y
|
|
153
|
+
}), [N, d, a, f, T, W, c, m, C, p, g, y]);
|
|
154
|
+
return /* @__PURE__ */ R(G.Provider, {
|
|
155
|
+
value: A,
|
|
156
|
+
children: /* @__PURE__ */ R(K, {
|
|
157
|
+
as: v,
|
|
158
|
+
ownerState: S,
|
|
159
|
+
className: L(U.root, B),
|
|
160
|
+
ref: i,
|
|
161
|
+
...P,
|
|
162
|
+
children: r
|
|
163
|
+
})
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
process.env.NODE_ENV !== "production" && (Q.propTypes = {
|
|
167
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
168
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
169
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
170
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
171
|
+
/**
|
|
172
|
+
* The content of the component.
|
|
173
|
+
*/
|
|
174
|
+
children: e.node,
|
|
175
|
+
/**
|
|
176
|
+
* Override or extend the styles applied to the component.
|
|
177
|
+
*/
|
|
178
|
+
classes: e.object,
|
|
179
|
+
/**
|
|
180
|
+
* @ignore
|
|
181
|
+
*/
|
|
182
|
+
className: e.string,
|
|
183
|
+
/**
|
|
184
|
+
* The color of the component.
|
|
185
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
186
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
187
|
+
* @default 'primary'
|
|
188
|
+
*/
|
|
189
|
+
color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
190
|
+
/**
|
|
191
|
+
* The component used for the root node.
|
|
192
|
+
* Either a string to use a HTML element or a component.
|
|
193
|
+
*/
|
|
194
|
+
component: e.elementType,
|
|
195
|
+
/**
|
|
196
|
+
* If `true`, the label, input and helper text should be displayed in a disabled state.
|
|
197
|
+
* @default false
|
|
198
|
+
*/
|
|
199
|
+
disabled: e.bool,
|
|
200
|
+
/**
|
|
201
|
+
* If `true`, the label is displayed in an error state.
|
|
202
|
+
* @default false
|
|
203
|
+
*/
|
|
204
|
+
error: e.bool,
|
|
205
|
+
/**
|
|
206
|
+
* If `true`, the component is displayed in focused state.
|
|
207
|
+
*/
|
|
208
|
+
focused: e.bool,
|
|
209
|
+
/**
|
|
210
|
+
* If `true`, the component will take up the full width of its container.
|
|
211
|
+
* @default false
|
|
212
|
+
*/
|
|
213
|
+
fullWidth: e.bool,
|
|
214
|
+
/**
|
|
215
|
+
* If `true`, the label is hidden.
|
|
216
|
+
* This is used to increase density for a `FilledInput`.
|
|
217
|
+
* Be sure to add `aria-label` to the `input` element.
|
|
218
|
+
* @default false
|
|
219
|
+
*/
|
|
220
|
+
hiddenLabel: e.bool,
|
|
221
|
+
/**
|
|
222
|
+
* If `dense` or `normal`, will adjust vertical spacing of this and contained components.
|
|
223
|
+
* @default 'none'
|
|
224
|
+
*/
|
|
225
|
+
margin: e.oneOf(["dense", "none", "normal"]),
|
|
226
|
+
/**
|
|
227
|
+
* If `true`, the label will indicate that the `input` is required.
|
|
228
|
+
* @default false
|
|
229
|
+
*/
|
|
230
|
+
required: e.bool,
|
|
231
|
+
/**
|
|
232
|
+
* The size of the component.
|
|
233
|
+
* @default 'medium'
|
|
234
|
+
*/
|
|
235
|
+
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
236
|
+
/**
|
|
237
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
238
|
+
*/
|
|
239
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
240
|
+
/**
|
|
241
|
+
* The variant to use.
|
|
242
|
+
* @default 'outlined'
|
|
243
|
+
*/
|
|
244
|
+
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
245
|
+
});
|
|
246
|
+
export {
|
|
247
|
+
Q as F,
|
|
248
|
+
b as i
|
|
249
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { P as e } from "./createTheme-NrBCWesw.js";
|
|
3
|
+
import { G as r } from "./DefaultPropsProvider-Y8MI-J-I.js";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
function p(t) {
|
|
6
|
+
return t == null || Object.keys(t).length === 0;
|
|
7
|
+
}
|
|
8
|
+
function y(t) {
|
|
9
|
+
const {
|
|
10
|
+
styles: o,
|
|
11
|
+
defaultTheme: l = {}
|
|
12
|
+
} = t;
|
|
13
|
+
return /* @__PURE__ */ n(r, {
|
|
14
|
+
styles: typeof o == "function" ? (s) => o(p(s) ? l : s) : o
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
18
|
+
defaultTheme: e.object,
|
|
19
|
+
styles: e.oneOfType([e.array, e.string, e.object, e.func])
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
y as G
|
|
23
|
+
};
|