@blockend/widget 1.0.31 → 1.0.33

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 (161) hide show
  1. package/dist/AllRoutes-B04uZfaa.js +2209 -0
  2. package/dist/Box-BWDJCGbI.js +55 -0
  3. package/dist/EstGas-QSPrdq3Y.js +12863 -0
  4. package/dist/Grow-37t11tle.js +1656 -0
  5. package/dist/InputComp-bKVjlcbT.js +106 -0
  6. package/dist/LoadRoute-C3vokLk0.js +126 -0
  7. package/dist/QuotesProgress-DlgLQ2zo.js +28 -0
  8. package/dist/SwapAsset-tD6wSJDD.js +64 -0
  9. package/dist/Tooltip-BqYgFn1F.js +572 -0
  10. package/dist/TxnButton-DefErcCE.js +207 -0
  11. package/dist/WidgetForm.module-QHJ0-m5f.js +9 -0
  12. package/dist/{add-B8AfyNIx.js → add-D32G_xKI.js} +3 -3
  13. package/dist/{all-wallets-BaLLU39i.js → all-wallets-LjjqiTnJ.js} +3 -3
  14. package/dist/{app-store-DNpoABj1.js → app-store-S7C23kTz.js} +3 -3
  15. package/dist/{apple-DzzHtaL4.js → apple-DMd4RArz.js} +3 -3
  16. package/dist/{arrow-bottom-D2c13c51.js → arrow-bottom-C0cVMl2n.js} +3 -3
  17. package/dist/{arrow-bottom-circle-ls9OCLx1.js → arrow-bottom-circle-veMvHYVR.js} +3 -3
  18. package/dist/{arrow-left-BI3rQkNI.js → arrow-left-B6VdOxSY.js} +3 -3
  19. package/dist/{arrow-right-rnMzhVod.js → arrow-right-CyrokJyU.js} +3 -3
  20. package/dist/{arrow-top-CfA6PVMz.js → arrow-top-S8qh5z92.js} +3 -3
  21. package/dist/{bank-CmpAmHgg.js → bank-B9ySjxm-.js} +3 -3
  22. package/dist/basic-BXha5sM_.js +5783 -0
  23. package/dist/{browser-mEcjgS1H.js → browser-CWmyZDF1.js} +3 -3
  24. package/dist/{card-DkgIWcMc.js → card-TzoSVbiE.js} +3 -3
  25. package/dist/ccip-B97isPV8.js +228 -0
  26. package/dist/{checkmark-B_A013n2.js → checkmark-Be4tNZY8.js} +3 -3
  27. package/dist/{checkmark-bold-DestuG2T.js → checkmark-bold-sAoooMoy.js} +3 -3
  28. package/dist/{chevron-bottom-Di3S86dj.js → chevron-bottom-Cdd52Yir.js} +3 -3
  29. package/dist/{chevron-left-A9Wj-3tj.js → chevron-left-Dp8rM2qD.js} +3 -3
  30. package/dist/{chevron-right-UFxJogOZ.js → chevron-right-kH3Pgt8h.js} +3 -3
  31. package/dist/{chevron-top-BbZs3eaC.js → chevron-top-lx-9iWm1.js} +3 -3
  32. package/dist/{chrome-store-B4F6hJmy.js → chrome-store-BGxPgdkC.js} +3 -3
  33. package/dist/{clock-BbAQ09uV.js → clock-B3r9UiFY.js} +3 -3
  34. package/dist/clockIcon-C2W5xvyt.js +76 -0
  35. package/dist/{close-CY3oZP_D.js → close-Cc6SJ0A9.js} +3 -3
  36. package/dist/{coinPlaceholder-DpfsobZT.js → coinPlaceholder-DqH2n2v1.js} +3 -3
  37. package/dist/{compass-CHS7RZFk.js → compass-CiKYczAi.js} +3 -3
  38. package/dist/{copy-CEd4nGhs.js → copy-DR0dlbF5.js} +3 -3
  39. package/dist/core-D9oRINim.js +14967 -0
  40. package/dist/{cursor-transparent-Tm6k6Ws4.js → cursor-transparent-BABlb938.js} +3 -3
  41. package/dist/cursor-vv-pXAzC.js +7 -0
  42. package/dist/{desktop-CrSyXZkL.js → desktop-aFWdAU4O.js} +3 -3
  43. package/dist/{disconnect-BooT10E1.js → disconnect-Cz0MwjuJ.js} +3 -3
  44. package/dist/{discord-B982Qaml.js → discord-BkNiORDh.js} +3 -3
  45. package/dist/down-BAe_uoMx.js +606 -0
  46. package/dist/{etherscan-CFL0IcNl.js → etherscan-4wT3rhj5.js} +3 -3
  47. package/dist/ethertousd-CC_ezooz.js +6 -0
  48. package/dist/{exclamation-triangle-BBeGXYgt.js → exclamation-triangle-CSv7sjYs.js} +3 -3
  49. package/dist/{extension-C5WqJw73.js → extension-B4acJb16.js} +3 -3
  50. package/dist/{external-link-CcSxVDcd.js → external-link-zFdRyGh8.js} +3 -3
  51. package/dist/{facebook-DF0v9ED8.js → facebook-D2h4REjy.js} +3 -3
  52. package/dist/{farcaster-Boq7M4VK.js → farcaster-acRwWMSn.js} +3 -3
  53. package/dist/{filters-DfeymbPx.js → filters-DE1yHCJy.js} +3 -3
  54. package/dist/getChainIds-B4BLdhKd.js +1888 -0
  55. package/dist/getCosmosAddress-BfMdDDaH.js +9565 -0
  56. package/dist/{github-DQ8FV4bD.js → github-BrCBPjDS.js} +3 -3
  57. package/dist/{google-Dm8FDDZR.js → google-DYC6Um96.js} +3 -3
  58. package/dist/hamburger-sg42nvNd.js +3915 -0
  59. package/dist/{help-circle-CbgiAebR.js → help-circle-CKvIeM4J.js} +3 -3
  60. package/dist/{id-CzqxUksI.js → id-FXzF1V3L.js} +3 -3
  61. package/dist/{image-CsCGTIN-.js → image-rOZMtN9o.js} +3 -3
  62. package/dist/index-B0E-rGOh.js +159 -0
  63. package/dist/index-B5gV3APh.js +992 -0
  64. package/dist/index-CDq3vNnP.js +22 -0
  65. package/dist/index-CIjTGwYH.js +9 -0
  66. package/dist/index-Cmj3dp3U.js +473 -0
  67. package/dist/index-DEovHqJS.js +3010 -0
  68. package/dist/index-DOcwHfd3.js +13583 -0
  69. package/dist/index-DSlXIHtr.js +28701 -0
  70. package/dist/index-DTish3yr.js +1014 -0
  71. package/dist/index-PIAjHNgG.js +18613 -0
  72. package/dist/index-SiMIoFT9.js +331 -0
  73. package/dist/index-Y94UWILI.js +1460 -0
  74. package/dist/index-baetUfmH.js +252 -0
  75. package/dist/index.es-D6RvS0tB.js +366 -0
  76. package/dist/index.es-TLoHC_Sf.js +11678 -0
  77. package/dist/index.es.js +4 -4
  78. package/dist/{info-circle-Bt350Yzj.js → info-circle-BYfEprqC.js} +3 -3
  79. package/dist/{info-fKCfLW0k.js → info-dh7qmm_R.js} +3 -3
  80. package/dist/{lightbulb-BL9YBxiA.js → lightbulb-3S8w5B31.js} +3 -3
  81. package/dist/{mail-_g6CHQeQ.js → mail-DgcPoOPs.js} +3 -3
  82. package/dist/{mobile-B-EQ4IcH.js → mobile-C8egRR0V.js} +3 -3
  83. package/dist/{more-C3rpOdUy.js → more-CU_oPwwY.js} +3 -3
  84. package/dist/{network-placeholder-D9Ak7Xj_.js → network-placeholder-CqjaxlS7.js} +3 -3
  85. package/dist/{nftPlaceholder-CIIm2V_o.js → nftPlaceholder-D6mZlZmz.js} +3 -3
  86. package/dist/{off-DZjgI0eE.js → off-DHeUICx6.js} +3 -3
  87. package/dist/{play-store-DvRnagoF.js → play-store-DyGxjYv5.js} +3 -3
  88. package/dist/{plus-C2jN2huZ.js → plus-k4hEdLAH.js} +3 -3
  89. package/dist/{qr-code-B64HnZgi.js → qr-code-CkavLc0Z.js} +3 -3
  90. package/dist/{recycle-horizontal-CovcJGa_.js → recycle-horizontal-YzkyX2fY.js} +3 -3
  91. package/dist/{refresh-J1Vw6QMA.js → refresh-E1vpdqCO.js} +3 -3
  92. package/dist/{reown-logo-BsXoZ3KT.js → reown-logo-BZbc_-R6.js} +3 -3
  93. package/dist/{search-BC86wYXR.js → search-B9vQkIsQ.js} +3 -3
  94. package/dist/{send-BPA1bK5G.js → send-C9ROxhya.js} +3 -3
  95. package/dist/shareicon-CLveBf8l.js +262 -0
  96. package/dist/{sortDown-cDA6MpOw.js → sortDown-CjBaDQTU.js} +13 -13
  97. package/dist/{swapHorizontal-47_8ePle.js → swapHorizontal-BhLDDuiL.js} +3 -3
  98. package/dist/{swapHorizontalBold-CJ7TzeQP.js → swapHorizontalBold-B1IxJLem.js} +3 -3
  99. package/dist/{swapHorizontalMedium-CTACgUR9.js → swapHorizontalMedium--fvn_6KH.js} +3 -3
  100. package/dist/{swapHorizontalRoundedBold-Ht3_LABp.js → swapHorizontalRoundedBold-fZowAp5m.js} +3 -3
  101. package/dist/{swapVertical-DlS0V6DD.js → swapVertical-CDwndQ4s.js} +3 -3
  102. package/dist/{telegram-UZ00kvIE.js → telegram-BLbguJ3E.js} +3 -3
  103. package/dist/{three-dots-D9zVXr1j.js → three-dots-DyIG0Aiq.js} +3 -3
  104. package/dist/truncate-D9t92mVX.js +7 -0
  105. package/dist/{twitch-CP6rpz4m.js → twitch-054mPrps.js} +3 -3
  106. package/dist/{twitterIcon-Cm3I3FRU.js → twitterIcon-DrlgKmas.js} +3 -3
  107. package/dist/unsupportedProp-Dr6Tadlk.js +10 -0
  108. package/dist/useRegisterError-C52MuupC.js +9857 -0
  109. package/dist/validError-CDlJpg_f.js +6 -0
  110. package/dist/{verify-filled-CfgydKPa.js → verify-filled-Dw1_4VEj.js} +3 -3
  111. package/dist/{verify-DuUE85WT.js → verify-uz7q7EMX.js} +3 -3
  112. package/dist/w3m-modal-CJM8um8G.js +1471 -0
  113. package/dist/{wallet-BC2LSDlF.js → wallet-a9cCMI05.js} +3 -3
  114. package/dist/{wallet-placeholder-DugEJ7xM.js → wallet-placeholder-Cqiz2_rA.js} +3 -3
  115. package/dist/{walletconnect-wayCaYfk.js → walletconnect-96twp7MP.js} +7 -9
  116. package/dist/{warning-circle-Cy9YuvwU.js → warning-circle-C4mV6fIZ.js} +3 -3
  117. package/dist/{x-jggPFiy-.js → x-vRe7FHUS.js} +3 -3
  118. package/package.json +7 -19
  119. package/dist/AllRoutes-Bdi5ZW8W.js +0 -2604
  120. package/dist/Box-e4gA-y_H.js +0 -60
  121. package/dist/EstGas-C5ihS0Mw.js +0 -17108
  122. package/dist/Grow-B4K-I-E-.js +0 -2212
  123. package/dist/InputComp-C_UUZxNU.js +0 -114
  124. package/dist/LoadRoute-CnDhVKdh.js +0 -142
  125. package/dist/QuotesProgress-DxgPgPJE.js +0 -29
  126. package/dist/SwapAsset-CmmuxeQF.js +0 -65
  127. package/dist/Tooltip-D8YjOOKU.js +0 -718
  128. package/dist/TxnButton-CF-TLZrD.js +0 -302
  129. package/dist/WidgetForm.module-DhUUlwZP.js +0 -13
  130. package/dist/basic-Cx2xxgd9.js +0 -7109
  131. package/dist/ccip-BKpquA5i.js +0 -250
  132. package/dist/clockIcon-jSNFFrLy.js +0 -76
  133. package/dist/core-C-gr9X18.js +0 -17217
  134. package/dist/cursor-BTtIlTHP.js +0 -7
  135. package/dist/down-DDk8OoJG.js +0 -809
  136. package/dist/ethertousd-BOknTgU4.js +0 -7
  137. package/dist/getChainIds-6iugk2h0.js +0 -2431
  138. package/dist/getCosmosAddress-BgD5iV6f.js +0 -13998
  139. package/dist/hamburger-BYe_G11E.js +0 -4562
  140. package/dist/index-BAmjBHYR.js +0 -1087
  141. package/dist/index-BxHeZ9IF.js +0 -543
  142. package/dist/index-C7cb2O7r.js +0 -16078
  143. package/dist/index-CF9p4S_X.js +0 -11
  144. package/dist/index-C_vo1L7p.js +0 -24384
  145. package/dist/index-Ch7w83dW.js +0 -4217
  146. package/dist/index-Crhenmgw.js +0 -188
  147. package/dist/index-Cz5Dosd2.js +0 -412
  148. package/dist/index-D5OnT-__.js +0 -35858
  149. package/dist/index-DArR1lwi.js +0 -1759
  150. package/dist/index-hEJSpZe-.js +0 -308
  151. package/dist/index-m2O0cbD8.js +0 -1883
  152. package/dist/index-sLx4Edw4.js +0 -22
  153. package/dist/index.es-DIbGJsfa.js +0 -475
  154. package/dist/index.es-t6sHlseh.js +0 -12916
  155. package/dist/secp256k1-BkBK0mD5.js +0 -1681
  156. package/dist/shareicon-C88Wx-AM.js +0 -314
  157. package/dist/truncate-DSxFWEga.js +0 -7
  158. package/dist/unsupportedProp-DkeDzLfM.js +0 -14
  159. package/dist/useRegisterError-W_UfecIN.js +0 -19288
  160. package/dist/validError-rariWQ7G.js +0 -14
  161. package/dist/w3m-modal-Bl-DPlah.js +0 -1721
@@ -1,314 +0,0 @@
1
- import { q as formatMuiErrorMessage, p as process$1, Z as clamp, g as generateUtilityClass, _ as _objectWithoutPropertiesLoose, b as _extends, P as PropTypes } from "./index-D5OnT-__.js";
2
- import * as React from "react";
3
- import { g as generateUtilityClasses, d as useDefaultProps, s as styled, c as clsx, a as composeClasses, N as css, A as keyframes } from "./useRegisterError-W_UfecIN.js";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
- function clampWrapper(value, min = 0, max = 1) {
6
- if (process$1.env.NODE_ENV !== "production") {
7
- if (value < min || value > max) {
8
- }
9
- }
10
- return clamp(value, min, max);
11
- }
12
- function hexToRgb(color) {
13
- color = color.slice(1);
14
- const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, "g");
15
- let colors = color.match(re);
16
- if (colors && colors[0].length === 1) {
17
- colors = colors.map((n) => n + n);
18
- }
19
- return colors ? `rgb${colors.length === 4 ? "a" : ""}(${colors.map((n, index) => {
20
- return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3;
21
- }).join(", ")})` : "";
22
- }
23
- function decomposeColor(color) {
24
- if (color.type) {
25
- return color;
26
- }
27
- if (color.charAt(0) === "#") {
28
- return decomposeColor(hexToRgb(color));
29
- }
30
- const marker = color.indexOf("(");
31
- const type = color.substring(0, marker);
32
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(type) === -1) {
33
- throw new Error(process$1.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color}\` color.
34
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage(9, color));
35
- }
36
- let values = color.substring(marker + 1, color.length - 1);
37
- let colorSpace;
38
- if (type === "color") {
39
- values = values.split(" ");
40
- colorSpace = values.shift();
41
- if (values.length === 4 && values[3].charAt(0) === "/") {
42
- values[3] = values[3].slice(1);
43
- }
44
- if (["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(colorSpace) === -1) {
45
- throw new Error(process$1.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
46
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage(10, colorSpace));
47
- }
48
- } else {
49
- values = values.split(",");
50
- }
51
- values = values.map((value) => parseFloat(value));
52
- return {
53
- type,
54
- values,
55
- colorSpace
56
- };
57
- }
58
- function recomposeColor(color) {
59
- const {
60
- type,
61
- colorSpace
62
- } = color;
63
- let {
64
- values
65
- } = color;
66
- if (type.indexOf("rgb") !== -1) {
67
- values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);
68
- } else if (type.indexOf("hsl") !== -1) {
69
- values[1] = `${values[1]}%`;
70
- values[2] = `${values[2]}%`;
71
- }
72
- if (type.indexOf("color") !== -1) {
73
- values = `${colorSpace} ${values.join(" ")}`;
74
- } else {
75
- values = `${values.join(", ")}`;
76
- }
77
- return `${type}(${values})`;
78
- }
79
- function alpha(color, value) {
80
- color = decomposeColor(color);
81
- value = clampWrapper(value);
82
- if (color.type === "rgb" || color.type === "hsl") {
83
- color.type += "a";
84
- }
85
- if (color.type === "color") {
86
- color.values[3] = `/${value}`;
87
- } else {
88
- color.values[3] = value;
89
- }
90
- return recomposeColor(color);
91
- }
92
- function getUnit(input) {
93
- return String(input).match(/[\d.\-+]*\s*(.*)/)[1] || "";
94
- }
95
- function toUnitless(length) {
96
- return parseFloat(length);
97
- }
98
- function getSkeletonUtilityClass(slot) {
99
- return generateUtilityClass("MuiSkeleton", slot);
100
- }
101
- generateUtilityClasses("MuiSkeleton", ["root", "text", "rectangular", "rounded", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
102
- const _excluded = ["animation", "className", "component", "height", "style", "variant", "width"];
103
- let _ = (t) => t, _t, _t2, _t3, _t4;
104
- const useUtilityClasses = (ownerState) => {
105
- const {
106
- classes,
107
- variant,
108
- animation,
109
- hasChildren,
110
- width,
111
- height
112
- } = ownerState;
113
- const slots = {
114
- root: ["root", variant, animation, hasChildren && "withChildren", hasChildren && !width && "fitContent", hasChildren && !height && "heightAuto"]
115
- };
116
- return composeClasses(slots, getSkeletonUtilityClass, classes);
117
- };
118
- const pulseKeyframe = keyframes(_t || (_t = _`
119
- 0% {
120
- opacity: 1;
121
- }
122
-
123
- 50% {
124
- opacity: 0.4;
125
- }
126
-
127
- 100% {
128
- opacity: 1;
129
- }
130
- `));
131
- const waveKeyframe = keyframes(_t2 || (_t2 = _`
132
- 0% {
133
- transform: translateX(-100%);
134
- }
135
-
136
- 50% {
137
- /* +0.5s of delay between each loop */
138
- transform: translateX(100%);
139
- }
140
-
141
- 100% {
142
- transform: translateX(100%);
143
- }
144
- `));
145
- const SkeletonRoot = styled("span", {
146
- name: "MuiSkeleton",
147
- slot: "Root",
148
- overridesResolver: (props, styles) => {
149
- const {
150
- ownerState
151
- } = props;
152
- return [styles.root, styles[ownerState.variant], ownerState.animation !== false && styles[ownerState.animation], ownerState.hasChildren && styles.withChildren, ownerState.hasChildren && !ownerState.width && styles.fitContent, ownerState.hasChildren && !ownerState.height && styles.heightAuto];
153
- }
154
- })(({
155
- theme,
156
- ownerState
157
- }) => {
158
- const radiusUnit = getUnit(theme.shape.borderRadius) || "px";
159
- const radiusValue = toUnitless(theme.shape.borderRadius);
160
- return _extends({
161
- display: "block",
162
- // Create a "on paper" color with sufficient contrast retaining the color
163
- backgroundColor: theme.vars ? theme.vars.palette.Skeleton.bg : alpha(theme.palette.text.primary, theme.palette.mode === "light" ? 0.11 : 0.13),
164
- height: "1.2em"
165
- }, ownerState.variant === "text" && {
166
- marginTop: 0,
167
- marginBottom: 0,
168
- height: "auto",
169
- transformOrigin: "0 55%",
170
- transform: "scale(1, 0.60)",
171
- borderRadius: `${radiusValue}${radiusUnit}/${Math.round(radiusValue / 0.6 * 10) / 10}${radiusUnit}`,
172
- "&:empty:before": {
173
- content: '"\\00a0"'
174
- }
175
- }, ownerState.variant === "circular" && {
176
- borderRadius: "50%"
177
- }, ownerState.variant === "rounded" && {
178
- borderRadius: (theme.vars || theme).shape.borderRadius
179
- }, ownerState.hasChildren && {
180
- "& > *": {
181
- visibility: "hidden"
182
- }
183
- }, ownerState.hasChildren && !ownerState.width && {
184
- maxWidth: "fit-content"
185
- }, ownerState.hasChildren && !ownerState.height && {
186
- height: "auto"
187
- });
188
- }, ({
189
- ownerState
190
- }) => ownerState.animation === "pulse" && css(_t3 || (_t3 = _`
191
- animation: ${0} 2s ease-in-out 0.5s infinite;
192
- `), pulseKeyframe), ({
193
- ownerState,
194
- theme
195
- }) => ownerState.animation === "wave" && css(_t4 || (_t4 = _`
196
- position: relative;
197
- overflow: hidden;
198
-
199
- /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
200
- -webkit-mask-image: -webkit-radial-gradient(white, black);
201
-
202
- &::after {
203
- animation: ${0} 2s linear 0.5s infinite;
204
- background: linear-gradient(
205
- 90deg,
206
- transparent,
207
- ${0},
208
- transparent
209
- );
210
- content: '';
211
- position: absolute;
212
- transform: translateX(-100%); /* Avoid flash during server-side hydration */
213
- bottom: 0;
214
- left: 0;
215
- right: 0;
216
- top: 0;
217
- }
218
- `), waveKeyframe, (theme.vars || theme).palette.action.hover));
219
- const Skeleton = /* @__PURE__ */ React.forwardRef(function Skeleton2(inProps, ref) {
220
- const props = useDefaultProps({
221
- props: inProps,
222
- name: "MuiSkeleton"
223
- });
224
- const {
225
- animation = "pulse",
226
- className,
227
- component = "span",
228
- height,
229
- style,
230
- variant = "text",
231
- width
232
- } = props, other = _objectWithoutPropertiesLoose(props, _excluded);
233
- const ownerState = _extends({}, props, {
234
- animation,
235
- component,
236
- variant,
237
- hasChildren: Boolean(other.children)
238
- });
239
- const classes = useUtilityClasses(ownerState);
240
- return /* @__PURE__ */ jsx(SkeletonRoot, _extends({
241
- as: component,
242
- ref,
243
- className: clsx(classes.root, className),
244
- ownerState
245
- }, other, {
246
- style: _extends({
247
- width,
248
- height
249
- }, style)
250
- }));
251
- });
252
- process$1.env.NODE_ENV !== "production" ? Skeleton.propTypes = {
253
- // ┌────────────────────────────── Warning ──────────────────────────────┐
254
- // │ These PropTypes are generated from the TypeScript type definitions. │
255
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
256
- // └─────────────────────────────────────────────────────────────────────┘
257
- /**
258
- * The animation.
259
- * If `false` the animation effect is disabled.
260
- * @default 'pulse'
261
- */
262
- animation: PropTypes.oneOf(["pulse", "wave", false]),
263
- /**
264
- * Optional children to infer width and height from.
265
- */
266
- children: PropTypes.node,
267
- /**
268
- * Override or extend the styles applied to the component.
269
- */
270
- classes: PropTypes.object,
271
- /**
272
- * @ignore
273
- */
274
- className: PropTypes.string,
275
- /**
276
- * The component used for the root node.
277
- * Either a string to use a HTML element or a component.
278
- */
279
- component: PropTypes.elementType,
280
- /**
281
- * Height of the skeleton.
282
- * Useful when you don't want to adapt the skeleton to a text element but for instance a card.
283
- */
284
- height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
285
- /**
286
- * @ignore
287
- */
288
- style: PropTypes.object,
289
- /**
290
- * The system prop that allows defining system overrides as well as additional CSS styles.
291
- */
292
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
293
- /**
294
- * The type of content that will be rendered.
295
- * @default 'text'
296
- */
297
- variant: PropTypes.oneOfType([PropTypes.oneOf(["circular", "rectangular", "rounded", "text"]), PropTypes.string]),
298
- /**
299
- * Width of the skeleton.
300
- * Useful when the skeleton is inside an inline element with no width of its own.
301
- */
302
- width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
303
- } : void 0;
304
- function ShareIcon({ fill }) {
305
- return /* @__PURE__ */ jsxs("svg", { width: "13", height: "13", viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
306
- /* @__PURE__ */ jsx("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: fill, "stroke-linecap": "round" }),
307
- /* @__PURE__ */ jsx("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 })
308
- ] });
309
- }
310
- export {
311
- ShareIcon as S,
312
- Skeleton as a,
313
- alpha as b
314
- };
@@ -1,7 +0,0 @@
1
- function truncate(number, decimal) {
2
- let pow = Math.pow(10, decimal);
3
- return Math.trunc(number * pow) / pow;
4
- }
5
- export {
6
- truncate as t
7
- };
@@ -1,14 +0,0 @@
1
- import { p as process$1 } from "./index-D5OnT-__.js";
2
- function unsupportedProp(props, propName, componentName, location, propFullName) {
3
- if (process$1.env.NODE_ENV === "production") {
4
- return null;
5
- }
6
- const propFullNameSafe = propFullName || propName;
7
- if (typeof props[propName] !== "undefined") {
8
- return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
9
- }
10
- return null;
11
- }
12
- export {
13
- unsupportedProp as u
14
- };