diff --git a/src/Router.tsx b/src/Router.tsx
index fdaf7aa..eec003f 100644
--- a/src/Router.tsx
+++ b/src/Router.tsx
@@ -11,9 +11,9 @@ import { useEffect } from "react";
import { useUi } from "./contexts/UI";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faBars } from "@fortawesome/free-solid-svg-icons";
-import { Body } from "./docs/lib/Structure/Body";
-import { Side } from "./docs/lib/Structure/Side";
-import { Main } from "./docs/lib/Structure/Main";
+import { Side } from "@polkadot-ui/react/base/structure/Side";
+import { Body } from "@polkadot-ui/react/base/structure/Body";
+import { Main } from "@polkadot-ui/react/base/structure/Main";
export const Router = () => {
const { sideMenuOpen } = useUi();
diff --git a/src/Theme.tsx b/src/Theme.tsx
index 9c8ee8b..bf569e3 100644
--- a/src/Theme.tsx
+++ b/src/Theme.tsx
@@ -2,17 +2,19 @@
// SPDX-License-Identifier: MIT
import { Router } from "./Router";
+import { useTheme } from "./contexts/Theme";
// App-wide theme classes are inserted here.
//
// App-specific theming is added to `ThemeProvider`.
// `@polkadot-ui/react` themes are added to `Entry`.
export const Theme = () => {
+ const { mode } = useTheme();
// NOTE: theme not currently in use. Defaulting to light mode.
// const { mode } = useTheme();
return (
-
+
);
diff --git a/src/config/routes.tsx b/src/config/routes.tsx
index a7ce124..40b0dbf 100644
--- a/src/config/routes.tsx
+++ b/src/config/routes.tsx
@@ -2,13 +2,22 @@
SPDX-License-Identifier: MIT */
import { ReactNode } from "react";
+import { Buttons } from "../docs/Components/Buttons";
+import { Loaders } from "../docs/Experimental/Loaders";
+import { Charts } from "../docs/Components/Charts";
import { Polkicon } from "../docs/Components/Polkicon";
import { Extensions } from "../docs/Assets/Extensions";
import { Validators } from "../docs/Assets/Validators";
+import { Grid } from "../docs/Experimental/Grid";
+import { Card } from "../docs/Experimental/Cards";
import { Overlay } from "../docs/Components/Overlay";
+import { AccountCard } from "../docs/Experimental/AccountCard";
import { Odometer } from "../docs/Components/Odometer";
+import { Modal } from "../docs/Experimental/Modal";
import { UtilitiesBase } from "../docs/Utilities/Base";
import { UtilitiesUnit } from "../docs/Utilities/Unit";
+import { Switch } from "../docs/Experimental/Switch";
+import { Textfield } from "../docs/Experimental/Textfield";
import { Overview } from "../docs/GettingStarted/Overview";
import { Installation } from "../docs/GettingStarted/Installation";
import { UsingThemes } from "../docs/GettingStarted/UsingThemes";
@@ -57,6 +66,15 @@ const gettingStartedRoutes = [
},
];
+// recipes
+const recipesRoutes = [
+ {
+ path: "account-card",
+ name: "Account card",
+ element:
,
+ },
+];
+
// utils
const utilsRoutes = [
{
@@ -71,6 +89,44 @@ const utilsRoutes = [
},
];
+// Layout Components
+const componentsLayoutRoutes = [
+ {
+ path: "grid",
+ name: "Grid",
+ element:
,
+ },
+ {
+ path: "card",
+ name: "Card",
+ element:
,
+ },
+ {
+ path: "modal",
+ name: "Modal",
+ element:
,
+ },
+];
+
+// Input Components
+const componentsInputRoutes = [
+ {
+ path: "buttons",
+ name: "Buttons",
+ element:
,
+ },
+ {
+ path: "switch",
+ name: "Switch",
+ element:
,
+ },
+ {
+ path: "textfield",
+ name: "Textfield",
+ element:
,
+ },
+];
+
const assetsRoutes = [
{
path: "extensions",
@@ -110,6 +166,16 @@ const componentsRoutes = [
name: "Overlay",
element:
,
},
+ {
+ path: "loader",
+ name: "Loaders",
+ element:
,
+ },
+ {
+ path: "charts",
+ name: "Charts",
+ element:
,
+ },
];
export const routes: Routes = [
@@ -121,6 +187,9 @@ export const routes: Routes = [
...gettingStartedRoutes,
...assetsRoutes,
...componentsRoutes,
+ ...componentsLayoutRoutes,
+ ...componentsInputRoutes,
+ ...recipesRoutes,
...utilsRoutes,
];
@@ -158,8 +227,20 @@ export const routeCategories: RouteCategories = [
paths: ["extensions-provider", "extension-accounts-provider"],
},
{
- heading: "UI",
- paths: ["polkicon", "odometer", "overlay"],
+ paths: ["polkicon"],
+ },
+ {
+ paths: ["odometer"],
+ },
+ {
+ paths: ["overlay"],
+ },
+ {
+ paths: ["charts"],
+ },
+ {
+ heading: "Inputs",
+ paths: ["buttons"],
},
],
},
@@ -171,6 +252,23 @@ export const routeCategories: RouteCategories = [
},
],
},
+ {
+ name: "Experimental",
+ paths: [
+ {
+ heading: "Components",
+ paths: ["loader", "modal", "switch", "textfield"],
+ },
+ {
+ heading: "Layout",
+ paths: ["card", "grid"],
+ },
+ {
+ heading: "Recipes",
+ paths: ["account-card", "modal-connect"],
+ },
+ ],
+ },
];
export const nameFromRoute = (path: string): string | undefined =>
diff --git a/src/docs/Components/Buttons/ButtonHelp.tsx b/src/docs/Components/Buttons/ButtonHelp.tsx
new file mode 100644
index 0000000..e01c2af
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonHelp.tsx
@@ -0,0 +1,23 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonHelp = () => {
+ const code = `
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonMono.tsx b/src/docs/Components/Buttons/ButtonMono.tsx
new file mode 100644
index 0000000..e819626
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonMono.tsx
@@ -0,0 +1,26 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonMono = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonMonoInvert.tsx b/src/docs/Components/Buttons/ButtonMonoInvert.tsx
new file mode 100644
index 0000000..6c49b06
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonMonoInvert.tsx
@@ -0,0 +1,31 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonMonoInvert = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonPrimary.tsx b/src/docs/Components/Buttons/ButtonPrimary.tsx
new file mode 100644
index 0000000..75f376a
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonPrimary.tsx
@@ -0,0 +1,32 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonPrimary = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonPrimaryInvert.tsx b/src/docs/Components/Buttons/ButtonPrimaryInvert.tsx
new file mode 100644
index 0000000..45d2875
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonPrimaryInvert.tsx
@@ -0,0 +1,37 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonPrimaryInvert = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonSecondary.tsx b/src/docs/Components/Buttons/ButtonSecondary.tsx
new file mode 100644
index 0000000..edba493
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonSecondary.tsx
@@ -0,0 +1,26 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonSecondary = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonSubmit.tsx b/src/docs/Components/Buttons/ButtonSubmit.tsx
new file mode 100644
index 0000000..4cf8e4d
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonSubmit.tsx
@@ -0,0 +1,40 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { faArrowAltCircleUp } from "@fortawesome/free-solid-svg-icons";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonSubmit = () => {
+ const code = `
+
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonSubmitInvert.tsx b/src/docs/Components/Buttons/ButtonSubmitInvert.tsx
new file mode 100644
index 0000000..5655bd6
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonSubmitInvert.tsx
@@ -0,0 +1,48 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonSubmitInvert = () => {
+ const code = `
+
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonTab.tsx b/src/docs/Components/Buttons/ButtonTab.tsx
new file mode 100644
index 0000000..8bc0436
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonTab.tsx
@@ -0,0 +1,25 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonTab = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonTertiary.tsx b/src/docs/Components/Buttons/ButtonTertiary.tsx
new file mode 100644
index 0000000..cc8a8d4
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonTertiary.tsx
@@ -0,0 +1,26 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonTertiary = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/ButtonText.tsx b/src/docs/Components/Buttons/ButtonText.tsx
new file mode 100644
index 0000000..28b4b2a
--- /dev/null
+++ b/src/docs/Components/Buttons/ButtonText.tsx
@@ -0,0 +1,26 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { faUser } from "@fortawesome/free-solid-svg-icons";
+import { Demo } from "../../lib/Demo";
+
+export const ButtonText = () => {
+ const code = `
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Buttons/index.tsx b/src/docs/Components/Buttons/index.tsx
new file mode 100644
index 0000000..bb382be
--- /dev/null
+++ b/src/docs/Components/Buttons/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Buttons = () => (
+
+
+
+);
diff --git a/src/docs/Components/Buttons/main.tsx b/src/docs/Components/Buttons/main.tsx
new file mode 100644
index 0000000..df34d92
--- /dev/null
+++ b/src/docs/Components/Buttons/main.tsx
@@ -0,0 +1,77 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { ButtonPrimary } from "./ButtonPrimary";
+import { ButtonPrimaryInvert } from "./ButtonPrimaryInvert";
+import { ButtonSecondary } from "./ButtonSecondary";
+import { ButtonTertiary } from "./ButtonTertiary";
+import { ButtonMono } from "./ButtonMono";
+import { ButtonMonoInvert } from "./ButtonMonoInvert";
+import { ButtonText } from "./ButtonText";
+import { ButtonSubmit } from "./ButtonSubmit";
+import { ButtonSubmitInvert } from "./ButtonSubmitInvert";
+import { ButtonHelp } from "./ButtonHelp";
+import { ButtonTab } from "./ButtonTab";
+import { H3 } from "../../lib/Headers";
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Button Text
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Charts/ChartSpeed.tsx b/src/docs/Components/Charts/ChartSpeed.tsx
new file mode 100644
index 0000000..30dcd14
--- /dev/null
+++ b/src/docs/Components/Charts/ChartSpeed.tsx
@@ -0,0 +1,51 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+import { Chart } from "@polkadot-ui/react/base/structure/Chart";
+
+const colors = [
+ { value: 60, color: "red" },
+ { value: 200, color: "green" },
+ { value: 300, color: "blue" },
+ { value: 150, color: "purple" },
+];
+
+export const ChartSpeed = () => {
+ const code = `const colors = [
+ { value: 60, color: "red" },
+ { value: 200, color: "green" },
+ { value: 300, color: "blue" },
+ { value: 150, color: "purple" },
+];
+
+
+
+
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Charts/DonutStyles.tsx b/src/docs/Components/Charts/DonutStyles.tsx
new file mode 100644
index 0000000..4c47de4
--- /dev/null
+++ b/src/docs/Components/Charts/DonutStyles.tsx
@@ -0,0 +1,100 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+import { Chart } from "@polkadot-ui/react/base/structure/Chart";
+
+export const DonutStyles = () => {
+ const code = `const themeColors = [
+ { value: 60, color: "var(--background-default)" },
+ { value: 50, color: "var(--background-invert)" },
+ { value: 150, color: "var(--accent-color-primary)" },
+ { value: 200, color: "var(--accent-color-secondary)" },
+ { value: 30, color: "var(--button-secondary-background)" }
+];
+
+
+
+
+
+
+
+`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Charts/PieDead.tsx b/src/docs/Components/Charts/PieDead.tsx
new file mode 100644
index 0000000..bd36f77
--- /dev/null
+++ b/src/docs/Components/Charts/PieDead.tsx
@@ -0,0 +1,34 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Chart } from "@polkadot-ui/react/base/structure/Chart";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const PieDead = () => {
+ const code = `// "Dead" Pie example - when all values provided sum to 0.
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Charts/PieSimple.tsx b/src/docs/Components/Charts/PieSimple.tsx
new file mode 100644
index 0000000..f6a2755
--- /dev/null
+++ b/src/docs/Components/Charts/PieSimple.tsx
@@ -0,0 +1,63 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Chart } from "@polkadot-ui/react/base/structure/Chart";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const PieSimple = () => {
+ const code = `
+
+
`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Charts/index.tsx b/src/docs/Components/Charts/index.tsx
new file mode 100644
index 0000000..86acc73
--- /dev/null
+++ b/src/docs/Components/Charts/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Charts = () => (
+
+
+
+);
diff --git a/src/docs/Components/Charts/main.tsx b/src/docs/Components/Charts/main.tsx
new file mode 100644
index 0000000..358efdf
--- /dev/null
+++ b/src/docs/Components/Charts/main.tsx
@@ -0,0 +1,79 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { PieSimple } from "./PieSimple";
+import { DonutStyles } from "./DonutStyles";
+import { ChartSpeed } from "./ChartSpeed";
+
+import { DocProps } from "../../lib/types";
+import { PieDead } from "./PieDead";
+import { H2, H3 } from "../../lib/Headers";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+
Pie Chart
+
+ The Chart
component is a light-weight, CSS-rendered pie and
+ donut chart designed to display simple statistics. Charts can support
+ multiple segments and adjust their size via the diameter
{" "}
+ prop.
+
+
+
+ Pass items
into Chart
consisting of{" "}
+ value
and color
properties:
+
+
+
+
+
Empty Chart
+
+
+ If the sum of all chart values equate to zero, the chart will display no
+ segments and simply render a circle with a background color of{" "}
+ ‑‑background‑default
:
+
+
+
+
+
Donut Chart
+
+
+ Donut charts can also be configured using the innerRadius
{" "}
+ prop:
+
+
+
+
+
Transition Speed
+
+
+ To control transition speed, the speed
prop can be passed
+ into charts. The default speed is 1
second:
+
+
+
+
+
+
+
CSS Variables Used
+
+
+
+ --background-default
: Default background for empty
+ charts.
+
+
+ >
+ );
+};
diff --git a/src/docs/Components/Overlay/main.tsx b/src/docs/Components/Overlay/main.tsx
index b96cf67..e22b42b 100644
--- a/src/docs/Components/Overlay/main.tsx
+++ b/src/docs/Components/Overlay/main.tsx
@@ -141,6 +141,9 @@ export const Doc = ({ folder, npm }: DocProps) => {
--background-modal
: Modal card background.
+
+ --transition-duration
: Duration of modal transitions.
+
--accent-color-primary
: Default text color of modal links
and butons.
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageAdvanced.tsx b/src/docs/Experimental/AccountCard/AccountCardPageAdvanced.tsx
new file mode 100644
index 0000000..74924d7
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageAdvanced.tsx
@@ -0,0 +1,51 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageAdvanced = () => {
+ const code = `import { AccountCard, IconProps, } from "@polkadot-cloud/recipes/AccountCard";
+...
+const iconProps: IconProps = {
+ copy: false,
+ position: "right",
+ gridSize: 3,
+ justify: "space-around",
+};
+...
+return (
+
+);`;
+
+ const iconProps: IconProps = {
+ copy: false,
+ position: "right",
+ gridSize: 3,
+ justify: "space-around",
+ };
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageAdvancedEllipsis.tsx b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedEllipsis.tsx
new file mode 100644
index 0000000..1f0dd83
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedEllipsis.tsx
@@ -0,0 +1,49 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageAdvancedEllipsis = () => {
+ const codeB = `import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+...
+const iconPropsLeft: IconProps = {
+ // position defaults to "left"
+ gridSize: 2,
+ justify: "space-around",
+};
+...
+return (
+
+)`;
+
+ const iconPropsLeft: IconProps = {
+ position: "left",
+ gridSize: 2,
+ justify: "space-around",
+ };
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageAdvancedEllipsisExtreme.tsx b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedEllipsisExtreme.tsx
new file mode 100644
index 0000000..447ec5e
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedEllipsisExtreme.tsx
@@ -0,0 +1,36 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard } from "@polkadot-ui/react/complex/AccountCard";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageAdvancedEllipsisExtreme = () => {
+ const code = `
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+...
+
+return (
+
+)`;
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageAdvancedExtraComponent.tsx b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedExtraComponent.tsx
new file mode 100644
index 0000000..647c0ce
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedExtraComponent.tsx
@@ -0,0 +1,81 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import {
+ AccountCard,
+ ExtraComponentProps,
+ IconProps,
+} from "@polkadot-ui/react/complex/AccountCard";
+
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageAdvancedExtraComponent = () => {
+ const code = `import { AccountCard, IconProps, ExtraComponentProps } from "@polkadot-ui/react/complex/AccountCard";
+...
+
+// Note: space/size of main component is automatically calculated based on the given sizes from the icon and extra component;
+
+const iconPropsLeft: IconProps = {
+ // position defaults to "left"
+ gridSize: 2,
+ justify: "space-around",
+};
+
+const extraComponentProps: ExtraComponentProps = {
+ component: (
+
+ console.log("1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73")
+ }
+ />
+ ),
+ gridSize: 2,
+ justify: "flex-end",
+};
+...
+return (
+
+)`;
+
+ const iconPropsLeft: IconProps = {
+ position: "left",
+ gridSize: 2,
+ justify: "space-around",
+ };
+
+ const extraComponentProps: ExtraComponentProps = {
+ component: (
+
+ console.log("1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73")
+ }
+ />
+ ),
+ gridSize: 2,
+ justify: "flex-end",
+ };
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageAdvancedExtraComponentDiff.tsx b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedExtraComponentDiff.tsx
new file mode 100644
index 0000000..7ffbf9c
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedExtraComponentDiff.tsx
@@ -0,0 +1,79 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import {
+ AccountCard,
+ ExtraComponentProps,
+ IconProps,
+} from "@polkadot-ui/react/complex/AccountCard";
+import { Button } from "@polkadot-ui/react";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageAdvancedExtraComponentDiff = () => {
+ const code = `import { AccountCard, IconProps, ExtraComponentProps } from "@polkadot-ui/react/complex/AccountCard";
+...
+
+const iconProps: IconProps = {
+ copy: false,
+ position: "right",
+ gridSize: 2,
+ justify: "space-around",
+};
+
+const extraComponentProps: ExtraComponentProps = {
+ component: (
+
+ console.log("1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73")
+ }
+ />
+ ),
+ gridSize: 1,
+ justify: "space-around",
+};
+...
+return (
+
+)`;
+
+ const iconProps: IconProps = {
+ position: "right",
+ gridSize: 2,
+ justify: "space-around",
+ };
+
+ const extraComponentProps: ExtraComponentProps = {
+ component: (
+
+ console.log("1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73")
+ }
+ />
+ ),
+ gridSize: 1,
+ justify: "space-around",
+ };
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageAdvancedVariousIconChanges.tsx b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedVariousIconChanges.tsx
new file mode 100644
index 0000000..a92e3c8
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageAdvancedVariousIconChanges.tsx
@@ -0,0 +1,54 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageAdvancedVariousIconChanges = () => {
+ const codeF = `import { AccountCard, IconProps, ExtraComponentProps } from "@polkadot-ui/react/complex/AccountCard";
+...
+
+const iconProps: IconProps = {
+ size: 40,
+ gridSize: 1,
+ justify: "flex-start",
+ dark: false,
+ colors: ["blue", "green"],
+ outerColor: "yellow",
+};
+
+ `;
+
+ const iconProps: IconProps = {
+ size: 40,
+ gridSize: 1,
+ justify: "flex-start",
+ dark: false,
+ colors: ["blue", "green"],
+ outerColor: "yellow",
+ };
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageInfo.tsx b/src/docs/Experimental/AccountCard/AccountCardPageInfo.tsx
new file mode 100644
index 0000000..61e930b
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageInfo.tsx
@@ -0,0 +1,103 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { SimpleEditor } from "../../lib/SimpleEditor";
+
+export const AccountCardPageInfo = () => {
+ const accountCard = `const titleProps: TitleProps = {
+ address: "1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73",
+ name: "The name of the account",
+ justify: "flex-start",
+ align: "center",
+};
+
+const ellipsisProps: EllipsisProps = {
+ active: true,
+ amount: 20,
+ position: "end",
+};
+
+// iconProps are very similar to the ones that Polkicon receives for consistency
+const iconProps: IconProps = {
+ size: 20,
+ gridSize: 1,
+ justify: "flex-start",
+ colors: ["blue", "red", "yellow"];
+ outerColor: "transparent";
+ dark: true;
+};
+
+ `;
+
+ const titleProps = `interface TitleProps {
+ // The address of the account. This is mandatory and will show in the main mid part of the
+ // component in case the 'name'or the 'component' props are not given
+ address: string;
+ // In case 'name' is provided then it will take over the 'address' on the mid of the compoennt
+ name?: string;
+ // In case 'component' is provided, as above, it will take over the 'name' part;
+ component?: something
// any component
+ // Horizontal justification of the mid component's text;
+ justify?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
+ // Vertical alignment of the component.
+ align?: "flex-start" | "center" | "flex-end" | "stretch" | "baseline";
+}`;
+
+ const ellipsisProps = `interface EllipsisProps {
+ // if ellipsis should exist or not
+ active?: boolean;
+ // How many characters should appear
+ amount?: number;
+ // Where ellipsis applies, at the start, center or end of the text (defaults to "center")
+ position?: "start" | "center" | "end"
+}`;
+
+ const iconProps = `interface IconProps {
+ size?: number;
+ // Icon will not be clickable/copy-able - defaults to false
+ copy?: boolean;
+ position?: HPositionLR;
+ // specific size of the 12-column gridding
+ gridSize?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
+ // Horizontal justification of the mid component's text;
+ justify?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
+}`;
+
+ const xCompProps = `interface ExtraComponentProps {
+ // In case 'component' is provided, as above, it will take over the 'name' part;
+ component?: something
// any component
+ // the position of the component (left or right side)
+ position?: "left" | "right"
+ // specific size of the 12-column gridding
+ gridSize?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
+ // Horizontal justification of the mid component's text;
+ justify?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
+}`;
+
+ return (
+ <>
+
+ Title properties are:
+
+ Ellipsis properties are:
+
+ Icon properties are:
+
+ Extra Component properties are:
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageSimple.tsx b/src/docs/Experimental/AccountCard/AccountCardPageSimple.tsx
new file mode 100644
index 0000000..afdb4eb
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageSimple.tsx
@@ -0,0 +1,39 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Switch } from "@polkadot-ui/react/base/inputs/Switch";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageSimple = () => {
+ const code = `
+import { AccountCard, IconProps } from "@polkadot-ui/react/AccountCard";
+...
+const iconProps: IconProps = {}; // or { position = "left" }; <- "left" is the default option
+...
+return (
+ , position: "right" }} />
+);`;
+
+ const iconProps: IconProps = {
+ position: "left",
+ };
+
+ return (
+ <>
+
+ ,
+ position: "right",
+ }}
+ />
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageSimpleMoreProps.tsx b/src/docs/Experimental/AccountCard/AccountCardPageSimpleMoreProps.tsx
new file mode 100644
index 0000000..2289582
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageSimpleMoreProps.tsx
@@ -0,0 +1,42 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageSimpleMoreProps = () => {
+ const code = `
+import { AccountCard, IconProps } from "@polkadot-ui/react/complex/AccountCard";
+...
+const iconProps: IconProps = {
+ copy: true,
+ position: "right",
+ size: 3,
+ justify: "space-around",
+};
+...
+return (
+
+);`;
+
+ const iconProps: IconProps = {
+ copy: true,
+ position: "right",
+ gridSize: 3,
+ justify: "space-around",
+ };
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageSimpleNoIcon.tsx b/src/docs/Experimental/AccountCard/AccountCardPageSimpleNoIcon.tsx
new file mode 100644
index 0000000..4edd4dd
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageSimpleNoIcon.tsx
@@ -0,0 +1,27 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { AccountCard } from "@polkadot-ui/react/complex/AccountCard";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageSimpleNoIcon = () => {
+ const code = `
+import { AccountCard } from "@polkadot-ui/react/complex/AccountCard";
+...
+return (
+
+);`;
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/AccountCardPageStakingSamples.tsx b/src/docs/Experimental/AccountCard/AccountCardPageStakingSamples.tsx
new file mode 100644
index 0000000..f2aadd0
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/AccountCardPageStakingSamples.tsx
@@ -0,0 +1,152 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import {
+ AccountCard,
+ EllipsisProps,
+ ExtraComponentProps,
+ IconProps,
+ TitleProps,
+} from "@polkadot-ui/react/complex/AccountCard";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { HPosition } from "@polkadot-ui/react/utils/types";
+import { Demo } from "../../lib/Demo";
+
+export const AccountCardPageStakingSamples = () => {
+ const commonCode = `const titleProps: TitleProps = {
+ address: "1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73",
+ name: "The name of the account",
+ justify: "flex-start",
+};
+
+const ellipsisProps: EllipsisProps = {
+ active: true,
+ amount: 7,
+};
+
+const iconProps: IconProps = {
+ size: 20,
+ gridSize: 3,
+ justify: "space-around",
+};
+
+const extraComponentProps: ExtraComponentProps = {
+ component: (
+
+ Nominating
+
+ ),
+ gridSize: 4,
+ justify: "space-around",
+};`;
+
+ const code = `
+
+
+
+
+
+ `;
+
+ const codeNoCard = `
+
+
+
+
+
+ `;
+
+ const titleProps: TitleProps = {
+ address: "1f1yYj2bCFhJCTVdeWLDueUsrZynLAaj6jeMy18fjZ7Cr73",
+ name: "The name of the account",
+ justify: "flex-start",
+ };
+
+ const ellipsisProps: EllipsisProps = {
+ active: true,
+ amount: 20,
+ position: "center" as HPosition,
+ };
+
+ const iconProps: IconProps = {
+ size: 20,
+ gridSize: 1,
+ justify: "flex-start",
+ };
+
+ const extraComponentProps: ExtraComponentProps = {
+ component: (
+
+ Nominating
+
+ ),
+ gridSize: 4,
+ justify: "flex-start",
+ };
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+ Without the Card component
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/AccountCard/index.tsx b/src/docs/Experimental/AccountCard/index.tsx
new file mode 100644
index 0000000..43c19d7
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const AccountCard = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/AccountCard/main.tsx b/src/docs/Experimental/AccountCard/main.tsx
new file mode 100644
index 0000000..ec90a5a
--- /dev/null
+++ b/src/docs/Experimental/AccountCard/main.tsx
@@ -0,0 +1,113 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */ import { Header } from "../../lib/Header";
+
+import { Edit } from "../../lib/Edit";
+
+import { AccountCardPageInfo } from "./AccountCardPageInfo";
+import { AccountCardPageSimple } from "./AccountCardPageSimple";
+import { AccountCardPageSimpleNoIcon } from "./AccountCardPageSimpleNoIcon";
+import { AccountCardPageSimpleMoreProps } from "./AccountCardPageSimpleMoreProps";
+import { AccountCardPageAdvanced } from "./AccountCardPageAdvanced";
+import { AccountCardPageAdvancedEllipsis } from "./AccountCardPageAdvancedEllipsis";
+import { AccountCardPageAdvancedEllipsisExtreme } from "./AccountCardPageAdvancedEllipsisExtreme";
+import { AccountCardPageAdvancedExtraComponent } from "./AccountCardPageAdvancedExtraComponent";
+import { AccountCardPageAdvancedExtraComponentDiff } from "./AccountCardPageAdvancedExtraComponentDiff";
+import { AccountCardPageAdvancedVariousIconChanges } from "./AccountCardPageAdvancedVariousIconChanges";
+import { AccountCardPageStakingSamples } from "./AccountCardPageStakingSamples";
+
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+ Introduction
+
+ The AccountCard
recipe is meant to exist for quick and fast
+ showing of account data (address, name, icon etc); It is excellent for
+ lists of accounts to be shown. Below can be found the different
+ properties that the AccountCard
component receives as
+ props, in order to depict the needed example. The{" "}
+ AccountCard
with all possible props look like the following
+ piece of code:
+
+
+ Simple Examples With or Without Icon
+
+ iconProps
can be either fully filled or an empty object{" "}
+ {"{}"}
, that will make all params default (see above); In
+ both cases a Polkicon
will appear.
+
+
+
+ If iconProps
is not provided no icon will appear;{" "}
+ Title
with address
props are the minimum that
+ need to be provided.
+
+
+
+ Other iconProps
can be either the girdSize
{" "}
+ (Recipe will automatically calculate the rest of the size of the main
+ area MainAreaGridSize = 12 - IconGridSize
). In this example
+ Icon is copy-able by passing the prop copy
at the icon
+ props.
+
+
+ Advanced Examples With Extra Params and Component
+
+ Amount of ellipsis can be set. When position, is center
,
+ then that amount corresponds to the start
and to the{" "}
+ end
part of the text; If it is set to start
or{" "}
+ end
, then it corresponds to the other side accordingly.
+ (Defaults to start
).
+
+
+
+ When the amount of ellipsis is too small, the ellipsis will default to
+ 4.
+
+
+
+ If an extreme ellipsis amount is provided, then the Recipe will reduce
+ it, in order to show the maximum possible amount (calculating with:
+ (address.length/2) - 3 for center
. For rest options is
+ address.length - 3).
+
+
+
+ Extra component can be added; its default position is left. If icon
+ position is also left, then the extra component always goes on the
+ further side (same for right). Position, defaults to left
;
+ (recipe will automatically calculate the rest of the size of the main
+ area based on:{" "}
+
+ MainAreaGridSize = 12 - IconGridSize - ExtraComponentGridSize
+
+ ).
+
+
+
+ Extra component can be added; Its default position is left; If icon
+ position is also left, then the extra component always goes on the
+ further side (same for right); Position, defaults to left
;
+ (Recipe will automatically calculate the rest of the size of the main
+ area based on:{" "}
+
+ MainAreaGridSize = 12 - IconGridSize - ExtraComponentGridSize
+
+ ).
+
+
+
+ Sample that fits to Polkadot Staking Dashboard
+ Code below is used in both of the following examples.
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Cards/CardInGrid.tsx b/src/docs/Experimental/Cards/CardInGrid.tsx
new file mode 100644
index 0000000..6251218
--- /dev/null
+++ b/src/docs/Experimental/Cards/CardInGrid.tsx
@@ -0,0 +1,81 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Card } from "@polkadot-ui/react/base/structure/Card";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const CardInGrid = () => {
+ const code = `const sampleAnimation1 = {
+ whileHover: { scale: 1.02 },
+ transition: { duration: 0.5, type: "spring", bounce: 0.4 }
+};
+
+const sampleAnimation2 = {
+ whileHover: { scale: 2.00 },
+ transition: { duration: 0.25, type: "linear", bounce: 0.4 }
+};
+
+....
+
+
+ 1/2
+
+
+ 1/4
+
+
+ 1/4
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ const sampleAnimation1 = {
+ whileHover: { scale: 1.02 },
+ transition: { duration: 0.5, type: "spring", bounce: 0.4 },
+ };
+
+ const sampleAnimation2 = {
+ whileHover: { scale: 2.0 },
+ transition: { duration: 0.25, type: "linear", bounce: 0.4 },
+ };
+
+ return (
+ <>
+
+
+
+
+ 1/2
+
+
+
+
+ 1/4
+
+
+
+
+ 1/4
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Cards/CardMono.tsx b/src/docs/Experimental/Cards/CardMono.tsx
new file mode 100644
index 0000000..5405f59
--- /dev/null
+++ b/src/docs/Experimental/Cards/CardMono.tsx
@@ -0,0 +1,23 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Card } from "@polkadot-ui/react/base/structure/Card";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const CardMono = () => {
+ const code = `
+ Just a card
+ `;
+
+ return (
+ <>
+
+
+ Just a card
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Cards/CardWithGridSystem.tsx b/src/docs/Experimental/Cards/CardWithGridSystem.tsx
new file mode 100644
index 0000000..5c877a1
--- /dev/null
+++ b/src/docs/Experimental/Cards/CardWithGridSystem.tsx
@@ -0,0 +1,46 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Card } from "@polkadot-ui/react/base/structure/Card";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { Demo } from "../../lib/Demo";
+
+export const CardWithGridSystem = () => {
+ const code = `const sampleAnimation1 = {
+ whileHover: { scale: 1.02 },
+ transition: { duration: 0.5, type: "spring", bounce: 0.4 }
+};
+
+...
+
+
+ Left Grid
+ Center Grid
+ Right Grid
+ `;
+
+ const sampleAnimation1 = {
+ whileHover: { scale: 1.02 },
+ transition: { duration: 0.5, type: "spring", bounce: 0.4 },
+ };
+
+ return (
+ <>
+
+
+
+ Left Grid
+
+
+ Center Grid
+
+
+ Right Grid
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Cards/CardWithGridSystemTwoRows.tsx b/src/docs/Experimental/Cards/CardWithGridSystemTwoRows.tsx
new file mode 100644
index 0000000..6940839
--- /dev/null
+++ b/src/docs/Experimental/Cards/CardWithGridSystemTwoRows.tsx
@@ -0,0 +1,66 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Card } from "@polkadot-ui/react/base/structure/Card";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+import { Demo } from "../../lib/Demo";
+
+export const CardWithGridSystemTwoRows = () => {
+ const code = `const sampleAnimation1 = {
+ whileHover: { scale: 1.02 },
+ transition: { duration: 0.5, type: "spring", bounce: 0.4 }
+};
+
+...
+
+
+
+ Top Left Grid
+ Top Center Grid
+ Top Right Grid
+
+
+ Bottom Left Grid
+ Bottom Center Grid
+ Bottom Right Grid
+
+ `;
+
+ const sampleAnimation1 = {
+ whileHover: { scale: 1.02 },
+ transition: { duration: 0.5, type: "spring", bounce: 0.4 },
+ };
+
+ return (
+ <>
+
+
+
+
+ Top Left Grid
+
+
+ Top Center Grid
+
+
+ Top Right Grid
+
+
+
+
+ Bottom Left Grid
+
+
+ Bottom Center Grid
+
+
+ Bottom Right Grid
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Cards/index.tsx b/src/docs/Experimental/Cards/index.tsx
new file mode 100644
index 0000000..1e73f54
--- /dev/null
+++ b/src/docs/Experimental/Cards/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Card = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/Cards/main.tsx b/src/docs/Experimental/Cards/main.tsx
new file mode 100644
index 0000000..b185548
--- /dev/null
+++ b/src/docs/Experimental/Cards/main.tsx
@@ -0,0 +1,34 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { CardMono } from "./CardMono";
+import { CardInGrid } from "./CardInGrid";
+import { CardWithGridSystem } from "./CardWithGridSystem";
+import { CardWithGridSystemTwoRows } from "./CardWithGridSystemTwoRows";
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+ Simple Card
+
+
+ Card in Grid system - 1 row - 3 columns, with different animations
+
+
+ Card with included Grid system - 1 row - 3 columns
+
+ Card with included Grid system - 2 row - 3 columns
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/GridAlignBottomEnd.tsx b/src/docs/Experimental/Grid/GridAlignBottomEnd.tsx
new file mode 100644
index 0000000..be4fe30
--- /dev/null
+++ b/src/docs/Experimental/Grid/GridAlignBottomEnd.tsx
@@ -0,0 +1,43 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Demo } from "../../lib/Demo";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+
+export const GridAlignBottomEnd = () => {
+ const code = `
+ 1/6 and bottom
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ return (
+ <>
+
+
+
+ 1/6 and bottom
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/GridAlignTop.tsx b/src/docs/Experimental/Grid/GridAlignTop.tsx
new file mode 100644
index 0000000..640c4a3
--- /dev/null
+++ b/src/docs/Experimental/Grid/GridAlignTop.tsx
@@ -0,0 +1,43 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Demo } from "../../lib/Demo";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+
+export const GridAlignTop = () => {
+ const code = `
+ 1/2 and centered
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ return (
+ <>
+
+
+
+ 1/6 and top
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/GridGapsLeftRight.tsx b/src/docs/Experimental/Grid/GridGapsLeftRight.tsx
new file mode 100644
index 0000000..4888139
--- /dev/null
+++ b/src/docs/Experimental/Grid/GridGapsLeftRight.tsx
@@ -0,0 +1,31 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Demo } from "../../lib/Demo";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+
+export const GridGapsLeftRight = () => {
+ const code = `
+ 1/2 and centered
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ return (
+ <>
+
+
+
+ 1/2 and centered
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/GridMoreRowsDiffSizes.tsx b/src/docs/Experimental/Grid/GridMoreRowsDiffSizes.tsx
new file mode 100644
index 0000000..9447ad2
--- /dev/null
+++ b/src/docs/Experimental/Grid/GridMoreRowsDiffSizes.tsx
@@ -0,0 +1,75 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Demo } from "../../lib/Demo";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+
+export const GridMoreRowsDiffSizes = () => {
+ const code = `
+ 4/12
+ 4/12
+ 4/12
+
+
+ 3/12
+ 6/12
+ 3/12
+
+
+ 5/12
+ 2/12
+ 4/12
+ 1/12
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ return (
+ <>
+
+
+
+ 4/12
+
+
+ 4/12
+
+
+ 4/12
+
+
+
+
+ 3/12
+
+
+ 6/12
+
+
+ 3/12
+
+
+
+
+ 5/12
+
+
+ 2/12
+
+
+ 4/12
+
+
+ 1/12
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/GridOneThree.tsx b/src/docs/Experimental/Grid/GridOneThree.tsx
new file mode 100644
index 0000000..e5830d7
--- /dev/null
+++ b/src/docs/Experimental/Grid/GridOneThree.tsx
@@ -0,0 +1,39 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Demo } from "../../lib/Demo";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+
+export const GridOneThree = () => {
+ const code = `
+ 1/2
+ 1/4
+ 1/4
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ return (
+ <>
+
+
+
+ 1/2
+
+
+ 1/4
+
+
+ 1/4
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/GridOneTwelve.tsx b/src/docs/Experimental/Grid/GridOneTwelve.tsx
new file mode 100644
index 0000000..7a19965
--- /dev/null
+++ b/src/docs/Experimental/Grid/GridOneTwelve.tsx
@@ -0,0 +1,75 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Demo } from "../../lib/Demo";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Grid } from "@polkadot-ui/react/base/structure/Grid";
+
+export const GridOneTwelve = () => {
+ const code = `
+ 1/12
+ 2/12
+ 3/12
+ 4/12
+ 5/12
+ 6/12
+ 1/12
+ 1/12
+ 1/12
+ 1/12
+ 1/12
+ 1/12
+ `;
+
+ const separatorStyle = {
+ border: "0.1rem dashed var(--border-secondary-color)",
+ padding: "0.5rem",
+ TextAlign: "center",
+ };
+
+ return (
+ <>
+
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+ 1/12
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Grid/index.tsx b/src/docs/Experimental/Grid/index.tsx
new file mode 100644
index 0000000..55671aa
--- /dev/null
+++ b/src/docs/Experimental/Grid/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Grid = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/Grid/main.tsx b/src/docs/Experimental/Grid/main.tsx
new file mode 100644
index 0000000..a08df69
--- /dev/null
+++ b/src/docs/Experimental/Grid/main.tsx
@@ -0,0 +1,43 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { GridOneTwelve } from "./GridOneTwelve";
+import { GridOneThree } from "./GridOneThree";
+import { GridMoreRowsDiffSizes } from "./GridMoreRowsDiffSizes";
+import { GridGapsLeftRight } from "./GridGapsLeftRight";
+import { GridAlignTop } from "./GridAlignTop";
+import { GridAlignBottomEnd } from "./GridAlignBottomEnd";
+
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+
+ All examples have different screen size parameters set (resize screen
+ for results)
+
+ 1 row - 12 columns
+
+ 1 row - 3 columns
+
+ More rows - different sized columns
+
+ 1/2 size and centered (creating gaps left and right)
+
+ Align items top
+
+ Align items bottom-end
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Loaders/LoaderCube.tsx b/src/docs/Experimental/Loaders/LoaderCube.tsx
new file mode 100644
index 0000000..1ec2ac6
--- /dev/null
+++ b/src/docs/Experimental/Loaders/LoaderCube.tsx
@@ -0,0 +1,21 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Loader } from "@polkadot-ui/react/loaders/Loader";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const LoaderCube = () => {
+ const code = ` `;
+
+ return (
+ <>
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Loaders/LoaderDots.tsx b/src/docs/Experimental/Loaders/LoaderDots.tsx
new file mode 100644
index 0000000..e8b5778
--- /dev/null
+++ b/src/docs/Experimental/Loaders/LoaderDots.tsx
@@ -0,0 +1,19 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Loader } from "@polkadot-ui/react/loaders/Loader";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const LoaderDots = () => {
+ const code = ` `;
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Loaders/LoaderLine.tsx b/src/docs/Experimental/Loaders/LoaderLine.tsx
new file mode 100644
index 0000000..f865bf4
--- /dev/null
+++ b/src/docs/Experimental/Loaders/LoaderLine.tsx
@@ -0,0 +1,27 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Loader } from "@polkadot-ui/react/loaders/Loader";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const LoaderLine = () => {
+ const code = `
+{/* or (line is the default loader setting) */}
+ `;
+
+ const codeOptional = `{/* Optional text field */}
+ `;
+ return (
+ <>
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Loaders/index.tsx b/src/docs/Experimental/Loaders/index.tsx
new file mode 100644
index 0000000..0547814
--- /dev/null
+++ b/src/docs/Experimental/Loaders/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Loaders = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/Loaders/main.tsx b/src/docs/Experimental/Loaders/main.tsx
new file mode 100644
index 0000000..a0bd4a1
--- /dev/null
+++ b/src/docs/Experimental/Loaders/main.tsx
@@ -0,0 +1,30 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { LoaderCube } from "./LoaderCube";
+import { LoaderLine } from "./LoaderLine";
+import { LoaderDots } from "./LoaderDots";
+
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+ Line Loader
+
+ Dots Loader
+
+ Cube Loader
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Modal/ActionItem.tsx b/src/docs/Experimental/Modal/ActionItem.tsx
new file mode 100644
index 0000000..1053880
--- /dev/null
+++ b/src/docs/Experimental/Modal/ActionItem.tsx
@@ -0,0 +1,19 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { ActionItem } from "@polkadot-ui/react/base/modal/ActionItem";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { Demo } from "../../lib/Demo";
+
+export const ActionItemStatic = () => {
+ const code = ` `;
+
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Modal/ActionItemWithToggle.tsx b/src/docs/Experimental/Modal/ActionItemWithToggle.tsx
new file mode 100644
index 0000000..52608af
--- /dev/null
+++ b/src/docs/Experimental/Modal/ActionItemWithToggle.tsx
@@ -0,0 +1,35 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { ActionItem } from "@polkadot-ui/react/base/modal/ActionItem";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { useState } from "react";
+import { Button } from "@polkadot-ui/react";
+import { Demo } from "../../lib/Demo";
+
+export const ActionItemWithToggle = () => {
+ const [parentToggle, setParentToggle] = useState(false);
+
+ const code = ` {
+ setParentToggle(val);
+ }}
+ inlineButton={ }
+/>`;
+
+ return (
+ <>
+
+ setParentToggle(val)}
+ inlineButton={ }
+ />
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Modal/index.tsx b/src/docs/Experimental/Modal/index.tsx
new file mode 100644
index 0000000..825e452
--- /dev/null
+++ b/src/docs/Experimental/Modal/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Modal = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/Modal/main.tsx b/src/docs/Experimental/Modal/main.tsx
new file mode 100644
index 0000000..3e6934b
--- /dev/null
+++ b/src/docs/Experimental/Modal/main.tsx
@@ -0,0 +1,26 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { ActionItemStatic } from "./ActionItem";
+import { ActionItemWithToggle } from "./ActionItemWithToggle";
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+ Action Item
+
+ Action Item with Toggle
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Switch/SwitchSimple.tsx b/src/docs/Experimental/Switch/SwitchSimple.tsx
new file mode 100644
index 0000000..24b35fe
--- /dev/null
+++ b/src/docs/Experimental/Switch/SwitchSimple.tsx
@@ -0,0 +1,38 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Switch } from "@polkadot-ui/react/base/inputs/Switch";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+
+export const SwitchSimple = () => {
+ const code = ` console.log("Switch clicked")} />
+ console.log("Switch clicked")} />
+
+ `;
+
+ return (
+ <>
+
+
+ console.log("Switch clicked")}
+ />
+
+
+ console.log("Switch clicked")}
+ />
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Switch/SwitchSize.tsx b/src/docs/Experimental/Switch/SwitchSize.tsx
new file mode 100644
index 0000000..b6ee0c6
--- /dev/null
+++ b/src/docs/Experimental/Switch/SwitchSize.tsx
@@ -0,0 +1,93 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Switch } from "@polkadot-ui/react/base/inputs/Switch";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+
+export const SwitchSize = () => {
+ const code = `
+
+
+ `;
+ const code_sm = `
+
+
+ `;
+ const code_lg = `
+
+
+ `;
+ const code_xl = `
+
+
+ `;
+
+ return (
+ <>
+ Default size
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Small size (sm)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Large size (lg)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Extra Large size (xl)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Switch/SwitchType.tsx b/src/docs/Experimental/Switch/SwitchType.tsx
new file mode 100644
index 0000000..f29e0c2
--- /dev/null
+++ b/src/docs/Experimental/Switch/SwitchType.tsx
@@ -0,0 +1,96 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Switch } from "@polkadot-ui/react/base/inputs/Switch";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+
+export const SwitchType = () => {
+ const code_primary = ` {/* same as 'type="primary"' */}
+
+
+ `;
+
+ const code_secondary = `
+
+
+ `;
+
+ const code_mono = `
+
+
+ `;
+
+ const code_mono_invert = `
+
+
+ `;
+
+ return (
+ <>
+ type: Primary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ type: secondary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ type: mono
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ type: monoInvert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Switch/index.tsx b/src/docs/Experimental/Switch/index.tsx
new file mode 100644
index 0000000..4752124
--- /dev/null
+++ b/src/docs/Experimental/Switch/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Switch = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/Switch/main.tsx b/src/docs/Experimental/Switch/main.tsx
new file mode 100644
index 0000000..8b18e4f
--- /dev/null
+++ b/src/docs/Experimental/Switch/main.tsx
@@ -0,0 +1,30 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { SwitchSimple } from "./SwitchSimple";
+import { SwitchSize } from "./SwitchSize";
+import { SwitchType } from "./SwitchType";
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+
+ The Switch
+
+ Switch types
+
+ Switch Sizes
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Textfield/TextfieldSimple.tsx b/src/docs/Experimental/Textfield/TextfieldSimple.tsx
new file mode 100644
index 0000000..6fb66ae
--- /dev/null
+++ b/src/docs/Experimental/Textfield/TextfieldSimple.tsx
@@ -0,0 +1,78 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Textfield } from "@polkadot-ui/react/textfield/Textfield";
+import { SimpleEditor } from "../../lib/SimpleEditor";
+import { useState } from "react";
+
+import { faUser, faCopy } from "@fortawesome/free-solid-svg-icons";
+
+export const TextfieldSimple = () => {
+ const code = `const [value, setValue] = useState("");
+...
+ setValue(text)} />`;
+
+ const code_more = `import { faUser } from "@fortawesome/free-solid-svg-icons";
+...
+const [value, setValue] = useState("");
+...
+ setValueB(val)}
+/>`;
+
+ const code_much_more = `import { faUser, faCopy } from "@fortawesome/free-solid-svg-icons";
+...
+const [value, setValue] = useState("");
+...
+ console.log("copy") }}
+ placeholder="Placeholder's text"
+ value={value}
+ onChange={(val) => setValueB(val)}
+/>`;
+
+ const [valueA, setValueA] = useState("");
+ const [valueB, setValueB] = useState("");
+ const [valueC, setValueC] = useState("");
+
+ return (
+ <>
+
+ setValueA(val)} />
+
+
+
+ setValueB(a)}
+ />
+
+
+
+ console.log("copy"),
+ }}
+ placeholder="Placeholder's text"
+ value={valueC}
+ onChange={(a) => setValueC(a)}
+ />
+
+
+ >
+ );
+};
diff --git a/src/docs/Experimental/Textfield/index.tsx b/src/docs/Experimental/Textfield/index.tsx
new file mode 100644
index 0000000..cf28c2e
--- /dev/null
+++ b/src/docs/Experimental/Textfield/index.tsx
@@ -0,0 +1,10 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Doc } from "./main";
+
+export const Textfield = () => (
+
+
+
+);
diff --git a/src/docs/Experimental/Textfield/main.tsx b/src/docs/Experimental/Textfield/main.tsx
new file mode 100644
index 0000000..56f124e
--- /dev/null
+++ b/src/docs/Experimental/Textfield/main.tsx
@@ -0,0 +1,26 @@
+/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
+SPDX-License-Identifier: MIT */
+
+import { Edit } from "../../lib/Edit";
+import { Header } from "../../lib/Header";
+import { TextfieldSimple } from "./TextfieldSimple";
+import { DocProps } from "../../lib/types";
+
+export const Doc = ({ folder, npm }: DocProps) => {
+ return (
+ <>
+
+
+
+
+ The Textfield
+
+
+ >
+ );
+};
diff --git a/src/docs/lib/Demo/index.tsx b/src/docs/lib/Demo/index.tsx
index 80b0a35..c0927ae 100644
--- a/src/docs/lib/Demo/index.tsx
+++ b/src/docs/lib/Demo/index.tsx
@@ -2,6 +2,8 @@
SPDX-License-Identifier: MIT */
import { useTheme } from "../../../contexts/Theme";
+// Import the base cloud-core styles to ensure the theme styles are applied instead of doc styles.
+import "@polkadot-ui/core/css/styles/index.css";
import { valEmpty } from "@polkadot-ui/react/utils";
// Import each supported theme here.
import "@polkadot-ui/core/accent/polkadot-relay.css";
diff --git a/src/docs/lib/Structure/Body/index.tsx b/src/docs/lib/Structure/Body/index.tsx
deleted file mode 100644
index 323a96b..0000000
--- a/src/docs/lib/Structure/Body/index.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2024 @polkadot-ui/frontpage authors & contributors
-// SPDX-License-Identifier: MIT
-
-import { ComponentBase } from "@polkadot-ui/react/types";
-
-/**
- * @name Body
- * @summary An element that houses Side and Main.
- */
-export const Body = ({ children, style }: ComponentBase) => (
-
- {children}
-
-);
diff --git a/src/docs/lib/Structure/Main/index.tsx b/src/docs/lib/Structure/Main/index.tsx
deleted file mode 100644
index a4f0b06..0000000
--- a/src/docs/lib/Structure/Main/index.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2024 @polkadot-ui/frontpage authors & contributors
-// SPDX-License-Identifier: MIT
-
-import { ComponentBase } from "@polkadot-ui/react/types";
-import type { ForwardedRef } from "react";
-import { forwardRef } from "react";
-
-/**
- * @name Main
- * @summary A column flex wrapper that hosts the main page content.
- */
-export const Main = forwardRef(
- ({ children, style }: ComponentBase, ref?: ForwardedRef) => (
-
- {children}
-
- )
-);
-Main.displayName = "Main";
diff --git a/src/docs/lib/Structure/Side/index.tsx b/src/docs/lib/Structure/Side/index.tsx
deleted file mode 100644
index 0bb9a9d..0000000
--- a/src/docs/lib/Structure/Side/index.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2024 @polkadot-ui/frontpage authors & contributors
-// SPDX-License-Identifier: MIT
-
-import { appendOrEmpty } from "@polkadot-ui/utils";
-import type { CSSProperties } from "react";
-import { ComponentBase } from "@polkadot-ui/react/types";
-
-export type SideProps = ComponentBase & {
- // whether the side menu should be open on smaller screens.
- open: boolean;
- // whether side menu is in minimised state.
- minimised: boolean;
- // optional width property to be applied to maximised side.
- width?: string | number;
-};
-
-/**
- * @name Side
- * @summary An element that houses the side menu and transitions to a toggle-able fixed overlay
- * on smaller screens.
- * @summary Handles maximised and minimised transitions.
- */
-export const Side = ({
- children,
- style,
- open,
- minimised,
- width = "20rem",
-}: SideProps) => {
- const vars = { "--core-side-width": width } as CSSProperties;
-
- return (
-
- {children}
-
- );
-};
diff --git a/src/docs/lib/Structure/index.scss b/src/docs/lib/Structure/index.scss
deleted file mode 100644
index 9a9ba9f..0000000
--- a/src/docs/lib/Structure/index.scss
+++ /dev/null
@@ -1,63 +0,0 @@
-/* @license Copyright 2024 @polkadot-ui/frontpage authors & contributors
-SPDX-License-Identifier: MIT */
-
-.page-padding {
- padding-left: 1.25rem;
- padding-right: 1.25rem;
-
- /* NOTE: same as `PageWidthSmallThreshold` + 1 constant in `src/consts.ts`. */
- @media (min-width: 826px) {
- padding-left: 3.5rem;
- padding-right: 3.5rem;
- }
-
- /* NOTE: same as `PageWidthSmallThreshold` + 1 constant in `src/consts.ts`. */
- @media (min-width: 826px) {
- padding: 0 5rem 0 2.5rem;
- }
-}
-
-.core-body {
- position: relative;
- display: flex;
- flex-grow: 1;
-}
-
-.core-main {
- position: relative;
- display: flex;
- flex-direction: column;
- max-width: 100%;
- flex: 1;
-}
-
-.core-side {
- z-index: 7;
- position: sticky;
- top: 0;
- height: 100vh;
- flex: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- transition: all 0.5s cubic-bezier(0.1, 1, 0.2, 1);
-
- /* maximised by default, or minimised otherwise. */
- min-width: var(--core-side-width);
- max-width: var(--core-side-width);
-
- &.minimised {
- min-width: 75px;
- max-width: 75px;
- }
-
- @media (max-width: 1150px) {
- position: fixed;
- top: 0;
- left: 0;
-
- &.hidden {
- left: calc(var(--core-side-width) * -1);
- }
- }
-}
diff --git a/src/main.tsx b/src/main.tsx
index bced2fc..181135d 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -5,8 +5,6 @@ import "./theme/fonts.css";
import "./theme/theme.css";
import "./styles/index.scss";
-import "./docs/lib/Structure/index.scss";
-
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
);
diff --git a/src/styles/app.scss b/src/styles/app.scss
index b48e4c2..361f60f 100644
--- a/src/styles/app.scss
+++ b/src/styles/app.scss
@@ -58,7 +58,7 @@ SPDX-License-Identifier: MIT */
display: flex;
align-items: center;
width: 100%;
- height: 4rem;
+ height: 5.5rem;
position: fixed;
z-index: 10;
@@ -74,7 +74,7 @@ SPDX-License-Identifier: MIT */
> button {
margin-right: 1.5rem;
- font-size: 1.1rem;
+ font-size: 1.25rem;
&.selected {
color: var(--accent-color-primary);
@@ -84,9 +84,8 @@ SPDX-License-Identifier: MIT */
.icon {
padding-left: 1.5rem;
color: var(--accent-color-primary);
- width: 4.75rem;
- max-height: 3rem;
- margin-right: 0.75rem;
+ width: 6.5rem;
+ max-height: 4.25rem;
> svg {
max-width: 90%;
diff --git a/src/styles/docs.scss b/src/styles/docs.scss
index 43b66e5..53292fd 100644
--- a/src/styles/docs.scss
+++ b/src/styles/docs.scss
@@ -329,7 +329,7 @@ SPDX-License-Identifier: MIT */
justify-content: flex-end;
width: 100%;
opacity: 0.75;
- transition: opacity 0.15s;
+ transition: opacity var(--transition-duration);
&:hover {
opacity: 1;
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 78347e3..9e48ea0 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -3,154 +3,49 @@ SPDX-License-Identifier: MIT */
@import "./app";
-:root {
- /* Button variables. */
- --button-border-radius-small: 0.75rem;
- --button-border-radius-large: 1.5rem;
- --button-padding-small: 0.41rem 1rem;
- --button-padding-large: 0.53rem 1rem;
- --button-spacing-small: 0.125rem;
- --button-spacing-large: 0.625rem;
- --button-font-size-small: 1rem;
- --button-font-size-large: 1.15rem;
-
- /* Transition variables. */
- --transition-duration: 0.15s;
-
- /* Miscellaneous variables. */
- --opacity-disabled: 0.3;
-}
-
-/* Define global font sizes. */
-
html {
- font-size: 10.5px;
- @media (min-width: 600px) {
- font-size: 11px;
+ font-size: 10px;
+ @media (width >= 600px) {
+ font-size: 11.2px;
}
}
-/* Every element conforms to border-box by default. */
-
-* {
- box-sizing: border-box;
-}
-
-/* Body style. */
-
-body {
- font-family: Inter, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- overflow-x: hidden;
- font-weight: normal;
- margin: 0;
-}
-
/* Header styling. */
h1 {
color: var(--text-color-primary);
- font-family: InterSemiBold, sans-serif;
- font-size: 1.6rem;
- line-height: 1.6rem;
- font-weight: 600;
- margin: 0;
+ margin: 0 0 0.4rem;
}
h2 {
color: var(--text-color-primary);
- font-family: InterSemiBold, sans-serif;
- font-size: 1.4rem;
- line-height: 1.6rem;
- font-weight: 600;
- margin: 0;
+ margin: 1rem 0;
}
h3 {
color: var(--text-color-primary);
- font-family: InterSemiBold, sans-serif;
- font-size: 1.25rem;
- line-height: 1.55rem;
- font-weight: 500;
- margin: 0;
+ margin: 1rem 0;
}
h4 {
- color: var(--text-color-secondary);
- font-family: InterSemiBold, sans-serif;
- font-size: 1.08rem;
- line-height: 1.65rem;
- font-weight: 500;
- margin: 0;
+ color: var(--text-color-primary);
+ margin: 1.25rem 0;
}
h5 {
- color: var(--text-color-secondary);
- font-size: 0.92rem;
- line-height: 1.02rem;
- font-weight: 500;
- margin: 0;
+ color: var(--text-color-primary);
+ margin: 1.25rem 0;
}
-/* Pragraph style. */
-
p {
color: var(--text-color-secondary);
- font-size: 1.04rem;
- line-height: 1.5rem;
margin: 0.75rem 0;
}
-/* Anchor style. */
-
a {
color: var(--text-color-secondary);
- text-decoration: none;
- cursor: pointer;
}
-/* Base button style. */
-
button {
- -webkit-tap-highlight-color: transparent;
- font-family: Inter, sans-serif;
- background: none;
- border: none;
- cursor: pointer;
- margin: 0;
- padding: 0;
-}
-
-/* Base input style. */
-
-input {
- color: var(--text-color-primary);
- font-family: Inter, sans-serif;
- font-size: 1.1rem;
- padding: 0.7rem 0;
- background: none;
- border: none;
-
- &::placeholder {
- color: #aaa;
- }
-
- &.underline {
- border-bottom: 1px solid #ddd;
- }
-}
-
-button:focus,
-input:focus,
-select:focus,
-textarea:focus {
- outline: none;
-}
-
-/* Base SVG style. */
-
-path.primary,
-ellipse.primary {
- fill: var(--text-color-primary);
+ color: var(--text-color-secondary);
}
diff --git a/yarn.lock b/yarn.lock
index 4c47a0c..d5637f6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -519,7 +519,7 @@
"@ledgerhq/hw-transport" "^6.30.4"
"@ledgerhq/logs" "^6.12.0"
-"@ledgerhq/hw-transport@^6.30.4":
+"@ledgerhq/hw-transport@^6.27.1", "@ledgerhq/hw-transport@^6.30.4":
version "6.30.4"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.30.4.tgz#05dee1e9cdec0e430594ecf7f5cf90c13721ad70"
integrity sha512-VBcVd7UG8HDrjWMoZI5rqBDz+PBxLHTIPZOGY/fdMoEUwaBbss0Z3MxuJanMyerlfaLqnBSVuL0blz7rOyagkw==
@@ -541,7 +541,7 @@
dependencies:
"@noble/hashes" "1.3.3"
-"@noble/hashes@1.3.3", "@noble/hashes@^1.3.3":
+"@noble/hashes@1.3.3", "@noble/hashes@^1.2.0", "@noble/hashes@^1.3.3":
version "1.3.3"
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699"
integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==
@@ -589,15 +589,36 @@
resolved "https://registry.yarnpkg.com/@polkadot-ui/assets/-/assets-0.5.2.tgz#a72a3258b0be98d32e19bf23f341481f16d8802d"
integrity sha512-2oXG8Nx0gdCJm7TwkGUM3icJBxNfVPN+DAvb6mE/45JMCHFupFGO+jjk3pdCKMF1DT5WxTJMrjRqstwMQVRnJg==
-"@polkadot-ui/core@^2.0.0", "@polkadot-ui/core@^2.0.1":
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/@polkadot-ui/core/-/core-2.0.1.tgz#4f108ab5c375995296a789984cf8699b42d13dd0"
- integrity sha512-/ti+8sahCS9ERtX1CMpvgx0H/BXVwRiHqL8+gjeRweszZcVweObxCU09EEbTSCJEgbHPJJTXd1tfpDnfB1GQ6w==
+"@polkadot-ui/core@^2.0.2":
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/@polkadot-ui/core/-/core-2.0.2.tgz#b631520533c1633d7bab50852009f16ec86b8d65"
+ integrity sha512-RDymyKjY/pDIp46yNbKWoynl4HKvXG6mi2KO9eR2w0w96isj4DpnjhEMrBvUB7D3YP5XnF4QRu65HNRwh3WIlQ==
+
+"@polkadot-ui/react@^0.5.3":
+ version "0.5.3"
+ resolved "https://registry.yarnpkg.com/@polkadot-ui/react/-/react-0.5.3.tgz#f748ce2300c53d555d3a45922eae312978370d1b"
+ integrity sha512-NjCkOJWCfU+eEYGE+I2R78P5MrtqigxHKQnXLxSuWtWXoIlq+RgZgRx8wwki38ynEbG8f9QGatQGWDQZshjbBA==
+ dependencies:
+ "@chainsafe/metamask-polkadot-adapter" "^0.6.0"
+ "@chainsafe/metamask-polkadot-types" "^0.6.0"
+ "@fortawesome/fontawesome-svg-core" "^6.5.1"
+ "@fortawesome/free-brands-svg-icons" "^6.5.1"
+ "@fortawesome/free-regular-svg-icons" "^6.5.1"
+ "@fortawesome/free-solid-svg-icons" "^6.5.1"
+ "@fortawesome/react-fontawesome" "^0.2.0"
+ "@polkadot-ui/assets" "^0.5.2"
+ "@polkadot-ui/core" "^2.0.2"
+ "@polkadot-ui/utils" "^0.4.0"
+ "@polkadot/keyring" "^12.6.2"
+ "@polkadot/util" "^12.6.2"
+ "@polkadot/util-crypto" "^12.6.2"
+ framer-motion "^11.0.5"
+ react-error-boundary "^4.0.12"
-"@polkadot-ui/react@^0.5.1":
- version "0.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot-ui/react/-/react-0.5.1.tgz#84aae1a7c1e28414e83bbc7717a46bfdf896e43f"
- integrity sha512-nFwi4BYRC6nWsIRynv8bRSUdeLPZLbVgNt7rYFZnYpu4H/ZR7ylF447C7pCSVIHtixvn4wOMi3YMPIifd/gsEg==
+"@polkadot-ui/recipes@^0.1.3":
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/@polkadot-ui/recipes/-/recipes-0.1.3.tgz#a72526b171bc97e8af5c14fd7dd475e4fb369f72"
+ integrity sha512-pbqHJ6gwAnGgCJkYLLeX/oi5OOyLthY95B/zuPOvjjB14imZKJuZKJBnn+x7Zg/BsFOB7KvPda+GMgVLOfkChQ==
dependencies:
"@chainsafe/metamask-polkadot-adapter" "^0.6.0"
"@chainsafe/metamask-polkadot-types" "^0.6.0"
@@ -606,14 +627,23 @@
"@fortawesome/free-regular-svg-icons" "^6.5.1"
"@fortawesome/free-solid-svg-icons" "^6.5.1"
"@fortawesome/react-fontawesome" "^0.2.0"
+ "@ledgerhq/hw-transport-webhid" "^6.28.4"
"@polkadot-ui/assets" "^0.5.2"
- "@polkadot-ui/core" "^2.0.1"
+ "@polkadot-ui/core" "^2.0.2"
+ "@polkadot-ui/react" "^0.5.3"
"@polkadot-ui/utils" "^0.4.0"
"@polkadot/keyring" "^12.6.2"
"@polkadot/util" "^12.6.2"
"@polkadot/util-crypto" "^12.6.2"
+ "@zondax/ledger-substrate" "^0.41.3"
+ buffer "^6.0.3"
framer-motion "^11.0.5"
+ qrcode-generator "^1.4.4"
+ react "^18.2.0"
+ react-dom "^18.2.0"
react-error-boundary "^4.0.12"
+ react-qr-reader "^2.2.1"
+ yarn-run-all "^3.1.1"
"@polkadot-ui/utils@^0.4.0":
version "0.4.0"
@@ -1097,7 +1127,7 @@
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.5.2.tgz#7e59216d929a6b444304000be40c32d2d127fe4f"
integrity sha512-pL0RXRHuuGLhvs7ayX/SAHph1hrDPXOM5anyYUQXWJEENxw3nfHkzv8FfVlEVcLyKPAEgDRkd6RKZq2SMqS/yg==
-"@scure/base@^1.1.5":
+"@scure/base@^1.1.1", "@scure/base@^1.1.5":
version "1.1.5"
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157"
integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ==
@@ -1480,6 +1510,19 @@
dependencies:
"@swc/core" "^1.3.107"
+"@zondax/ledger-substrate@^0.41.3":
+ version "0.41.3"
+ resolved "https://registry.yarnpkg.com/@zondax/ledger-substrate/-/ledger-substrate-0.41.3.tgz#04e33a8aa8c589551caf63139653aba4ed7b9219"
+ integrity sha512-pjsTGODRHP+SG+h4hBkA9NmvHQeplkj48cB5/TUlzRVBZSz7k172Cu70lpGDkVsKDKG6AuCP2pyWKKzPQIzNTA==
+ dependencies:
+ "@ledgerhq/hw-transport" "^6.27.1"
+ bip32 "^4.0.0"
+ bip32-ed25519 "https://github.com/Zondax/bip32-ed25519"
+ bip39 "^3.0.4"
+ blakejs "^1.2.1"
+ bs58 "^5.0.0"
+ hash.js "^1.1.7"
+
acorn-jsx@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
@@ -1517,6 +1560,11 @@ ansi-escapes@^4.3.0:
dependencies:
type-fest "^0.21.3"
+ansi-regex@^2.0.0:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
+ integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==
+
ansi-regex@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
@@ -1527,6 +1575,11 @@ ansi-regex@^6.0.1:
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a"
integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==
+ansi-styles@^2.2.1:
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
+ integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==
+
ansi-styles@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
@@ -1706,6 +1759,23 @@ balanced-match@^2.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-2.0.0.tgz#dc70f920d78db8b858535795867bf48f820633d9"
integrity sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==
+base-x@^3.0.2:
+ version "3.0.9"
+ resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320"
+ integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==
+ dependencies:
+ safe-buffer "^5.0.1"
+
+base-x@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/base-x/-/base-x-4.0.0.tgz#d0e3b7753450c73f8ad2389b5c018a4af7b2224a"
+ integrity sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==
+
+base64-js@^1.3.1:
+ version "1.5.1"
+ resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
+ integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
+
big-integer@^1.6.44:
version "1.6.52"
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.52.tgz#60a887f3047614a8e1bffe5d7173490a97dc8c85"
@@ -1721,7 +1791,42 @@ binary-extensions@^2.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
-bn.js@^5.2.1:
+"bip32-ed25519@https://github.com/Zondax/bip32-ed25519":
+ version "0.0.4"
+ resolved "https://github.com/Zondax/bip32-ed25519#0949df01b5c93885339bc28116690292088f6134"
+ dependencies:
+ bn.js "^5.1.1"
+ elliptic "^6.4.1"
+ hash.js "^1.1.7"
+
+bip32@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/bip32/-/bip32-4.0.0.tgz#7fac3c05072188d2d355a4d6596b37188f06aa2f"
+ integrity sha512-aOGy88DDlVUhspIXJN+dVEtclhIsfAUppD43V0j40cPTld3pv/0X/MlrZSZ6jowIaQQzFwP8M6rFU2z2mVYjDQ==
+ dependencies:
+ "@noble/hashes" "^1.2.0"
+ "@scure/base" "^1.1.1"
+ typeforce "^1.11.5"
+ wif "^2.0.6"
+
+bip39@^3.0.4:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.1.0.tgz#c55a418deaf48826a6ceb34ac55b3ee1577e18a3"
+ integrity sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==
+ dependencies:
+ "@noble/hashes" "^1.2.0"
+
+blakejs@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814"
+ integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==
+
+bn.js@^4.11.9:
+ version "4.12.0"
+ resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
+ integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
+
+bn.js@^5.1.1, bn.js@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70"
integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==
@@ -1760,6 +1865,11 @@ braces@^3.0.2, braces@~3.0.2:
dependencies:
fill-range "^7.0.1"
+brorand@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
+ integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==
+
browserslist@^4.21.9:
version "4.22.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619"
@@ -1770,6 +1880,37 @@ browserslist@^4.21.9:
node-releases "^2.0.13"
update-browserslist-db "^1.0.13"
+bs58@^4.0.0:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a"
+ integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==
+ dependencies:
+ base-x "^3.0.2"
+
+bs58@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/bs58/-/bs58-5.0.0.tgz#865575b4d13c09ea2a84622df6c8cbeb54ffc279"
+ integrity sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==
+ dependencies:
+ base-x "^4.0.0"
+
+bs58check@<3.0.0:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc"
+ integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==
+ dependencies:
+ bs58 "^4.0.0"
+ create-hash "^1.1.0"
+ safe-buffer "^5.1.2"
+
+buffer@^6.0.3:
+ version "6.0.3"
+ resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6"
+ integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==
+ dependencies:
+ base64-js "^1.3.1"
+ ieee754 "^1.2.1"
+
bundle-name@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-3.0.0.tgz#ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a"
@@ -1801,6 +1942,17 @@ caniuse-lite@^1.0.30001541:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001564.tgz#eaa8bbc58c0cbccdcb7b41186df39dd2ba591889"
integrity sha512-DqAOf+rhof+6GVx1y+xzbFPeOumfQnhYzVnZD6LAXijR77yPtm9mfOcqOnT3mpnJiZVT+kwLAFnRlZcIz+c6bg==
+chalk@^1.1.3:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
+ integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==
+ dependencies:
+ ansi-styles "^2.2.1"
+ escape-string-regexp "^1.0.2"
+ has-ansi "^2.0.0"
+ strip-ansi "^3.0.0"
+ supports-color "^2.0.0"
+
chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -1833,6 +1985,14 @@ chalk@^4.0.0, chalk@^4.1.1:
optionalDependencies:
fsevents "~2.3.2"
+cipher-base@^1.0.1:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
+ integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==
+ dependencies:
+ inherits "^2.0.1"
+ safe-buffer "^5.0.1"
+
color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
@@ -1917,6 +2077,25 @@ cosmiconfig@^9.0.0:
js-yaml "^4.1.0"
parse-json "^5.2.0"
+create-hash@^1.1.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196"
+ integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==
+ dependencies:
+ cipher-base "^1.0.1"
+ inherits "^2.0.1"
+ md5.js "^1.3.4"
+ ripemd160 "^2.0.1"
+ sha.js "^2.4.0"
+
+cross-spawn@^4.0.0:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
+ integrity sha512-yAXz/pA1tD8Gtg2S98Ekf/sewp3Lcp3YoFKJ4Hkp5h5yLWnKVTDU0kwjKJ8NDCYcfTLfyGkzTikst+jWypT1iA==
+ dependencies:
+ lru-cache "^4.0.1"
+ which "^1.2.9"
+
cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -2114,6 +2293,11 @@ dot-case@^3.0.4:
no-case "^3.0.4"
tslib "^2.0.3"
+duplexer@~0.1.1:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6"
+ integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==
+
eastasianwidth@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
@@ -2124,6 +2308,19 @@ electron-to-chromium@^1.4.535:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.594.tgz#f69f207fba80735a44a988df42f3f439115d0515"
integrity sha512-xT1HVAu5xFn7bDfkjGQi9dNpMqGchUkebwf1GL7cZN32NSwwlHRPMSDJ1KN6HkS0bWUtndbSQZqvpQftKG2uFQ==
+elliptic@^6.4.1:
+ version "6.5.4"
+ resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
+ integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
+ dependencies:
+ bn.js "^4.11.9"
+ brorand "^1.1.0"
+ hash.js "^1.0.0"
+ hmac-drbg "^1.0.1"
+ inherits "^2.0.4"
+ minimalistic-assert "^1.0.1"
+ minimalistic-crypto-utils "^1.0.1"
+
email-addresses@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/email-addresses/-/email-addresses-5.0.0.tgz#7ae9e7f58eef7d5e3e2c2c2d3ea49b78dc854fa6"
@@ -2157,7 +2354,7 @@ env-paths@^2.2.1:
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2"
integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==
-error-ex@^1.3.1:
+error-ex@^1.2.0, error-ex@^1.3.1:
version "1.3.2"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==
@@ -2547,6 +2744,19 @@ esutils@^2.0.2:
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
+event-stream@=3.3.4:
+ version "3.3.4"
+ resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571"
+ integrity sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==
+ dependencies:
+ duplexer "~0.1.1"
+ from "~0"
+ map-stream "~0.1.0"
+ pause-stream "0.0.11"
+ split "0.3"
+ stream-combiner "~0.0.4"
+ through "~2.3.1"
+
eventemitter3@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4"
@@ -2682,6 +2892,14 @@ find-cache-dir@^3.3.1:
make-dir "^3.0.2"
pkg-dir "^4.1.0"
+find-up@^1.0.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f"
+ integrity sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==
+ dependencies:
+ path-exists "^2.0.0"
+ pinkie-promise "^2.0.0"
+
find-up@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
@@ -2752,6 +2970,11 @@ framer-motion@^11.0.5:
optionalDependencies:
"@emotion/is-prop-valid" "^0.8.2"
+from@~0:
+ version "0.1.7"
+ resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
+ integrity sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==
+
fs-extra@^11.1.0, fs-extra@^11.1.1:
version "11.1.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d"
@@ -2956,7 +3179,7 @@ gopd@^1.0.1:
dependencies:
get-intrinsic "^1.1.3"
-graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4:
+graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4:
version "4.2.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
@@ -2966,6 +3189,13 @@ graphemer@^1.4.0:
resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
+has-ansi@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
+ integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==
+ dependencies:
+ ansi-regex "^2.0.0"
+
has-bigints@^1.0.1, has-bigints@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa"
@@ -3005,6 +3235,23 @@ has-tostringtag@^1.0.0:
dependencies:
has-symbols "^1.0.2"
+hash-base@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33"
+ integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==
+ dependencies:
+ inherits "^2.0.4"
+ readable-stream "^3.6.0"
+ safe-buffer "^5.2.0"
+
+hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7:
+ version "1.1.7"
+ resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42"
+ integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==
+ dependencies:
+ inherits "^2.0.3"
+ minimalistic-assert "^1.0.1"
+
hasown@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c"
@@ -3012,6 +3259,20 @@ hasown@^2.0.0:
dependencies:
function-bind "^1.1.2"
+hmac-drbg@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
+ integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==
+ dependencies:
+ hash.js "^1.0.3"
+ minimalistic-assert "^1.0.0"
+ minimalistic-crypto-utils "^1.0.1"
+
+hosted-git-info@^2.1.4:
+ version "2.8.9"
+ resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
+ integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==
+
html-tags@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.3.1.tgz#a04026a18c882e4bba8a01a3d39cfe465d40b5ce"
@@ -3027,6 +3288,11 @@ human-signals@^4.3.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2"
integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==
+ieee754@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
+ integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
+
ignore@^5.2.0, ignore@^5.2.4, ignore@^5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78"
@@ -3058,7 +3324,7 @@ inflight@^1.0.4:
once "^1.3.0"
wrappy "1"
-inherits@2:
+inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -3270,6 +3536,11 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.9:
dependencies:
which-typed-array "^1.1.11"
+is-utf8@^0.2.0:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
+ integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==
+
is-weakmap@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2"
@@ -3395,6 +3666,11 @@ jsonfile@^6.0.1:
optionalDependencies:
graceful-fs "^4.1.6"
+jsqr@^1.2.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/jsqr/-/jsqr-1.4.0.tgz#8efb8d0a7cc6863cb6d95116b9069123ce9eb2d1"
+ integrity sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==
+
"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5:
version "3.3.5"
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a"
@@ -3447,6 +3723,17 @@ lines-and-columns@^1.1.6:
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
+load-json-file@^1.0.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0"
+ integrity sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==
+ dependencies:
+ graceful-fs "^4.1.2"
+ parse-json "^2.2.0"
+ pify "^2.0.0"
+ pinkie-promise "^2.0.0"
+ strip-bom "^2.0.0"
+
locate-path@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
@@ -3490,6 +3777,14 @@ lower-case@^2.0.2:
dependencies:
tslib "^2.0.3"
+lru-cache@^4.0.1:
+ version "4.1.5"
+ resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
+ integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==
+ dependencies:
+ pseudomap "^1.0.2"
+ yallist "^2.1.2"
+
lru-cache@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
@@ -3516,11 +3811,25 @@ make-dir@^3.0.2:
dependencies:
semver "^6.0.0"
+map-stream@~0.1.0:
+ version "0.1.0"
+ resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194"
+ integrity sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==
+
mathml-tag-names@^2.1.3:
version "2.1.3"
resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3"
integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==
+md5.js@^1.3.4:
+ version "1.3.5"
+ resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
+ integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==
+ dependencies:
+ hash-base "^3.0.0"
+ inherits "^2.0.1"
+ safe-buffer "^5.1.2"
+
mdn-data@2.0.28:
version "2.0.28"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba"
@@ -3564,6 +3873,16 @@ mimic-fn@^4.0.0:
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc"
integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==
+minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
+ integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==
+
+minimalistic-crypto-utils@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
+ integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==
+
minimatch@9.0.3, minimatch@^9.0.1:
version "9.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
@@ -3571,7 +3890,7 @@ minimatch@9.0.3, minimatch@^9.0.1:
dependencies:
brace-expansion "^2.0.1"
-minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
+minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
@@ -3649,6 +3968,16 @@ node-releases@^2.0.13:
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d"
integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==
+normalize-package-data@^2.3.2:
+ version "2.5.0"
+ resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
+ integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==
+ dependencies:
+ hosted-git-info "^2.1.4"
+ resolve "^1.10.0"
+ semver "2 || 3 || 4 || 5"
+ validate-npm-package-license "^3.0.1"
+
normalize-path@^3.0.0, normalize-path@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
@@ -3828,6 +4157,13 @@ parent-module@^1.0.0:
dependencies:
callsites "^3.0.0"
+parse-json@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
+ integrity sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==
+ dependencies:
+ error-ex "^1.2.0"
+
parse-json@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd"
@@ -3838,6 +4174,13 @@ parse-json@^5.2.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"
+path-exists@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b"
+ integrity sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==
+ dependencies:
+ pinkie-promise "^2.0.0"
+
path-exists@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
@@ -3871,11 +4214,27 @@ path-scurry@^1.10.1:
lru-cache "^9.1.1 || ^10.0.0"
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
+path-type@^1.0.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
+ integrity sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==
+ dependencies:
+ graceful-fs "^4.1.2"
+ pify "^2.0.0"
+ pinkie-promise "^2.0.0"
+
path-type@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
+pause-stream@0.0.11:
+ version "0.0.11"
+ resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
+ integrity sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==
+ dependencies:
+ through "~2.3"
+
picocolors@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
@@ -3891,7 +4250,7 @@ pify@^2.0.0:
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==
-pinkie-promise@^2.0.0:
+pinkie-promise@^2.0.0, pinkie-promise@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
integrity sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==
@@ -3974,7 +4333,7 @@ prismjs@^1.29.0:
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12"
integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==
-prop-types@^15.8.1:
+prop-types@^15.7.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
@@ -3988,11 +4347,28 @@ propagate@^2.0.0:
resolved "https://registry.yarnpkg.com/propagate/-/propagate-2.0.1.tgz#40cdedab18085c792334e64f0ac17256d38f9a45"
integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==
+ps-tree@^1.0.1:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.2.0.tgz#5e7425b89508736cdd4f2224d028f7bb3f722ebd"
+ integrity sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==
+ dependencies:
+ event-stream "=3.3.4"
+
+pseudomap@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
+ integrity sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==
+
punycode@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==
+qrcode-generator@^1.4.4:
+ version "1.4.4"
+ resolved "https://registry.yarnpkg.com/qrcode-generator/-/qrcode-generator-1.4.4.tgz#63f771224854759329a99048806a53ed278740e7"
+ integrity sha512-HM7yY8O2ilqhmULxGMpcHSF1EhJJ9yBj8gvDEuZ6M+KGJ0YY2hKpnXvRD+hZPLrDVck3ExIGhmPtSdcjC+guuw==
+
queue-microtask@^1.2.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
@@ -4025,6 +4401,15 @@ react-powerglitch@^1.0.3:
dependencies:
powerglitch "^2.3.2"
+react-qr-reader@^2.2.1:
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/react-qr-reader/-/react-qr-reader-2.2.1.tgz#dc89046d1c1a1da837a683dd970de5926817d55b"
+ integrity sha512-EL5JEj53u2yAOgtpAKAVBzD/SiKWn0Bl7AZy6ZrSf1lub7xHwtaXe6XSx36Wbhl1VMGmvmrwYMRwO1aSCT2fwA==
+ dependencies:
+ jsqr "^1.2.0"
+ prop-types "^15.7.2"
+ webrtc-adapter "^7.2.1"
+
react-router-dom@^6.22.1:
version "6.22.1"
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.22.1.tgz#cfa109d4b6b0a4d00bac179bc0ad2a6469455282"
@@ -4052,6 +4437,32 @@ react@^18.2.0:
dependencies:
loose-envify "^1.1.0"
+read-pkg-up@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
+ integrity sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==
+ dependencies:
+ find-up "^1.0.0"
+ read-pkg "^1.0.0"
+
+read-pkg@^1.0.0, read-pkg@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
+ integrity sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==
+ dependencies:
+ load-json-file "^1.0.0"
+ normalize-package-data "^2.3.2"
+ path-type "^1.0.0"
+
+readable-stream@^3.6.0:
+ version "3.6.2"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
+ integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
+ dependencies:
+ inherits "^2.0.3"
+ string_decoder "^1.1.1"
+ util-deprecate "^1.0.1"
+
readdirp@~3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
@@ -4105,7 +4516,7 @@ resolve-pkg-maps@^1.0.0:
resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f"
integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==
-resolve@^1.22.4:
+resolve@^1.10.0, resolve@^1.22.4:
version "1.22.8"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d"
integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==
@@ -4142,6 +4553,14 @@ rimraf@^5.0.5:
dependencies:
glob "^10.3.7"
+ripemd160@^2.0.1:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c"
+ integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==
+ dependencies:
+ hash-base "^3.0.0"
+ inherits "^2.0.1"
+
rollup@^2.77.2:
version "2.79.1"
resolved "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7"
@@ -4168,6 +4587,13 @@ rollup@^4.2.0:
"@rollup/rollup-win32-x64-msvc" "4.5.2"
fsevents "~2.3.2"
+rtcpeerconnection-shim@^1.2.15:
+ version "1.2.15"
+ resolved "https://registry.yarnpkg.com/rtcpeerconnection-shim/-/rtcpeerconnection-shim-1.2.15.tgz#e7cc189a81b435324c4949aa3dfb51888684b243"
+ integrity sha512-C6DxhXt7bssQ1nHb154lqeL0SXz5Dx4RczXZu2Aa/L1NJFnEVDxFwCBo3fqtuljhHIGceg5JKBV4XJ0gW5JKyw==
+ dependencies:
+ sdp "^2.6.0"
+
run-applescript@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c"
@@ -4199,6 +4625,11 @@ safe-array-concat@^1.0.1:
has-symbols "^1.0.3"
isarray "^2.0.5"
+safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0:
+ version "5.2.1"
+ resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
+ integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
+
safe-regex-test@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295"
@@ -4224,6 +4655,16 @@ scheduler@^0.23.0:
dependencies:
loose-envify "^1.1.0"
+sdp@^2.12.0, sdp@^2.6.0:
+ version "2.12.0"
+ resolved "https://registry.yarnpkg.com/sdp/-/sdp-2.12.0.tgz#338a106af7560c86e4523f858349680350d53b22"
+ integrity sha512-jhXqQAQVM+8Xj5EjJGVweuEzgtGWb3tmEEpl3CLP3cStInSbVHSg0QWOGQzNq8pSID4JkpeV2mPqlMDLrm0/Vw==
+
+"semver@2 || 3 || 4 || 5":
+ version "5.7.2"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
+ integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
+
semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
version "6.3.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
@@ -4255,6 +4696,14 @@ set-function-name@^2.0.0, set-function-name@^2.0.1:
functions-have-names "^1.2.3"
has-property-descriptors "^1.0.0"
+sha.js@^2.4.0:
+ version "2.4.11"
+ resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7"
+ integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==
+ dependencies:
+ inherits "^2.0.1"
+ safe-buffer "^5.0.1"
+
shebang-command@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
@@ -4267,6 +4716,11 @@ shebang-regex@^3.0.0:
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
+shell-quote@^1.6.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680"
+ integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==
+
side-channel@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
@@ -4320,6 +4774,46 @@ snake-case@^3.0.4:
resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
+spdx-correct@^3.0.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c"
+ integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==
+ dependencies:
+ spdx-expression-parse "^3.0.0"
+ spdx-license-ids "^3.0.0"
+
+spdx-exceptions@^2.1.0:
+ version "2.5.0"
+ resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz#5d607d27fc806f66d7b64a766650fa890f04ed66"
+ integrity sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==
+
+spdx-expression-parse@^3.0.0:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679"
+ integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==
+ dependencies:
+ spdx-exceptions "^2.1.0"
+ spdx-license-ids "^3.0.0"
+
+spdx-license-ids@^3.0.0:
+ version "3.0.17"
+ resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz#887da8aa73218e51a1d917502d79863161a93f9c"
+ integrity sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==
+
+split@0.3:
+ version "0.3.3"
+ resolved "https://registry.yarnpkg.com/split/-/split-0.3.3.tgz#cd0eea5e63a211dfff7eb0f091c4133e2d0dd28f"
+ integrity sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==
+ dependencies:
+ through "2"
+
+stream-combiner@~0.0.4:
+ version "0.0.4"
+ resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14"
+ integrity sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==
+ dependencies:
+ duplexer "~0.1.1"
+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
@@ -4353,6 +4847,15 @@ string.prototype.matchall@^4.0.8:
set-function-name "^2.0.0"
side-channel "^1.0.4"
+string.prototype.padend@^3.0.0:
+ version "3.1.5"
+ resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.5.tgz#311ef3a4e3c557dd999cdf88fbdde223f2ac0f95"
+ integrity sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==
+ dependencies:
+ call-bind "^1.0.2"
+ define-properties "^1.2.0"
+ es-abstract "^1.22.1"
+
string.prototype.trim@^1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd"
@@ -4380,6 +4883,13 @@ string.prototype.trimstart@^1.0.7:
define-properties "^1.2.0"
es-abstract "^1.22.1"
+string_decoder@^1.1.1:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
+ integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
+ dependencies:
+ safe-buffer "~5.2.0"
+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
@@ -4387,6 +4897,13 @@ string.prototype.trimstart@^1.0.7:
dependencies:
ansi-regex "^5.0.1"
+strip-ansi@^3.0.0:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
+ integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==
+ dependencies:
+ ansi-regex "^2.0.0"
+
strip-ansi@^7.0.1, strip-ansi@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
@@ -4394,6 +4911,13 @@ strip-ansi@^7.0.1, strip-ansi@^7.1.0:
dependencies:
ansi-regex "^6.0.1"
+strip-bom@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e"
+ integrity sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==
+ dependencies:
+ is-utf8 "^0.2.0"
+
strip-bom@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
@@ -4465,6 +4989,11 @@ stylelint@^16.2.1:
table "^6.8.1"
write-file-atomic "^5.0.1"
+supports-color@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
+ integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==
+
supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
@@ -4544,6 +5073,11 @@ text-table@^0.2.0:
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==
+through@2, through@~2.3, through@~2.3.1:
+ version "2.3.8"
+ resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
+ integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==
+
tiny-invariant@^1.1.0:
version "1.3.1"
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642"
@@ -4654,6 +5188,11 @@ typed-array-length@^1.0.4:
for-each "^0.3.3"
is-typed-array "^1.1.9"
+typeforce@^1.11.5:
+ version "1.18.0"
+ resolved "https://registry.yarnpkg.com/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc"
+ integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==
+
typescript@^5.3.3:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
@@ -4699,11 +5238,19 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"
-util-deprecate@^1.0.2:
+util-deprecate@^1.0.1, util-deprecate@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
+validate-npm-package-license@^3.0.1:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
+ integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==
+ dependencies:
+ spdx-correct "^3.0.0"
+ spdx-expression-parse "^3.0.0"
+
vite-plugin-checker@^0.6.4:
version "0.6.4"
resolved "https://registry.yarnpkg.com/vite-plugin-checker/-/vite-plugin-checker-0.6.4.tgz#aca186ab605aa15bd2c5dd9cc6d7c8fdcbe214ec"
@@ -4812,6 +5359,14 @@ web-streams-polyfill@^3.0.3:
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6"
integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==
+webrtc-adapter@^7.2.1:
+ version "7.7.1"
+ resolved "https://registry.yarnpkg.com/webrtc-adapter/-/webrtc-adapter-7.7.1.tgz#b2c227a6144983b35057df67bd984a7d4bfd17f1"
+ integrity sha512-TbrbBmiQBL9n0/5bvDdORc6ZfRY/Z7JnEj+EYOD1ghseZdpJ+nF2yx14k3LgQKc7JZnG7HAcL+zHnY25So9d7A==
+ dependencies:
+ rtcpeerconnection-shim "^1.2.15"
+ sdp "^2.12.0"
+
which-boxed-primitive@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"
@@ -4862,7 +5417,7 @@ which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.9:
gopd "^1.0.1"
has-tostringtag "^1.0.0"
-which@^1.3.1:
+which@^1.2.9, which@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
@@ -4876,6 +5431,13 @@ which@^2.0.1:
dependencies:
isexe "^2.0.0"
+wif@^2.0.6:
+ version "2.0.6"
+ resolved "https://registry.yarnpkg.com/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704"
+ integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ==
+ dependencies:
+ bs58check "<3.0.0"
+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
@@ -4912,6 +5474,11 @@ ws@^8.14.2, ws@^8.8.1:
resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f"
integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==
+yallist@^2.1.2:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
+ integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==
+
yallist@^3.0.2:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
@@ -4922,6 +5489,22 @@ yallist@^4.0.0:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
+yarn-run-all@^3.1.1:
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/yarn-run-all/-/yarn-run-all-3.1.1.tgz#385053ee85c7156f87cec8949a0ffb6bfd0de0b0"
+ integrity sha512-DgTb6H2VV/HNyeksmAnuR3CLHSTiHCIeuNYrc58NfL6ev8hcTRDXRbBO2yvl1OXLep94eofwXsxCZiaiRo8lDA==
+ dependencies:
+ chalk "^1.1.3"
+ cross-spawn "^4.0.0"
+ minimatch "^3.0.2"
+ object-assign "^4.0.1"
+ pinkie-promise "^2.0.1"
+ ps-tree "^1.0.1"
+ read-pkg "^1.1.0"
+ read-pkg-up "^1.0.1"
+ shell-quote "^1.6.1"
+ string.prototype.padend "^3.0.0"
+
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"