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,229 @@
|
|
|
1
|
+
import * as h from "react";
|
|
2
|
+
import { P as t } from "./createTheme-NrBCWesw.js";
|
|
3
|
+
import { u as D } from "./useTheme-nlj1B_-c.js";
|
|
4
|
+
import { jsx as U } from "react/jsx-runtime";
|
|
5
|
+
import { g as _, o as $, e as q, H as A, T as F, r as G, a as P } from "./utils-_FXWkn40.js";
|
|
6
|
+
import { u as J, c as K } from "./TransitionGroupContext-VwpFXTPO.js";
|
|
7
|
+
import { d as Q } from "./debounce-46wSf_lW.js";
|
|
8
|
+
function Z(s, r, f) {
|
|
9
|
+
const n = r.getBoundingClientRect(), i = f && f.getBoundingClientRect(), E = $(r);
|
|
10
|
+
let c;
|
|
11
|
+
if (r.fakeTransform)
|
|
12
|
+
c = r.fakeTransform;
|
|
13
|
+
else {
|
|
14
|
+
const a = E.getComputedStyle(r);
|
|
15
|
+
c = a.getPropertyValue("-webkit-transform") || a.getPropertyValue("transform");
|
|
16
|
+
}
|
|
17
|
+
let d = 0, u = 0;
|
|
18
|
+
if (c && c !== "none" && typeof c == "string") {
|
|
19
|
+
const a = c.split("(")[1].split(")")[0].split(",");
|
|
20
|
+
d = parseInt(a[4], 10), u = parseInt(a[5], 10);
|
|
21
|
+
}
|
|
22
|
+
return s === "left" ? i ? `translateX(${i.right + d - n.left}px)` : `translateX(${E.innerWidth + d - n.left}px)` : s === "right" ? i ? `translateX(-${n.right - i.left - d}px)` : `translateX(-${n.left + n.width - d}px)` : s === "up" ? i ? `translateY(${i.bottom + u - n.top}px)` : `translateY(${E.innerHeight + u - n.top}px)` : i ? `translateY(-${n.top - i.top + n.height - u}px)` : `translateY(-${n.top + n.height - u}px)`;
|
|
23
|
+
}
|
|
24
|
+
function O(s) {
|
|
25
|
+
return typeof s == "function" ? s() : s;
|
|
26
|
+
}
|
|
27
|
+
function y(s, r, f) {
|
|
28
|
+
const n = O(f), i = Z(s, r, n);
|
|
29
|
+
i && (r.style.webkitTransform = i, r.style.transform = i);
|
|
30
|
+
}
|
|
31
|
+
const ee = /* @__PURE__ */ h.forwardRef(function(r, f) {
|
|
32
|
+
const n = D(), i = {
|
|
33
|
+
enter: n.transitions.easing.easeOut,
|
|
34
|
+
exit: n.transitions.easing.sharp
|
|
35
|
+
}, E = {
|
|
36
|
+
enter: n.transitions.duration.enteringScreen,
|
|
37
|
+
exit: n.transitions.duration.leavingScreen
|
|
38
|
+
}, {
|
|
39
|
+
addEndListener: c,
|
|
40
|
+
appear: d = !0,
|
|
41
|
+
children: u,
|
|
42
|
+
container: a,
|
|
43
|
+
direction: p = "down",
|
|
44
|
+
easing: b = i,
|
|
45
|
+
in: m,
|
|
46
|
+
onEnter: w,
|
|
47
|
+
onEntered: S,
|
|
48
|
+
onEntering: R,
|
|
49
|
+
onExit: v,
|
|
50
|
+
onExited: k,
|
|
51
|
+
onExiting: V,
|
|
52
|
+
style: x,
|
|
53
|
+
timeout: T = E,
|
|
54
|
+
// eslint-disable-next-line react/prop-types
|
|
55
|
+
TransitionComponent: I = F,
|
|
56
|
+
...M
|
|
57
|
+
} = r, l = h.useRef(null), N = J(_(u), l, f), g = (e) => (o) => {
|
|
58
|
+
e && (o === void 0 ? e(l.current) : e(l.current, o));
|
|
59
|
+
}, X = g((e, o) => {
|
|
60
|
+
y(p, e, a), G(e), w && w(e, o);
|
|
61
|
+
}), Y = g((e, o) => {
|
|
62
|
+
const L = P({
|
|
63
|
+
timeout: T,
|
|
64
|
+
style: x,
|
|
65
|
+
easing: b
|
|
66
|
+
}, {
|
|
67
|
+
mode: "enter"
|
|
68
|
+
});
|
|
69
|
+
e.style.webkitTransition = n.transitions.create("-webkit-transform", {
|
|
70
|
+
...L
|
|
71
|
+
}), e.style.transition = n.transitions.create("transform", {
|
|
72
|
+
...L
|
|
73
|
+
}), e.style.webkitTransform = "none", e.style.transform = "none", R && R(e, o);
|
|
74
|
+
}), j = g(S), z = g(V), B = g((e) => {
|
|
75
|
+
const o = P({
|
|
76
|
+
timeout: T,
|
|
77
|
+
style: x,
|
|
78
|
+
easing: b
|
|
79
|
+
}, {
|
|
80
|
+
mode: "exit"
|
|
81
|
+
});
|
|
82
|
+
e.style.webkitTransition = n.transitions.create("-webkit-transform", o), e.style.transition = n.transitions.create("transform", o), y(p, e, a), v && v(e);
|
|
83
|
+
}), H = g((e) => {
|
|
84
|
+
e.style.webkitTransition = "", e.style.transition = "", k && k(e);
|
|
85
|
+
}), W = (e) => {
|
|
86
|
+
c && c(l.current, e);
|
|
87
|
+
}, C = h.useCallback(() => {
|
|
88
|
+
l.current && y(p, l.current, a);
|
|
89
|
+
}, [p, a]);
|
|
90
|
+
return h.useEffect(() => {
|
|
91
|
+
if (m || p === "down" || p === "right")
|
|
92
|
+
return;
|
|
93
|
+
const e = Q(() => {
|
|
94
|
+
l.current && y(p, l.current, a);
|
|
95
|
+
}), o = $(l.current);
|
|
96
|
+
return o.addEventListener("resize", e), () => {
|
|
97
|
+
e.clear(), o.removeEventListener("resize", e);
|
|
98
|
+
};
|
|
99
|
+
}, [p, m, a]), h.useEffect(() => {
|
|
100
|
+
m || C();
|
|
101
|
+
}, [m, C]), /* @__PURE__ */ U(I, {
|
|
102
|
+
nodeRef: l,
|
|
103
|
+
onEnter: X,
|
|
104
|
+
onEntered: j,
|
|
105
|
+
onEntering: Y,
|
|
106
|
+
onExit: B,
|
|
107
|
+
onExited: H,
|
|
108
|
+
onExiting: z,
|
|
109
|
+
addEndListener: W,
|
|
110
|
+
appear: d,
|
|
111
|
+
in: m,
|
|
112
|
+
timeout: T,
|
|
113
|
+
...M,
|
|
114
|
+
children: (e, o) => /* @__PURE__ */ h.cloneElement(u, {
|
|
115
|
+
ref: N,
|
|
116
|
+
style: {
|
|
117
|
+
visibility: e === "exited" && !m ? "hidden" : void 0,
|
|
118
|
+
...x,
|
|
119
|
+
...u.props.style
|
|
120
|
+
},
|
|
121
|
+
...o
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
process.env.NODE_ENV !== "production" && (ee.propTypes = {
|
|
126
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
127
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
128
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
129
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
130
|
+
/**
|
|
131
|
+
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
132
|
+
* node and a done callback. Allows for more fine grained transition end
|
|
133
|
+
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
134
|
+
*/
|
|
135
|
+
addEndListener: t.func,
|
|
136
|
+
/**
|
|
137
|
+
* Perform the enter transition when it first mounts if `in` is also `true`.
|
|
138
|
+
* Set this to `false` to disable this behavior.
|
|
139
|
+
* @default true
|
|
140
|
+
*/
|
|
141
|
+
appear: t.bool,
|
|
142
|
+
/**
|
|
143
|
+
* A single child content element.
|
|
144
|
+
*/
|
|
145
|
+
children: q.isRequired,
|
|
146
|
+
/**
|
|
147
|
+
* An HTML element, or a function that returns one.
|
|
148
|
+
* It's used to set the container the Slide is transitioning from.
|
|
149
|
+
*/
|
|
150
|
+
container: K(t.oneOfType([A, t.func]), (s) => {
|
|
151
|
+
if (s.open) {
|
|
152
|
+
const r = O(s.container);
|
|
153
|
+
if (r && r.nodeType === 1) {
|
|
154
|
+
const f = r.getBoundingClientRect();
|
|
155
|
+
if (process.env.NODE_ENV !== "test" && f.top === 0 && f.left === 0 && f.right === 0 && f.bottom === 0)
|
|
156
|
+
return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
157
|
+
`));
|
|
158
|
+
} else if (!r || typeof r.getBoundingClientRect != "function" || r.contextElement != null && r.contextElement.nodeType !== 1)
|
|
159
|
+
return new Error(["MUI: The `container` prop provided to the component is invalid.", "It should be an HTML element instance."].join(`
|
|
160
|
+
`));
|
|
161
|
+
}
|
|
162
|
+
return null;
|
|
163
|
+
}),
|
|
164
|
+
/**
|
|
165
|
+
* Direction the child node will enter from.
|
|
166
|
+
* @default 'down'
|
|
167
|
+
*/
|
|
168
|
+
direction: t.oneOf(["down", "left", "right", "up"]),
|
|
169
|
+
/**
|
|
170
|
+
* The transition timing function.
|
|
171
|
+
* You may specify a single easing or a object containing enter and exit values.
|
|
172
|
+
* @default {
|
|
173
|
+
* enter: theme.transitions.easing.easeOut,
|
|
174
|
+
* exit: theme.transitions.easing.sharp,
|
|
175
|
+
* }
|
|
176
|
+
*/
|
|
177
|
+
easing: t.oneOfType([t.shape({
|
|
178
|
+
enter: t.string,
|
|
179
|
+
exit: t.string
|
|
180
|
+
}), t.string]),
|
|
181
|
+
/**
|
|
182
|
+
* If `true`, the component will transition in.
|
|
183
|
+
*/
|
|
184
|
+
in: t.bool,
|
|
185
|
+
/**
|
|
186
|
+
* @ignore
|
|
187
|
+
*/
|
|
188
|
+
onEnter: t.func,
|
|
189
|
+
/**
|
|
190
|
+
* @ignore
|
|
191
|
+
*/
|
|
192
|
+
onEntered: t.func,
|
|
193
|
+
/**
|
|
194
|
+
* @ignore
|
|
195
|
+
*/
|
|
196
|
+
onEntering: t.func,
|
|
197
|
+
/**
|
|
198
|
+
* @ignore
|
|
199
|
+
*/
|
|
200
|
+
onExit: t.func,
|
|
201
|
+
/**
|
|
202
|
+
* @ignore
|
|
203
|
+
*/
|
|
204
|
+
onExited: t.func,
|
|
205
|
+
/**
|
|
206
|
+
* @ignore
|
|
207
|
+
*/
|
|
208
|
+
onExiting: t.func,
|
|
209
|
+
/**
|
|
210
|
+
* @ignore
|
|
211
|
+
*/
|
|
212
|
+
style: t.object,
|
|
213
|
+
/**
|
|
214
|
+
* The duration for the transition, in milliseconds.
|
|
215
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
216
|
+
* @default {
|
|
217
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
218
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
219
|
+
* }
|
|
220
|
+
*/
|
|
221
|
+
timeout: t.oneOfType([t.number, t.shape({
|
|
222
|
+
appear: t.number,
|
|
223
|
+
enter: t.number,
|
|
224
|
+
exit: t.number
|
|
225
|
+
})])
|
|
226
|
+
});
|
|
227
|
+
export {
|
|
228
|
+
ee as S
|
|
229
|
+
};
|