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.
Files changed (129) hide show
  1. package/README.md +3 -0
  2. package/dist/ArrowRight-C6tjImpU.js +300 -0
  3. package/dist/Box-wAem3MQD.js +58 -0
  4. package/dist/Button-fWdSk-yh.js +451 -0
  5. package/dist/ButtonBase-SYP7klDp.js +876 -0
  6. package/dist/CircularProgress-DcXA6nAu.js +249 -0
  7. package/dist/Close-CdRA3xUs.js +75 -0
  8. package/dist/Container-CIMHcpEe.js +181 -0
  9. package/dist/ContentCopy-CexUUXuC.js +8 -0
  10. package/dist/DefaultPropsProvider-Y8MI-J-I.js +555 -0
  11. package/dist/DialogContent-JgT9A6nk.js +501 -0
  12. package/dist/FormControl-D4QuPCnV.js +249 -0
  13. package/dist/GlobalStyles-BOnEiMUE.js +23 -0
  14. package/dist/Grid-dtT_MVn3.js +501 -0
  15. package/dist/Grow-B3Swdn2Z.js +215 -0
  16. package/dist/IconButton-CRGy76pJ.js +237 -0
  17. package/dist/Modal-0q_y4zbS.js +1170 -0
  18. package/dist/Select-BNAaKK32.js +4046 -0
  19. package/dist/Slide-BlS6unRJ.js +229 -0
  20. package/dist/TextField-CPZo0_di.js +963 -0
  21. package/dist/TransitionGroupContext-VwpFXTPO.js +43 -0
  22. package/dist/Typography-kyxogyUq.js +256 -0
  23. package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +4 -0
  24. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  25. package/dist/assets/documents.css +1 -0
  26. package/dist/assets/index.css +1 -0
  27. package/dist/assets/index2.css +1 -0
  28. package/dist/assets/keyboard.css +1 -0
  29. package/dist/assets/styles.css +1 -0
  30. package/dist/assets/styles2.css +1 -0
  31. package/dist/assets/tokenRow.css +1 -0
  32. package/dist/assets/withThemeProvider.css +1 -0
  33. package/dist/auth-Cj5FKr_m.js +19 -0
  34. package/dist/axios-xPiQW9EP.js +118114 -0
  35. package/dist/components/Profile/documents.d.ts +6 -0
  36. package/dist/components/Profile/documents.js +24 -0
  37. package/dist/components/Profile/index.d.ts +6 -0
  38. package/dist/components/Profile/index.js +592 -0
  39. package/dist/components/Receive/index.d.ts +2 -0
  40. package/dist/components/Receive/index.js +75 -0
  41. package/dist/components/Send/index.d.ts +6 -0
  42. package/dist/components/Send/index.js +387 -0
  43. package/dist/components/Shared/Keyboard/index.d.ts +1 -0
  44. package/dist/components/Shared/Keyboard/index.js +4 -0
  45. package/dist/components/Shared/Keyboard/keyboard.d.ts +8 -0
  46. package/dist/components/Shared/Keyboard/keyboard.js +152 -0
  47. package/dist/components/Shared/button.d.ts +11 -0
  48. package/dist/components/Shared/button.js +64 -0
  49. package/dist/components/Shared/incode.d.ts +20 -0
  50. package/dist/components/Shared/incode.js +202 -0
  51. package/dist/components/Shared/inputField.d.ts +7 -0
  52. package/dist/components/Shared/inputField.js +48 -0
  53. package/dist/components/Shared/pin.d.ts +9 -0
  54. package/dist/components/Shared/pin.js +96 -0
  55. package/dist/components/Shared/step.d.ts +8 -0
  56. package/dist/components/Shared/step.js +48 -0
  57. package/dist/components/Shared/transition.d.ts +7 -0
  58. package/dist/components/Shared/transition.js +11 -0
  59. package/dist/components/SignIn/index.d.ts +4 -0
  60. package/dist/components/SignIn/index.js +266 -0
  61. package/dist/components/SignIn/types.d.ts +7 -0
  62. package/dist/components/SignIn/types.js +1 -0
  63. package/dist/components/SignUp/biometric.d.ts +3 -0
  64. package/dist/components/SignUp/biometric.js +77 -0
  65. package/dist/components/SignUp/index.d.ts +3 -0
  66. package/dist/components/SignUp/index.js +393 -0
  67. package/dist/components/SignUp/pin.d.ts +3 -0
  68. package/dist/components/SignUp/pin.js +950 -0
  69. package/dist/components/SignUp/privacy.d.ts +2 -0
  70. package/dist/components/SignUp/privacy.js +259 -0
  71. package/dist/components/SignUp/terms.d.ts +2 -0
  72. package/dist/components/SignUp/terms.js +524 -0
  73. package/dist/components/SignUp/types.d.ts +54 -0
  74. package/dist/components/SignUp/types.js +1 -0
  75. package/dist/components/SignUp/userInfo.d.ts +3 -0
  76. package/dist/components/SignUp/userInfo.js +47 -0
  77. package/dist/components/WalletPortfolio/index.d.ts +3 -0
  78. package/dist/components/WalletPortfolio/index.js +557 -0
  79. package/dist/components/WalletPortfolio/tokenRow.d.ts +17 -0
  80. package/dist/components/WalletPortfolio/tokenRow.js +11 -0
  81. package/dist/components/WalletPortfolio/types.d.ts +10 -0
  82. package/dist/components/WalletPortfolio/types.js +1 -0
  83. package/dist/createSimplePaletteValueFilter-CsgjlRAs.js +659 -0
  84. package/dist/createSvgIcon-CAZr4ukt.js +249 -0
  85. package/dist/createTheme-NrBCWesw.js +3386 -0
  86. package/dist/debounce-46wSf_lW.js +15 -0
  87. package/dist/defaultTheme-OIfL8Ia7.js +5 -0
  88. package/dist/dialog-success-BDNJV4Tk.js +4 -0
  89. package/dist/dividerClasses-Z7VLlu5C.js +10 -0
  90. package/dist/documents-CL4Ajr_B.js +569 -0
  91. package/dist/exactProp-C1Lmtwf_.js +13 -0
  92. package/dist/extendSxProp-CuERe1TA.js +37 -0
  93. package/dist/hoc/withThemeProvider.d.ts +6 -0
  94. package/dist/hoc/withThemeProvider.js +635 -0
  95. package/dist/hooks/useDialog/index.d.ts +5 -0
  96. package/dist/hooks/useDialog/index.js +78 -0
  97. package/dist/hooks/useDialog/types.d.ts +14 -0
  98. package/dist/hooks/useDialog/types.js +1 -0
  99. package/dist/hooks/useSnackBar.d.ts +14 -0
  100. package/dist/hooks/useSnackBar.js +968 -0
  101. package/dist/index-CAoLi5Qq.js +827 -0
  102. package/dist/index-Cq3eHOnB.js +22 -0
  103. package/dist/index-DKTkUdik.js +6 -0
  104. package/dist/index-iAyNk1r6.js +72 -0
  105. package/dist/main.d.ts +7 -0
  106. package/dist/main.js +16 -0
  107. package/dist/pin-empty-D9665KFr.js +6 -0
  108. package/dist/react-redux-VW99uJjf.js +5908 -0
  109. package/dist/react-webcam-Cov1TP0q.js +639 -0
  110. package/dist/styled-Da6GnxEE.js +5 -0
  111. package/dist/styles.module-Ctfaq7f2.js +10 -0
  112. package/dist/styles.module-KeND8lCR.js +9 -0
  113. package/dist/tokenRow-Cdd_jFjp.js +206 -0
  114. package/dist/useFormControl-Bo6Tf_xo.js +46 -0
  115. package/dist/useSlot-CURNJ3JC.js +306 -0
  116. package/dist/useTheme-DWRMvRU8.js +9 -0
  117. package/dist/useTheme-nlj1B_-c.js +11 -0
  118. package/dist/useThemeProps-BqWuFW3z.js +40 -0
  119. package/dist/useThemeWithoutDefault-BdYkMk0o.js +12 -0
  120. package/dist/useTimeout-lr7ryrda.js +75 -0
  121. package/dist/util/constants.d.ts +20 -0
  122. package/dist/util/constants.js +23 -0
  123. package/dist/util/conversions.d.ts +9 -0
  124. package/dist/util/conversions.js +22284 -0
  125. package/dist/util/functions.d.ts +15 -0
  126. package/dist/util/functions.js +94 -0
  127. package/dist/utils-_FXWkn40.js +19473 -0
  128. package/dist/wallet-DN7ej6mj.js +273 -0
  129. package/package.json +59 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Everest NPM frontend features
2
+
3
+ These will be used by fronend web applications to integrate Everest Features like Sign In, Sign Up, Buy etc.
@@ -0,0 +1,300 @@
1
+ import * as A from "react";
2
+ import { f as R, P as r } from "./createTheme-NrBCWesw.js";
3
+ import { s as b, m, u as D, a as S, b as T } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
4
+ import { g as C } from "./dividerClasses-Z7VLlu5C.js";
5
+ import { jsx as f } from "react/jsx-runtime";
6
+ import { c as I } from "./createSvgIcon-CAZr4ukt.js";
7
+ const L = (e) => {
8
+ const {
9
+ absolute: t,
10
+ children: i,
11
+ classes: s,
12
+ flexItem: p,
13
+ light: l,
14
+ orientation: o,
15
+ textAlign: a,
16
+ variant: n
17
+ } = e;
18
+ return T({
19
+ root: ["root", t && "absolute", n, l && "light", o === "vertical" && "vertical", p && "flexItem", i && "withChildren", i && o === "vertical" && "withChildrenVertical", a === "right" && o !== "vertical" && "textAlignRight", a === "left" && o !== "vertical" && "textAlignLeft"],
20
+ wrapper: ["wrapper", o === "vertical" && "wrapperVertical"]
21
+ }, C, s);
22
+ }, O = b("div", {
23
+ name: "MuiDivider",
24
+ slot: "Root",
25
+ overridesResolver: (e, t) => {
26
+ const {
27
+ ownerState: i
28
+ } = e;
29
+ return [t.root, i.absolute && t.absolute, t[i.variant], i.light && t.light, i.orientation === "vertical" && t.vertical, i.flexItem && t.flexItem, i.children && t.withChildren, i.children && i.orientation === "vertical" && t.withChildrenVertical, i.textAlign === "right" && i.orientation !== "vertical" && t.textAlignRight, i.textAlign === "left" && i.orientation !== "vertical" && t.textAlignLeft];
30
+ }
31
+ })(m(({
32
+ theme: e
33
+ }) => ({
34
+ margin: 0,
35
+ // Reset browser default style.
36
+ flexShrink: 0,
37
+ borderWidth: 0,
38
+ borderStyle: "solid",
39
+ borderColor: (e.vars || e).palette.divider,
40
+ borderBottomWidth: "thin",
41
+ variants: [{
42
+ props: {
43
+ absolute: !0
44
+ },
45
+ style: {
46
+ position: "absolute",
47
+ bottom: 0,
48
+ left: 0,
49
+ width: "100%"
50
+ }
51
+ }, {
52
+ props: {
53
+ light: !0
54
+ },
55
+ style: {
56
+ borderColor: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : R(e.palette.divider, 0.08)
57
+ }
58
+ }, {
59
+ props: {
60
+ variant: "inset"
61
+ },
62
+ style: {
63
+ marginLeft: 72
64
+ }
65
+ }, {
66
+ props: {
67
+ variant: "middle",
68
+ orientation: "horizontal"
69
+ },
70
+ style: {
71
+ marginLeft: e.spacing(2),
72
+ marginRight: e.spacing(2)
73
+ }
74
+ }, {
75
+ props: {
76
+ variant: "middle",
77
+ orientation: "vertical"
78
+ },
79
+ style: {
80
+ marginTop: e.spacing(1),
81
+ marginBottom: e.spacing(1)
82
+ }
83
+ }, {
84
+ props: {
85
+ orientation: "vertical"
86
+ },
87
+ style: {
88
+ height: "100%",
89
+ borderBottomWidth: 0,
90
+ borderRightWidth: "thin"
91
+ }
92
+ }, {
93
+ props: {
94
+ flexItem: !0
95
+ },
96
+ style: {
97
+ alignSelf: "stretch",
98
+ height: "auto"
99
+ }
100
+ }, {
101
+ props: ({
102
+ ownerState: t
103
+ }) => !!t.children,
104
+ style: {
105
+ display: "flex",
106
+ whiteSpace: "nowrap",
107
+ textAlign: "center",
108
+ border: 0,
109
+ borderTopStyle: "solid",
110
+ borderLeftStyle: "solid",
111
+ "&::before, &::after": {
112
+ content: '""',
113
+ alignSelf: "center"
114
+ }
115
+ }
116
+ }, {
117
+ props: ({
118
+ ownerState: t
119
+ }) => t.children && t.orientation !== "vertical",
120
+ style: {
121
+ "&::before, &::after": {
122
+ width: "100%",
123
+ borderTop: `thin solid ${(e.vars || e).palette.divider}`,
124
+ borderTopStyle: "inherit"
125
+ }
126
+ }
127
+ }, {
128
+ props: ({
129
+ ownerState: t
130
+ }) => t.orientation === "vertical" && t.children,
131
+ style: {
132
+ flexDirection: "column",
133
+ "&::before, &::after": {
134
+ height: "100%",
135
+ borderLeft: `thin solid ${(e.vars || e).palette.divider}`,
136
+ borderLeftStyle: "inherit"
137
+ }
138
+ }
139
+ }, {
140
+ props: ({
141
+ ownerState: t
142
+ }) => t.textAlign === "right" && t.orientation !== "vertical",
143
+ style: {
144
+ "&::before": {
145
+ width: "90%"
146
+ },
147
+ "&::after": {
148
+ width: "10%"
149
+ }
150
+ }
151
+ }, {
152
+ props: ({
153
+ ownerState: t
154
+ }) => t.textAlign === "left" && t.orientation !== "vertical",
155
+ style: {
156
+ "&::before": {
157
+ width: "10%"
158
+ },
159
+ "&::after": {
160
+ width: "90%"
161
+ }
162
+ }
163
+ }]
164
+ }))), W = b("span", {
165
+ name: "MuiDivider",
166
+ slot: "Wrapper",
167
+ overridesResolver: (e, t) => {
168
+ const {
169
+ ownerState: i
170
+ } = e;
171
+ return [t.wrapper, i.orientation === "vertical" && t.wrapperVertical];
172
+ }
173
+ })(m(({
174
+ theme: e
175
+ }) => ({
176
+ display: "inline-block",
177
+ paddingLeft: `calc(${e.spacing(1)} * 1.2)`,
178
+ paddingRight: `calc(${e.spacing(1)} * 1.2)`,
179
+ variants: [{
180
+ props: {
181
+ orientation: "vertical"
182
+ },
183
+ style: {
184
+ paddingTop: `calc(${e.spacing(1)} * 1.2)`,
185
+ paddingBottom: `calc(${e.spacing(1)} * 1.2)`
186
+ }
187
+ }]
188
+ }))), g = /* @__PURE__ */ A.forwardRef(function(t, i) {
189
+ const s = D({
190
+ props: t,
191
+ name: "MuiDivider"
192
+ }), {
193
+ absolute: p = !1,
194
+ children: l,
195
+ className: o,
196
+ orientation: a = "horizontal",
197
+ component: n = l || a === "vertical" ? "div" : "hr",
198
+ flexItem: h = !1,
199
+ light: u = !1,
200
+ role: c = n !== "hr" ? "separator" : void 0,
201
+ textAlign: x = "center",
202
+ variant: w = "fullWidth",
203
+ ...y
204
+ } = s, d = {
205
+ ...s,
206
+ absolute: p,
207
+ component: n,
208
+ flexItem: h,
209
+ light: u,
210
+ orientation: a,
211
+ role: c,
212
+ textAlign: x,
213
+ variant: w
214
+ }, v = L(d);
215
+ return /* @__PURE__ */ f(O, {
216
+ as: n,
217
+ className: S(v.root, o),
218
+ role: c,
219
+ ref: i,
220
+ ownerState: d,
221
+ "aria-orientation": c === "separator" && (n !== "hr" || a === "vertical") ? a : void 0,
222
+ ...y,
223
+ children: l ? /* @__PURE__ */ f(W, {
224
+ className: v.wrapper,
225
+ ownerState: d,
226
+ children: l
227
+ }) : null
228
+ });
229
+ });
230
+ g && (g.muiSkipListHighlight = !0);
231
+ process.env.NODE_ENV !== "production" && (g.propTypes = {
232
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
233
+ // │ These PropTypes are generated from the TypeScript type definitions. │
234
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
235
+ // └─────────────────────────────────────────────────────────────────────┘
236
+ /**
237
+ * Absolutely position the element.
238
+ * @default false
239
+ */
240
+ absolute: r.bool,
241
+ /**
242
+ * The content of the component.
243
+ */
244
+ children: r.node,
245
+ /**
246
+ * Override or extend the styles applied to the component.
247
+ */
248
+ classes: r.object,
249
+ /**
250
+ * @ignore
251
+ */
252
+ className: r.string,
253
+ /**
254
+ * The component used for the root node.
255
+ * Either a string to use a HTML element or a component.
256
+ */
257
+ component: r.elementType,
258
+ /**
259
+ * If `true`, a vertical divider will have the correct height when used in flex container.
260
+ * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
261
+ * @default false
262
+ */
263
+ flexItem: r.bool,
264
+ /**
265
+ * If `true`, the divider will have a lighter color.
266
+ * @default false
267
+ * @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
268
+ */
269
+ light: r.bool,
270
+ /**
271
+ * The component orientation.
272
+ * @default 'horizontal'
273
+ */
274
+ orientation: r.oneOf(["horizontal", "vertical"]),
275
+ /**
276
+ * @ignore
277
+ */
278
+ role: r.string,
279
+ /**
280
+ * The system prop that allows defining system overrides as well as additional CSS styles.
281
+ */
282
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
283
+ /**
284
+ * The text alignment.
285
+ * @default 'center'
286
+ */
287
+ textAlign: r.oneOf(["center", "left", "right"]),
288
+ /**
289
+ * The variant to use.
290
+ * @default 'fullWidth'
291
+ */
292
+ variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
293
+ });
294
+ const B = I(/* @__PURE__ */ f("path", {
295
+ d: "m10 17 5-5-5-5z"
296
+ }), "ArrowRight");
297
+ export {
298
+ B as A,
299
+ g as D
300
+ };
@@ -0,0 +1,58 @@
1
+ import { s as u, b as x, T as h, C as T, P as e } from "./createTheme-NrBCWesw.js";
2
+ import { e as y, a as B, g as N } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
3
+ import * as C from "react";
4
+ import { jsx as b } from "react/jsx-runtime";
5
+ import { u as g } from "./useTheme-DWRMvRU8.js";
6
+ import { e as v } from "./extendSxProp-CuERe1TA.js";
7
+ function E(n = {}) {
8
+ const {
9
+ themeId: t,
10
+ defaultTheme: m,
11
+ defaultClassName: a = "MuiBox-root",
12
+ generateClassName: r
13
+ } = n, c = y("div", {
14
+ shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
15
+ })(u);
16
+ return /* @__PURE__ */ C.forwardRef(function(l, f) {
17
+ const s = g(m), {
18
+ className: i,
19
+ component: d = "div",
20
+ ...p
21
+ } = v(l);
22
+ return /* @__PURE__ */ b(c, {
23
+ as: d,
24
+ ref: f,
25
+ className: B(i, r ? r(a) : a),
26
+ theme: t && s[t] || s,
27
+ ...p
28
+ });
29
+ });
30
+ }
31
+ const O = N("MuiBox", ["root"]), P = x(), j = E({
32
+ themeId: h,
33
+ defaultTheme: P,
34
+ defaultClassName: O.root,
35
+ generateClassName: T.generate
36
+ });
37
+ process.env.NODE_ENV !== "production" && (j.propTypes = {
38
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
39
+ // │ These PropTypes are generated from the TypeScript type definitions. │
40
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
41
+ // └─────────────────────────────────────────────────────────────────────┘
42
+ /**
43
+ * @ignore
44
+ */
45
+ children: e.node,
46
+ /**
47
+ * The component used for the root node.
48
+ * Either a string to use a HTML element or a component.
49
+ */
50
+ component: e.elementType,
51
+ /**
52
+ * The system prop that allows defining system overrides as well as additional CSS styles.
53
+ */
54
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
55
+ });
56
+ export {
57
+ j as B
58
+ };