@blockend/widget 1.0.33 → 1.0.35

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 (112) hide show
  1. package/dist/{AllRoutes-B04uZfaa.js → AllRoutes-DugkOWXV.js} +25 -25
  2. package/dist/{Box-BWDJCGbI.js → Box-lMRW2PaS.js} +22 -23
  3. package/dist/{EstGas-QSPrdq3Y.js → EstGas-DApXMekb.js} +8 -8
  4. package/dist/{Grow-37t11tle.js → Grow-BmOmGrpF.js} +78 -78
  5. package/dist/{InputComp-bKVjlcbT.js → InputComp-DqG0cAPL.js} +13 -14
  6. package/dist/{LoadRoute-C3vokLk0.js → LoadRoute-CY28CNir.js} +6 -7
  7. package/dist/{QuotesProgress-DlgLQ2zo.js → QuotesProgress-DKRzn9CC.js} +1 -1
  8. package/dist/{SwapAsset-tD6wSJDD.js → SwapAsset-_vxoTdQp.js} +1 -1
  9. package/dist/{Tooltip-BqYgFn1F.js → Tooltip-Dp716hKk.js} +62 -62
  10. package/dist/{TxnButton-DefErcCE.js → TxnButton-D3z24dcS.js} +17 -17
  11. package/dist/{add-D32G_xKI.js → add-C6Dd-LAC.js} +1 -1
  12. package/dist/{all-wallets-LjjqiTnJ.js → all-wallets-Ue3bK59r.js} +1 -1
  13. package/dist/{app-store-S7C23kTz.js → app-store-Dud4QgNG.js} +1 -1
  14. package/dist/{apple-DMd4RArz.js → apple-BQ9MbbZP.js} +1 -1
  15. package/dist/{arrow-bottom-C0cVMl2n.js → arrow-bottom-CLN6rDK4.js} +1 -1
  16. package/dist/{arrow-bottom-circle-veMvHYVR.js → arrow-bottom-circle-CAv8sIRF.js} +1 -1
  17. package/dist/{arrow-left-B6VdOxSY.js → arrow-left-Cl_E0hNw.js} +1 -1
  18. package/dist/{arrow-right-CyrokJyU.js → arrow-right-CQfpVVH2.js} +1 -1
  19. package/dist/{arrow-top-S8qh5z92.js → arrow-top-D0_30fV2.js} +1 -1
  20. package/dist/{bank-B9ySjxm-.js → bank-Gn2clmBo.js} +1 -1
  21. package/dist/{basic-BXha5sM_.js → basic-l63VwNjO.js} +3 -3
  22. package/dist/{browser-CWmyZDF1.js → browser-BAo5lJYu.js} +1 -1
  23. package/dist/{card-TzoSVbiE.js → card-DQnyJ64c.js} +1 -1
  24. package/dist/{ccip-B97isPV8.js → ccip-fmXR9hIJ.js} +20 -20
  25. package/dist/{checkmark-Be4tNZY8.js → checkmark-Bgrnmjc2.js} +1 -1
  26. package/dist/{checkmark-bold-sAoooMoy.js → checkmark-bold-CNMA2OcU.js} +1 -1
  27. package/dist/{chevron-bottom-Cdd52Yir.js → chevron-bottom-BxzOHeJ4.js} +1 -1
  28. package/dist/{chevron-left-Dp8rM2qD.js → chevron-left-CRr_2LeK.js} +1 -1
  29. package/dist/{chevron-right-kH3Pgt8h.js → chevron-right-DFiUzznM.js} +1 -1
  30. package/dist/{chevron-top-lx-9iWm1.js → chevron-top-D3wrOEcS.js} +1 -1
  31. package/dist/{chrome-store-BGxPgdkC.js → chrome-store-DIUE3uCu.js} +1 -1
  32. package/dist/{clock-B3r9UiFY.js → clock-BAbkNjJ8.js} +1 -1
  33. package/dist/{close-Cc6SJ0A9.js → close-DeVKtBcs.js} +1 -1
  34. package/dist/{coinPlaceholder-DqH2n2v1.js → coinPlaceholder-CHSsNp63.js} +1 -1
  35. package/dist/{compass-CiKYczAi.js → compass-Dh52fIVy.js} +1 -1
  36. package/dist/{copy-DR0dlbF5.js → copy-CYY4XxHc.js} +1 -1
  37. package/dist/{core-D9oRINim.js → core-Da3u4kMK.js} +3 -3
  38. package/dist/{cursor-vv-pXAzC.js → cursor-BwcZP2cU.js} +1 -1
  39. package/dist/{cursor-transparent-BABlb938.js → cursor-transparent-CtXdeK4G.js} +1 -1
  40. package/dist/{desktop-aFWdAU4O.js → desktop-C7IcMKV9.js} +1 -1
  41. package/dist/{disconnect-Cz0MwjuJ.js → disconnect-BdG-TPWL.js} +1 -1
  42. package/dist/{discord-BkNiORDh.js → discord-BImtLuzd.js} +1 -1
  43. package/dist/{down-BAe_uoMx.js → down-BtVvHOzf.js} +2 -2
  44. package/dist/{etherscan-4wT3rhj5.js → etherscan-D-UJzW7q.js} +1 -1
  45. package/dist/{exclamation-triangle-CSv7sjYs.js → exclamation-triangle-CbRencsh.js} +1 -1
  46. package/dist/{extension-B4acJb16.js → extension-Bll0VLAA.js} +1 -1
  47. package/dist/{external-link-zFdRyGh8.js → external-link-D5iTJDZv.js} +1 -1
  48. package/dist/{facebook-D2h4REjy.js → facebook-Dja21bj4.js} +1 -1
  49. package/dist/{farcaster-acRwWMSn.js → farcaster-wqGtJf3Y.js} +1 -1
  50. package/dist/{filters-DE1yHCJy.js → filters-CLJd1l8F.js} +1 -1
  51. package/dist/{getChainIds-B4BLdhKd.js → getChainIds-DO6ce5TV.js} +75 -75
  52. package/dist/{getCosmosAddress-BfMdDDaH.js → getCosmosAddress-C5pNbsko.js} +2 -2
  53. package/dist/{github-BrCBPjDS.js → github-f0C3iHqc.js} +1 -1
  54. package/dist/{google-DYC6Um96.js → google-DxQ46arS.js} +1 -1
  55. package/dist/{hamburger-sg42nvNd.js → hamburger-C9Bw6yep.js} +20 -20
  56. package/dist/{help-circle-CKvIeM4J.js → help-circle-dS8EBAry.js} +1 -1
  57. package/dist/{id-FXzF1V3L.js → id-ChzRi8fN.js} +1 -1
  58. package/dist/{image-rOZMtN9o.js → image-C4gVrtIF.js} +1 -1
  59. package/dist/{index-Y94UWILI.js → index-0aVGx_Hc.js} +123 -123
  60. package/dist/{index-CIjTGwYH.js → index-BA8XYZpF.js} +1 -1
  61. package/dist/{index-DSlXIHtr.js → index-Bxxa78XW.js} +11887 -10132
  62. package/dist/{index-Cmj3dp3U.js → index-CVoa8Hgu.js} +53 -54
  63. package/dist/{index-B5gV3APh.js → index-DLzlYWHQ.js} +78 -78
  64. package/dist/{index-PIAjHNgG.js → index-DeccqcIO.js} +43 -43
  65. package/dist/{index-SiMIoFT9.js → index-Dwbg5825.js} +22 -23
  66. package/dist/{index-B0E-rGOh.js → index-TVbBp9wm.js} +45 -45
  67. package/dist/{index-baetUfmH.js → index-tAuc55ux.js} +4 -4
  68. package/dist/{index-DOcwHfd3.js → index-vqjyuZy1.js} +93 -93
  69. package/dist/{index-DEovHqJS.js → index-wScYaxes.js} +14 -14
  70. package/dist/{index.es-TLoHC_Sf.js → index.es-C26YWYPo.js} +2 -2
  71. package/dist/{index.es-D6RvS0tB.js → index.es-D7hCDC6u.js} +5 -5
  72. package/dist/index.es.js +5 -4
  73. package/dist/{info-dh7qmm_R.js → info-CPtEiYP6.js} +1 -1
  74. package/dist/{info-circle-BYfEprqC.js → info-circle-tJHDDMS5.js} +1 -1
  75. package/dist/{lightbulb-3S8w5B31.js → lightbulb-YyzViRA6.js} +1 -1
  76. package/dist/{mail-DgcPoOPs.js → mail-CEUmlTAH.js} +1 -1
  77. package/dist/{mobile-C8egRR0V.js → mobile-SPMfAP4M.js} +1 -1
  78. package/dist/{more-CU_oPwwY.js → more-BbFS2rE5.js} +1 -1
  79. package/dist/{network-placeholder-CqjaxlS7.js → network-placeholder-DtpejNXo.js} +1 -1
  80. package/dist/{nftPlaceholder-D6mZlZmz.js → nftPlaceholder-VelLVR2h.js} +1 -1
  81. package/dist/{off-DHeUICx6.js → off-B5RzO7gz.js} +1 -1
  82. package/dist/{play-store-DyGxjYv5.js → play-store-B6lrilds.js} +1 -1
  83. package/dist/{plus-k4hEdLAH.js → plus-D841ACT6.js} +1 -1
  84. package/dist/{qr-code-CkavLc0Z.js → qr-code-BVVyydbz.js} +1 -1
  85. package/dist/{recycle-horizontal-YzkyX2fY.js → recycle-horizontal-5btK8NFz.js} +1 -1
  86. package/dist/{refresh-E1vpdqCO.js → refresh-UDow-RHt.js} +1 -1
  87. package/dist/{reown-logo-BZbc_-R6.js → reown-logo-Be1Zzv4p.js} +1 -1
  88. package/dist/{search-B9vQkIsQ.js → search-bhqfNZLo.js} +1 -1
  89. package/dist/{send-C9ROxhya.js → send-DV1Umwvh.js} +1 -1
  90. package/dist/shareicon-CG3v7iKI.js +10 -0
  91. package/dist/{swapHorizontal-BhLDDuiL.js → swapHorizontal-GVVAbIQB.js} +1 -1
  92. package/dist/{swapHorizontalBold-B1IxJLem.js → swapHorizontalBold-DIiZDFVS.js} +1 -1
  93. package/dist/{swapHorizontalMedium--fvn_6KH.js → swapHorizontalMedium-B0HHYpQH.js} +1 -1
  94. package/dist/{swapHorizontalRoundedBold-fZowAp5m.js → swapHorizontalRoundedBold-pOgebJFJ.js} +1 -1
  95. package/dist/{swapVertical-CDwndQ4s.js → swapVertical-BZGOku0X.js} +1 -1
  96. package/dist/{telegram-BLbguJ3E.js → telegram-cNghrenC.js} +1 -1
  97. package/dist/{three-dots-DyIG0Aiq.js → three-dots-D_nRwG94.js} +1 -1
  98. package/dist/{twitch-054mPrps.js → twitch-VU9MS9ZS.js} +1 -1
  99. package/dist/{twitterIcon-DrlgKmas.js → twitterIcon-C7dYZ07E.js} +1 -1
  100. package/dist/{unsupportedProp-Dr6Tadlk.js → unsupportedProp-CQt_qbHh.js} +1 -1
  101. package/dist/{useRegisterError-C52MuupC.js → useRegisterError-C7rm81XT.js} +3257 -4302
  102. package/dist/{verify-uz7q7EMX.js → verify-798JgG6J.js} +1 -1
  103. package/dist/{verify-filled-Dw1_4VEj.js → verify-filled-_efdiB9e.js} +1 -1
  104. package/dist/{w3m-modal-CJM8um8G.js → w3m-modal-B4sFU_o-.js} +2 -2
  105. package/dist/{wallet-a9cCMI05.js → wallet-CAK8ngWh.js} +1 -1
  106. package/dist/{wallet-placeholder-Cqiz2_rA.js → wallet-placeholder-9gEZsks_.js} +1 -1
  107. package/dist/{walletconnect-96twp7MP.js → walletconnect-PjqXm1Yn.js} +1 -1
  108. package/dist/{warning-circle-C4mV6fIZ.js → warning-circle-CPjq_lzf.js} +1 -1
  109. package/dist/widget.css +1 -1
  110. package/dist/{x-vRe7FHUS.js → x-38WJsPNk.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/shareicon-CLveBf8l.js +0 -262
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-D9oRINim.js";
1
+ import { m as l } from "./core-Da3u4kMK.js";
2
2
  const h = l`<svg fill="none" viewBox="0 0 41 40">
3
3
  <g clip-path="url(#a)">
4
4
  <path fill="#000" d="M.8 0h40v40H.8z" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockend/widget",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "Blockend",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
@@ -1,262 +0,0 @@
1
- import { q as g, p, Z as _, g as N, _ as R, b as l, P as a } from "./index-DSlXIHtr.js";
2
- import * as T from "react";
3
- import { g as E, d as S, s as U, c as j, a as V, N as m, A as w } from "./useRegisterError-C52MuupC.js";
4
- import { jsx as d, jsxs as A } from "react/jsx-runtime";
5
- function I(e, t = 0, r = 1) {
6
- return p.env.NODE_ENV !== "production" && (e < t || e > r), _(e, t, r);
7
- }
8
- function L(e) {
9
- e = e.slice(1);
10
- const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
11
- let r = e.match(t);
12
- return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, s) => s < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
13
- }
14
- function x(e) {
15
- if (e.type)
16
- return e;
17
- if (e.charAt(0) === "#")
18
- return x(L(e));
19
- const t = e.indexOf("("), r = e.substring(0, t);
20
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
21
- throw new Error(p.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
22
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : g(9, e));
23
- let n = e.substring(t + 1, e.length - 1), s;
24
- if (r === "color") {
25
- if (n = n.split(" "), s = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(s) === -1)
26
- throw new Error(p.env.NODE_ENV !== "production" ? `MUI: unsupported \`${s}\` color space.
27
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : g(10, s));
28
- } else
29
- n = n.split(",");
30
- return n = n.map((i) => parseFloat(i)), {
31
- type: r,
32
- values: n,
33
- colorSpace: s
34
- };
35
- }
36
- function D(e) {
37
- const {
38
- type: t,
39
- colorSpace: r
40
- } = e;
41
- let {
42
- values: n
43
- } = e;
44
- return t.indexOf("rgb") !== -1 ? n = n.map((s, i) => i < 3 ? parseInt(s, 10) : s) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
45
- }
46
- function H(e, t) {
47
- return e = x(e), t = I(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, D(e);
48
- }
49
- function P(e) {
50
- return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
51
- }
52
- function X(e) {
53
- return parseFloat(e);
54
- }
55
- function Z(e) {
56
- return N("MuiSkeleton", e);
57
- }
58
- E("MuiSkeleton", ["root", "text", "rectangular", "rounded", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
59
- const B = ["animation", "className", "component", "height", "style", "variant", "width"];
60
- let h = (e) => e, b, v, y, C;
61
- const F = (e) => {
62
- const {
63
- classes: t,
64
- variant: r,
65
- animation: n,
66
- hasChildren: s,
67
- width: i,
68
- height: o
69
- } = e;
70
- return V({
71
- root: ["root", r, n, s && "withChildren", s && !i && "fitContent", s && !o && "heightAuto"]
72
- }, Z, t);
73
- }, W = w(b || (b = h`
74
- 0% {
75
- opacity: 1;
76
- }
77
-
78
- 50% {
79
- opacity: 0.4;
80
- }
81
-
82
- 100% {
83
- opacity: 1;
84
- }
85
- `)), K = w(v || (v = h`
86
- 0% {
87
- transform: translateX(-100%);
88
- }
89
-
90
- 50% {
91
- /* +0.5s of delay between each loop */
92
- transform: translateX(100%);
93
- }
94
-
95
- 100% {
96
- transform: translateX(100%);
97
- }
98
- `)), q = U("span", {
99
- name: "MuiSkeleton",
100
- slot: "Root",
101
- overridesResolver: (e, t) => {
102
- const {
103
- ownerState: r
104
- } = e;
105
- return [t.root, t[r.variant], r.animation !== !1 && t[r.animation], r.hasChildren && t.withChildren, r.hasChildren && !r.width && t.fitContent, r.hasChildren && !r.height && t.heightAuto];
106
- }
107
- })(({
108
- theme: e,
109
- ownerState: t
110
- }) => {
111
- const r = P(e.shape.borderRadius) || "px", n = X(e.shape.borderRadius);
112
- return l({
113
- display: "block",
114
- // Create a "on paper" color with sufficient contrast retaining the color
115
- backgroundColor: e.vars ? e.vars.palette.Skeleton.bg : H(e.palette.text.primary, e.palette.mode === "light" ? 0.11 : 0.13),
116
- height: "1.2em"
117
- }, t.variant === "text" && {
118
- marginTop: 0,
119
- marginBottom: 0,
120
- height: "auto",
121
- transformOrigin: "0 55%",
122
- transform: "scale(1, 0.60)",
123
- borderRadius: `${n}${r}/${Math.round(n / 0.6 * 10) / 10}${r}`,
124
- "&:empty:before": {
125
- content: '"\\00a0"'
126
- }
127
- }, t.variant === "circular" && {
128
- borderRadius: "50%"
129
- }, t.variant === "rounded" && {
130
- borderRadius: (e.vars || e).shape.borderRadius
131
- }, t.hasChildren && {
132
- "& > *": {
133
- visibility: "hidden"
134
- }
135
- }, t.hasChildren && !t.width && {
136
- maxWidth: "fit-content"
137
- }, t.hasChildren && !t.height && {
138
- height: "auto"
139
- });
140
- }, ({
141
- ownerState: e
142
- }) => e.animation === "pulse" && m(y || (y = h`
143
- animation: ${0} 2s ease-in-out 0.5s infinite;
144
- `), W), ({
145
- ownerState: e,
146
- theme: t
147
- }) => e.animation === "wave" && m(C || (C = h`
148
- position: relative;
149
- overflow: hidden;
150
-
151
- /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
152
- -webkit-mask-image: -webkit-radial-gradient(white, black);
153
-
154
- &::after {
155
- animation: ${0} 2s linear 0.5s infinite;
156
- background: linear-gradient(
157
- 90deg,
158
- transparent,
159
- ${0},
160
- transparent
161
- );
162
- content: '';
163
- position: absolute;
164
- transform: translateX(-100%); /* Avoid flash during server-side hydration */
165
- bottom: 0;
166
- left: 0;
167
- right: 0;
168
- top: 0;
169
- }
170
- `), K, (t.vars || t).palette.action.hover)), z = /* @__PURE__ */ T.forwardRef(function(t, r) {
171
- const n = S({
172
- props: t,
173
- name: "MuiSkeleton"
174
- }), {
175
- animation: s = "pulse",
176
- className: i,
177
- component: o = "span",
178
- height: c,
179
- style: $,
180
- variant: k = "text",
181
- width: O
182
- } = n, u = R(n, B), f = l({}, n, {
183
- animation: s,
184
- component: o,
185
- variant: k,
186
- hasChildren: !!u.children
187
- }), M = F(f);
188
- return /* @__PURE__ */ d(q, l({
189
- as: o,
190
- ref: r,
191
- className: j(M.root, i),
192
- ownerState: f
193
- }, u, {
194
- style: l({
195
- width: O,
196
- height: c
197
- }, $)
198
- }));
199
- });
200
- p.env.NODE_ENV !== "production" && (z.propTypes = {
201
- // ┌────────────────────────────── Warning ──────────────────────────────┐
202
- // │ These PropTypes are generated from the TypeScript type definitions. │
203
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
204
- // └─────────────────────────────────────────────────────────────────────┘
205
- /**
206
- * The animation.
207
- * If `false` the animation effect is disabled.
208
- * @default 'pulse'
209
- */
210
- animation: a.oneOf(["pulse", "wave", !1]),
211
- /**
212
- * Optional children to infer width and height from.
213
- */
214
- children: a.node,
215
- /**
216
- * Override or extend the styles applied to the component.
217
- */
218
- classes: a.object,
219
- /**
220
- * @ignore
221
- */
222
- className: a.string,
223
- /**
224
- * The component used for the root node.
225
- * Either a string to use a HTML element or a component.
226
- */
227
- component: a.elementType,
228
- /**
229
- * Height of the skeleton.
230
- * Useful when you don't want to adapt the skeleton to a text element but for instance a card.
231
- */
232
- height: a.oneOfType([a.number, a.string]),
233
- /**
234
- * @ignore
235
- */
236
- style: a.object,
237
- /**
238
- * The system prop that allows defining system overrides as well as additional CSS styles.
239
- */
240
- sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
241
- /**
242
- * The type of content that will be rendered.
243
- * @default 'text'
244
- */
245
- variant: a.oneOfType([a.oneOf(["circular", "rectangular", "rounded", "text"]), a.string]),
246
- /**
247
- * Width of the skeleton.
248
- * Useful when the skeleton is inside an inline element with no width of its own.
249
- */
250
- width: a.oneOfType([a.number, a.string])
251
- });
252
- function Y({ fill: e }) {
253
- return /* @__PURE__ */ A("svg", { width: "13", height: "13", viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
254
- /* @__PURE__ */ d("path", { d: "M6 2H2C1.44772 2 1 2.44772 1 3V11C1 11.5523 1.44772 12 2 12H10C10.5523 12 11 11.5523 11 11V7", stroke: e, "stroke-linecap": "round" }),
255
- /* @__PURE__ */ d("path", { d: "M4.64645 8.14645C4.45118 8.34171 4.45118 8.65829 4.64645 8.85355C4.84171 9.04882 5.15829 9.04882 5.35355 8.85355L4.64645 8.14645ZM13 1C13 0.723858 12.7761 0.5 12.5 0.5H8C7.72386 0.5 7.5 0.723858 7.5 1C7.5 1.27614 7.72386 1.5 8 1.5H12V5.5C12 5.77614 12.2239 6 12.5 6C12.7761 6 13 5.77614 13 5.5V1ZM5.35355 8.85355L12.8536 1.35355L12.1464 0.646447L4.64645 8.14645L5.35355 8.85355Z", fill: e })
256
- ] });
257
- }
258
- export {
259
- Y as S,
260
- z as a,
261
- H as b
262
- };