@arcblock/ux 3.0.12 → 3.0.14

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 (79) hide show
  1. package/lib/ActivityIndicator/index.js +16 -16
  2. package/lib/Alert/index.js +17 -17
  3. package/lib/AnimationWaiter/index.js +13 -13
  4. package/lib/Blocklet/blocklet.js +15 -15
  5. package/lib/Blocklet/utils.d.ts +1 -1
  6. package/lib/Blocklet/utils.js +5 -6
  7. package/lib/BlockletNFT/index.js +23 -23
  8. package/lib/BlockletV2/utils.d.ts +1 -1
  9. package/lib/BlockletV2/utils.js +6 -7
  10. package/lib/Center/index.js +6 -7
  11. package/lib/CodeBlock/LightBox.d.ts +3 -2
  12. package/lib/CodeBlock/LightBox.js +2 -3
  13. package/lib/CookieConsent/index.js +1 -1
  14. package/lib/CountDown/index.js +23 -24
  15. package/lib/Datatable/CustomToolbar.js +71 -71
  16. package/lib/Datatable/TableSearch.js +18 -18
  17. package/lib/Datatable/index.js +77 -77
  18. package/lib/Earth/index.js +46 -47
  19. package/lib/Footer/index.js +8 -8
  20. package/lib/Icon/image.js +16 -17
  21. package/lib/InfoRow/index.js +11 -11
  22. package/lib/Layout/dashboard/index.js +18 -20
  23. package/lib/Layout/dashboard/sidebar.js +12 -12
  24. package/lib/Layout/dashboard-legacy/index.js +20 -20
  25. package/lib/Layout/dashboard-legacy/sidebar.js +16 -16
  26. package/lib/Layout/index.js +29 -29
  27. package/lib/Metric/index.js +9 -9
  28. package/lib/NFTDisplay/svg-embedder/inline-svg.js +6 -7
  29. package/lib/PageScroller/story/FullPage.js +1 -1
  30. package/lib/PageScroller/story/PageContain.js +1 -1
  31. package/lib/PageScroller/story/index.css +115 -0
  32. package/lib/PricingTable/index.js +9 -9
  33. package/lib/Result/result.js +14 -14
  34. package/lib/Screenshot/BaseScreenshot/index.js +9 -10
  35. package/lib/Screenshot/devices.css +1366 -0
  36. package/lib/Screenshot/index.js +27 -28
  37. package/lib/Video/index.js +11 -11
  38. package/lib/Wallet/Action.js +12 -12
  39. package/lib/Wallet/Download.js +11 -11
  40. package/lib/WechatPrompt/index.js +1 -1
  41. package/package.json +7 -7
  42. package/src/ActivityIndicator/index.jsx +2 -3
  43. package/src/Address/Address.stories.jsx +1 -2
  44. package/src/Alert/index.jsx +2 -2
  45. package/src/AnimationWaiter/index.jsx +2 -2
  46. package/src/Blocklet/blocklet.jsx +2 -2
  47. package/src/Blocklet/utils.jsx +1 -2
  48. package/src/BlockletNFT/index.jsx +2 -2
  49. package/src/BlockletV2/utils.js +1 -2
  50. package/src/Center/index.tsx +1 -2
  51. package/src/CodeBlock/LightBox.tsx +1 -2
  52. package/src/Colors/Colors.stories.jsx +1 -1
  53. package/src/CookieConsent/index.tsx +1 -1
  54. package/src/CountDown/index.tsx +2 -2
  55. package/src/DID/DID.stories.jsx +1 -2
  56. package/src/Datatable/CustomToolbar.jsx +2 -3
  57. package/src/Datatable/TableSearch.jsx +2 -2
  58. package/src/Datatable/index.jsx +4 -4
  59. package/src/Earth/index.tsx +2 -3
  60. package/src/Footer/index.tsx +1 -1
  61. package/src/Icon/image.tsx +1 -2
  62. package/src/InfoRow/index.tsx +2 -2
  63. package/src/Layout/dashboard/index.tsx +1 -3
  64. package/src/Layout/dashboard/sidebar.tsx +2 -2
  65. package/src/Layout/dashboard-legacy/index.tsx +1 -1
  66. package/src/Layout/dashboard-legacy/sidebar.tsx +2 -2
  67. package/src/Layout/index.tsx +1 -2
  68. package/src/Metric/index.tsx +2 -2
  69. package/src/NFTDisplay/svg-embedder/inline-svg.tsx +2 -2
  70. package/src/PricingTable/index.tsx +2 -2
  71. package/src/Result/result.tsx +1 -1
  72. package/src/Screenshot/BaseScreenshot/index.tsx +2 -2
  73. package/src/Screenshot/index.tsx +3 -3
  74. package/src/Video/index.tsx +2 -2
  75. package/src/Wallet/Action.tsx +2 -2
  76. package/src/Wallet/Download.tsx +2 -2
  77. package/src/WechatPrompt/index.tsx +1 -1
  78. package/vite.config.mjs +1 -1
  79. package/lib/ux.css +0 -1
@@ -1,12 +1,12 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { memo as k } from "react";
3
3
  import { useLocation as $, Link as s } from "react-router-dom";
4
- import { Box as w, Button as z, useTheme as v, Typography as I } from "@mui/material";
4
+ import { Button as w, useTheme as z, Typography as v } from "@mui/material";
5
5
  import { teal as l } from "@mui/material/colors";
6
- import j from "../../Icon/image.js";
7
- import L from "../../Logo/index.js";
8
- import { styled as d } from "../../Theme/index.js";
9
- function C({
6
+ import I from "../../Icon/image.js";
7
+ import j from "../../Logo/index.js";
8
+ import { styled as c } from "../../Theme/index.js";
9
+ function q({
10
10
  images: e,
11
11
  links: m,
12
12
  prefix: p = "/images",
@@ -14,14 +14,14 @@ function C({
14
14
  logo: f = void 0,
15
15
  ...x
16
16
  }) {
17
- const u = v(), b = $(), h = (o, n) => new RegExp(`/${n}`).test(b.pathname);
18
- return /* @__PURE__ */ a(T, { ...x, children: [
19
- /* @__PURE__ */ t(s, { to: "/", className: "sidebar-logo", children: f || /* @__PURE__ */ t(L, { showText: !1, size: 20 }) }),
17
+ const u = z(), b = $(), h = (o, n) => new RegExp(`/${n}`).test(b.pathname);
18
+ return /* @__PURE__ */ a(L, { ...x, children: [
19
+ /* @__PURE__ */ t(s, { to: "/", className: "sidebar-logo", children: f || /* @__PURE__ */ t(j, { showText: !1, size: 20 }) }),
20
20
  m.map(({ url: o, name: n, title: r, showBadge: y }) => {
21
21
  const i = h(o, n);
22
- return /* @__PURE__ */ a(A, { component: s, selected: i, to: o, children: [
22
+ return /* @__PURE__ */ a(T, { component: s, selected: i, to: o, children: [
23
23
  /* @__PURE__ */ t(
24
- j,
24
+ I,
25
25
  {
26
26
  name: e[n],
27
27
  size: 36,
@@ -30,14 +30,14 @@ function C({
30
30
  showBadge: y
31
31
  }
32
32
  ),
33
- /* @__PURE__ */ t(I, { component: "span", className: "menu-title", children: r })
33
+ /* @__PURE__ */ t(v, { component: "span", className: "menu-title", children: r })
34
34
  ] }, o);
35
35
  }),
36
36
  /* @__PURE__ */ t("div", { style: { flex: 1 } }),
37
37
  g
38
38
  ] });
39
39
  }
40
- const T = k(d(w)`
40
+ const L = k(c("div")`
41
41
  flex: 1;
42
42
  display: flex;
43
43
  flex-direction: column;
@@ -58,7 +58,7 @@ const T = k(d(w)`
58
58
  display: block;
59
59
  }
60
60
  }
61
- `), c = "linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))", A = d(z)`
61
+ `), d = "linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))", T = c(w)`
62
62
  && {
63
63
  display: flex;
64
64
  flex-direction: column;
@@ -66,13 +66,13 @@ const T = k(d(w)`
66
66
  align-items: center;
67
67
  width: 100%;
68
68
  transition: all 200ms ease-in-out;
69
- background: ${(e) => e.selected ? c : ""};
69
+ background: ${(e) => e.selected ? d : ""};
70
70
  padding: 24px 0;
71
71
  border-left: 2px solid ${(e) => e.selected ? l.A700 : "transparent"};
72
72
  border-radius: 0;
73
73
 
74
74
  &:hover {
75
- background: ${c};
75
+ background: ${d};
76
76
  border-left-color: ${l.A700};
77
77
  }
78
78
 
@@ -89,5 +89,5 @@ const T = k(d(w)`
89
89
  }
90
90
  `;
91
91
  export {
92
- C as default
92
+ q as default
93
93
  };
@@ -1,22 +1,22 @@
1
- import { jsx as e, jsxs as o, Fragment as O } from "react/jsx-runtime";
2
- import { useState as P, useEffect as R } from "react";
3
- import W from "react-helmet";
4
- import { Box as $, Container as t, Toolbar as u, Divider as C, List as G, Link as v, ListItemButton as M, ListItemText as j, AppBar as E, IconButton as F, Typography as w, Drawer as S } from "@mui/material";
5
- import { Menu as Z } from "@mui/icons-material";
6
- import A from "../Footer/index.js";
7
- import H from "../Wallet/Open.js";
1
+ import { jsx as e, jsxs as o, Fragment as P } from "react/jsx-runtime";
2
+ import { useState as R, useEffect as W } from "react";
3
+ import $ from "react-helmet";
4
+ import { Container as t, Toolbar as u, Divider as B, List as C, Link as v, ListItemButton as G, ListItemText as M, AppBar as j, IconButton as E, Typography as w, Drawer as F } from "@mui/material";
5
+ import { Menu as S } from "@mui/icons-material";
6
+ import Z from "../Footer/index.js";
7
+ import A from "../Wallet/Open.js";
8
8
  import b from "../Icon/index.js";
9
- import U from "../Logo/index.js";
9
+ import H from "../Logo/index.js";
10
10
  import { styled as x } from "../Theme/index.js";
11
- function ne({
11
+ function ie({
12
12
  title: i,
13
13
  brand: l,
14
14
  description: s = void 0,
15
15
  links: a = [],
16
- logo: c = /* @__PURE__ */ e(U, { showText: !1, style: { width: "40px", height: "40px" } }),
16
+ logo: c = /* @__PURE__ */ e(H, { showText: !1, style: { width: "40px", height: "40px" } }),
17
17
  showLogo: d = !1,
18
18
  addons: y = void 0,
19
- footer: k = /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(A, {}) }),
19
+ footer: k = /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(Z, {}) }),
20
20
  baseUrl: h = "",
21
21
  homeUrl: N = "/",
22
22
  variant: z = "shadow",
@@ -24,10 +24,10 @@ function ne({
24
24
  children: p,
25
25
  ...D
26
26
  }) {
27
- const [m, I] = P(!1), f = () => {
27
+ const [m, I] = R(!1), f = () => {
28
28
  I(!m);
29
29
  };
30
- if (R(() => {
30
+ if (W(() => {
31
31
  const { searchParams: r } = new URL(window.location.href), g = r.get("inviter");
32
32
  g && window.localStorage.setItem("inviter", g);
33
33
  }, []), L)
@@ -37,23 +37,23 @@ function ne({
37
37
  a.forEach((r) => {
38
38
  T.startsWith(r.url) && r.url.length > n.length && (n = r.url);
39
39
  });
40
- const B = /* @__PURE__ */ o("div", { children: [
40
+ const O = /* @__PURE__ */ o("div", { children: [
41
41
  /* @__PURE__ */ o(u, { className: "toolbar toolbar--drawer", children: [
42
42
  !!d && /* @__PURE__ */ e("div", { className: "menu-logo", children: c }),
43
43
  /* @__PURE__ */ e("div", { style: { flexGrow: 1, overflow: "hidden", textOverflow: "ellipsis" }, children: l })
44
44
  ] }),
45
- /* @__PURE__ */ e(C, {}),
46
- /* @__PURE__ */ e(G, { children: a.map((r) => /* @__PURE__ */ e(v, { className: "nav-link", href: r.url, underline: "hover", children: /* @__PURE__ */ e(M, { className: n === r.url ? "drawer-highlight-nav" : "", children: /* @__PURE__ */ o(j, { children: [
45
+ /* @__PURE__ */ e(B, {}),
46
+ /* @__PURE__ */ e(C, { children: a.map((r) => /* @__PURE__ */ e(v, { className: "nav-link", href: r.url, underline: "hover", children: /* @__PURE__ */ e(G, { className: n === r.url ? "drawer-highlight-nav" : "", children: /* @__PURE__ */ o(M, { children: [
47
47
  typeof r.icon == "string" ? /* @__PURE__ */ e(b, { name: r.icon, size: 18 * (r.iconZoom || 1), color: "inherit", style: { marginRight: "5px" } }) : r.icon,
48
48
  r.title
49
49
  ] }) }) }, r.url)) })
50
50
  ] });
51
- return /* @__PURE__ */ o(O, { children: [
52
- /* @__PURE__ */ o(q, { ...D, children: [
53
- /* @__PURE__ */ e(W, { title: i }),
54
- /* @__PURE__ */ e(E, { position: "fixed", className: `appbar appbar--${z}`, color: "default", style: { height: 56 }, children: /* @__PURE__ */ e(t, { disableGutters: !0, children: /* @__PURE__ */ o(u, { className: "toolbar", children: [
51
+ return /* @__PURE__ */ o(P, { children: [
52
+ /* @__PURE__ */ o(U, { ...D, children: [
53
+ /* @__PURE__ */ e($, { title: i }),
54
+ /* @__PURE__ */ e(j, { position: "fixed", className: `appbar appbar--${z}`, color: "default", style: { height: 56 }, children: /* @__PURE__ */ e(t, { disableGutters: !0, children: /* @__PURE__ */ o(u, { className: "toolbar", children: [
55
55
  /* @__PURE__ */ e(
56
- F,
56
+ E,
57
57
  {
58
58
  color: "inherit",
59
59
  "aria-label": "open drawer",
@@ -61,7 +61,7 @@ function ne({
61
61
  onClick: f,
62
62
  className: "menu-button",
63
63
  size: "large",
64
- children: /* @__PURE__ */ e(Z, {})
64
+ children: /* @__PURE__ */ e(S, {})
65
65
  }
66
66
  ),
67
67
  !!d && /* @__PURE__ */ e("div", { className: "menu-logo", children: c }),
@@ -109,10 +109,10 @@ function ne({
109
109
  /* @__PURE__ */ e("div", { className: "toolbar" }),
110
110
  /* @__PURE__ */ e(t, { style: { marginTop: 16, flex: 1 }, children: p }),
111
111
  k,
112
- !!h && /* @__PURE__ */ e(H, { locale: "zh", link: h })
112
+ !!h && /* @__PURE__ */ e(A, { locale: "zh", link: h })
113
113
  ] }),
114
- /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
115
- S,
114
+ /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(
115
+ F,
116
116
  {
117
117
  variant: "temporary",
118
118
  open: m,
@@ -125,12 +125,12 @@ function ne({
125
125
  // Better open performance on mobile.
126
126
  disablePortal: !0
127
127
  },
128
- children: B
128
+ children: O
129
129
  }
130
130
  ) })
131
131
  ] });
132
132
  }
133
- const q = x($)`
133
+ const U = x("div")`
134
134
  width: 100%;
135
135
  min-height: 100vh;
136
136
  display: flex;
@@ -213,7 +213,7 @@ const q = x($)`
213
213
  }
214
214
  }
215
215
  }
216
- `, J = x("nav")`
216
+ `, q = x("nav")`
217
217
  width: 240px;
218
218
  .drawer-paper {
219
219
  width: 240px;
@@ -241,5 +241,5 @@ const q = x($)`
241
241
  }
242
242
  `;
243
243
  export {
244
- ne as default
244
+ ie as default
245
245
  };
@@ -1,21 +1,21 @@
1
1
  import { jsx as i, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
- import { Box as x, Link as h } from "@mui/material";
3
- import f from "../Icon/image.js";
4
- import { styled as g } from "../Theme/index.js";
5
- function $({
2
+ import { Link as x } from "@mui/material";
3
+ import h from "../Icon/image.js";
4
+ import { styled as f } from "../Theme/index.js";
5
+ function z({
6
6
  icon: e,
7
7
  value: r,
8
8
  name: t,
9
9
  url: a = "",
10
10
  animated: o = !1,
11
- LinkComponent: s = h,
11
+ LinkComponent: s = x,
12
12
  prefix: l = "/images",
13
13
  iconColor: p = "#222222",
14
14
  iconStyle: c = {}
15
15
  }) {
16
16
  const n = /* @__PURE__ */ m(d, { children: [
17
17
  /* @__PURE__ */ i("div", { className: "metric__image", children: /* @__PURE__ */ i(
18
- f,
18
+ h,
19
19
  {
20
20
  name: e,
21
21
  alt: typeof t == "string" ? t : "",
@@ -36,9 +36,9 @@ function $({
36
36
  /* @__PURE__ */ i("div", { className: "metric__name", children: t })
37
37
  ] })
38
38
  ] });
39
- return /* @__PURE__ */ i(_, { children: a ? /* @__PURE__ */ i(s, { to: a, children: n }) : n });
39
+ return /* @__PURE__ */ i(g, { children: a ? /* @__PURE__ */ i(s, { to: a, children: n }) : n });
40
40
  }
41
- const _ = g(x)`
41
+ const g = f("div")`
42
42
  border-left: 1px solid ${(e) => e.theme.palette.divider};
43
43
  padding: 10px 0 10px 16px;
44
44
  @media (max-width: ${(e) => e.theme.breakpoints.values.sm}px) {
@@ -111,5 +111,5 @@ const _ = g(x)`
111
111
  }
112
112
  `;
113
113
  export {
114
- $ as default
114
+ z as default
115
115
  };
@@ -1,15 +1,14 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import n from "react-shadow/emotion";
3
- import { Box as e } from "@mui/material";
2
+ import r from "react-shadow/emotion";
4
3
  import { styled as o } from "../../Theme/index.js";
5
- function a({ svg: r, ...i }) {
6
- return /* @__PURE__ */ t(m, { ...i, children: /* @__PURE__ */ t(h, { dangerouslySetInnerHTML: { __html: r } }) });
4
+ function l({ svg: i, ...n }) {
5
+ return /* @__PURE__ */ t(e, { ...n, children: /* @__PURE__ */ t(d, { dangerouslySetInnerHTML: { __html: i } }) });
7
6
  }
8
- const m = o(n.span)`
7
+ const e = o(r.span)`
9
8
  display: block;
10
9
  width: 100%;
11
10
  height: 100%;
12
- `, h = o(e)`
11
+ `, d = o("div")`
13
12
  &,
14
13
  & > svg {
15
14
  height: 100%;
@@ -19,5 +18,5 @@ const m = o(n.span)`
19
18
  }
20
19
  `;
21
20
  export {
22
- a as default
21
+ l as default
23
22
  };
@@ -7,7 +7,7 @@ import c from "./SecondComponent.js";
7
7
  import u from "./ThirdComponent.js";
8
8
  import d from "./FourthComponent.js";
9
9
  import f from "./FifthComponent.js";
10
- /* empty css */
10
+ import "./index.css";
11
11
  function y() {
12
12
  const [e, a] = m(0), n = [];
13
13
  for (let o = 0; o < 5; o++)
@@ -7,7 +7,7 @@ import p from "./SecondComponent.js";
7
7
  import d from "./ThirdComponent.js";
8
8
  import h from "./FourthComponent.js";
9
9
  import u from "./FifthComponent.js";
10
- /* empty css */
10
+ import "./index.css";
11
11
  function F() {
12
12
  const [e, a] = s(0), n = [];
13
13
  for (let o = 0; o < 5; o++)
@@ -0,0 +1,115 @@
1
+ html,
2
+ body {
3
+ margin: 0;
4
+ height: 100%;
5
+ width: 100%;
6
+ overflow: hidden;
7
+ }
8
+
9
+ .links {
10
+ display: flex;
11
+ flex-direction: column;
12
+ margin-left: 50px;
13
+ }
14
+
15
+ .links .link {
16
+ margin-top: 20px;
17
+ }
18
+
19
+ .component {
20
+ height: 100%;
21
+ width: 100%;
22
+ display: flex;
23
+ }
24
+
25
+ .component.first-component {
26
+ background-color: gray;
27
+ position: relative;
28
+ }
29
+
30
+ .first-component--inside-scroller {
31
+ position: absolute;
32
+ right: 20px;
33
+ top: 100px;
34
+ }
35
+
36
+ .component.second-component {
37
+ background-color: red;
38
+ }
39
+
40
+ .component.third-component {
41
+ background-color: blue;
42
+ }
43
+
44
+ .component.fourth-component {
45
+ background-color: yellow;
46
+ }
47
+
48
+ .component.fifth-component {
49
+ background-color: purple;
50
+ }
51
+
52
+ h2 {
53
+ margin: auto;
54
+ text-align: center;
55
+ }
56
+
57
+ .pagination-additional-class {
58
+ margin: 0;
59
+ position: fixed;
60
+ top: 20px;
61
+ display: flex;
62
+ justify-content: center;
63
+ width: 100%;
64
+ }
65
+
66
+ .pagination-additional-class > li:not(:last-of-type) > a,
67
+ .pagination-additional-class > li:not(:last-of-type) > span {
68
+ margin-right: 50px;
69
+ }
70
+
71
+ .demo-page-contain {
72
+ display: flex;
73
+ justify-content: center;
74
+ align-items: center;
75
+ height: 100vh;
76
+ flex-direction: column;
77
+ }
78
+
79
+ .demo-page-contain__hint {
80
+ margin-bottom: 20px;
81
+ }
82
+
83
+ @media (max-width: 768px) {
84
+ .pagination-additional-class > li:not(:last-of-type) > a,
85
+ .pagination-additional-class > li:not(:last-of-type) > span {
86
+ margin-right: 5px;
87
+ }
88
+ }
89
+
90
+ .demo-page-full {
91
+ position: relative;
92
+ }
93
+ .progress {
94
+ position: absolute;
95
+ left: 0;
96
+ bottom: 0;
97
+ width: 0;
98
+ overflow: hidden;
99
+ transition: all 0.2s linear;
100
+ }
101
+ .progress,
102
+ .progress:before {
103
+ height: 6px;
104
+ }
105
+ .progress:before {
106
+ display: block;
107
+ width: 100%;
108
+ background-color: #4e6af6;
109
+ content: '';
110
+ transform-origin: 0 100%;
111
+ transform: skewX(45deg);
112
+ }
113
+ .progress[style*='100%']:before {
114
+ transform: none;
115
+ }
@@ -1,10 +1,10 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { Box as a, Grid as n } from "@mui/material";
3
- import m from "./PricingPlan.js";
4
- import { styled as o } from "../Theme/index.js";
5
- import { withDeprecated as d } from "../Util/deprecate.js";
6
- function f({ plans: i = [] }) {
7
- return i && i.length > 0 ? /* @__PURE__ */ e(c, { variant: "even", children: /* @__PURE__ */ e(
2
+ import { Grid as n } from "@mui/material";
3
+ import a from "./PricingPlan.js";
4
+ import { styled as m } from "../Theme/index.js";
5
+ import { withDeprecated as o } from "../Util/deprecate.js";
6
+ function d({ plans: i = [] }) {
7
+ return i && i.length > 0 ? /* @__PURE__ */ e(f, { variant: "even", children: /* @__PURE__ */ e(
8
8
  n,
9
9
  {
10
10
  container: !0,
@@ -21,14 +21,14 @@ function f({ plans: i = [] }) {
21
21
  sm: 6,
22
22
  md: 3
23
23
  },
24
- children: /* @__PURE__ */ e(m, { plan: t })
24
+ children: /* @__PURE__ */ e(a, { plan: t })
25
25
  },
26
26
  r
27
27
  ))
28
28
  }
29
29
  ) }) : null;
30
30
  }
31
- const u = d(f, { name: "PricingTable" }), c = o(a)`
31
+ const g = o(d, { name: "PricingTable" }), f = m("div")`
32
32
  padding: 100px 0;
33
33
  text-align: center;
34
34
  background-color: ${(i) => i.variant === "even" ? "#fbfbfb" : "#ffffff"};
@@ -42,5 +42,5 @@ const u = d(f, { name: "PricingTable" }), c = o(a)`
42
42
  }
43
43
  `;
44
44
  export {
45
- u as default
45
+ g as default
46
46
  };
@@ -1,11 +1,11 @@
1
- import { jsxs as f, jsx as n } from "react/jsx-runtime";
2
- import { Box as t } from "@mui/material";
1
+ import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
+ import { Box as n } from "@mui/material";
3
3
  import { styled as c } from "../Theme/index.js";
4
- function g({ icon: r = null, title: o = "", description: e = "", extra: i = null, ...l }) {
4
+ function g({ icon: r = null, title: t = "", description: o = "", extra: i = null, ...l }) {
5
5
  return /* @__PURE__ */ f(s, { ...l, children: [
6
6
  r,
7
- typeof o == "string" ? /* @__PURE__ */ n(
8
- t,
7
+ typeof t == "string" ? /* @__PURE__ */ e(
8
+ n,
9
9
  {
10
10
  sx: {
11
11
  mt: 3,
@@ -14,11 +14,11 @@ function g({ icon: r = null, title: o = "", description: e = "", extra: i = null
14
14
  color: "#47494E",
15
15
  textAlign: "center"
16
16
  },
17
- children: o
17
+ children: t
18
18
  }
19
- ) : o,
20
- typeof e == "string" ? /* @__PURE__ */ n(
21
- t,
19
+ ) : t,
20
+ typeof o == "string" ? /* @__PURE__ */ e(
21
+ n,
22
22
  {
23
23
  sx: {
24
24
  mt: 1,
@@ -26,11 +26,11 @@ function g({ icon: r = null, title: o = "", description: e = "", extra: i = null
26
26
  color: "#7F828B",
27
27
  textAlign: "center"
28
28
  },
29
- children: e
29
+ children: o
30
30
  }
31
- ) : e,
32
- /* @__PURE__ */ n(
33
- t,
31
+ ) : o,
32
+ /* @__PURE__ */ e(
33
+ n,
34
34
  {
35
35
  sx: {
36
36
  mt: 3
@@ -40,7 +40,7 @@ function g({ icon: r = null, title: o = "", description: e = "", extra: i = null
40
40
  )
41
41
  ] });
42
42
  }
43
- const s = c(t)`
43
+ const s = c("div")`
44
44
  box-sizing: border-box;
45
45
  display: flex;
46
46
  flex-direction: column;
@@ -1,21 +1,20 @@
1
1
  import { jsx as o, jsxs as c } from "react/jsx-runtime";
2
- import { Box as p } from "@mui/material";
3
- import m from "./shells/Phone.js";
2
+ import p from "./shells/Phone.js";
4
3
  import f from "./shells/Macbook.js";
5
- import { styled as u } from "../../Theme/index.js";
6
- const b = {
7
- phone: m,
4
+ import { styled as m } from "../../Theme/index.js";
5
+ const u = {
6
+ phone: p,
8
7
  macbook: f
9
8
  };
10
- function k({ width: e = 0, children: i, type: s = "phone", ...n }) {
11
- const r = s.toLowerCase(), { Shell: a, ratio: l, screenData: t, width: d } = b[r || "phone"], h = u(p)`
9
+ function $({ width: e = 0, children: i, type: s = "phone", ...n }) {
10
+ const r = s.toLowerCase(), { Shell: a, ratio: d, screenData: t, width: l } = u[r || "phone"], h = m("div")`
12
11
  position: relative;
13
12
  display: inline-block;
14
- width: ${e || `${d}px`};
13
+ width: ${e || `${l}px`};
15
14
  &:after {
16
15
  display: block;
17
16
  content: '';
18
- padding-bottom: ${l * 100}%;
17
+ padding-bottom: ${d * 100}%;
19
18
  }
20
19
  > svg {
21
20
  display: block;
@@ -53,5 +52,5 @@ function k({ width: e = 0, children: i, type: s = "phone", ...n }) {
53
52
  ] }) });
54
53
  }
55
54
  export {
56
- k as default
55
+ $ as default
57
56
  };