diff --git a/README.md b/README.md
index e438815b..091174c6 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,41 @@
-# Sygma Widget UI
\ No newline at end of file
+# Sygma Widget UI
+
+The Sygma Widget is a customizable frontend that leverages the `Sygma protocol` and can be integrated into any Dapp regardless of the framework used. More information can be found in our [docs](https://docs.buildwithsygma.com/)
+
+This repository is divided into two packages. The [Widget](./packages/widget/) package is a web component built using Lit framework that allows you to have a widget for the `Sygma` protocol project. The [React](./packages/react/) package is a wrapper around the Lit Widget that allows developers to use this application inside react projects.
+
+## Quick setup
+
+```bash
+yarn create vite my-dapp --template react-ts
+cd ./my-dapp
+yarn install
+yarn add @buildwithsygma/sygmaprotocol-react-widget
+yarn dev
+```
+
+## How to integrate
+
+Check respective READMES to follow instructions on how to integrate the Widget into your codebase.
+
+* for web component based projects, you can directly install, import and use the Widget. You can find further instructions [here](./packages/widget/README.md)
+* for React based projects, please refer to this [README](./packages/react/README.md) file to get further instructions
+* a react example is provided [here](/examples/react-widget-app/) for a more detailed reference
+* a vanilla example is provided [here](/examples/vanilla-widget-app/) for a more detailed reference on a bare bones implementation
+
+### Configuration through props
+
+You can pass props to the Widget to customize the behaviour of the Widget. You can find the complete reference of the properties avialable [here](./packages/widget/src/widget.ts). Below there is an example passing props to whitelist the source and destination network in the react component:
+
+```ts
+import { SygmaProtocolReactWidget } from "@buildwithsygma/sygmaprotocol-react-widget";
+
+function MyDapp() {
+ return (
+
+ );
+}
+```
\ No newline at end of file
diff --git a/examples/vanilla-widget-app/.gitignore b/examples/vanilla-widget-app/.gitignore
new file mode 100644
index 00000000..a547bf36
--- /dev/null
+++ b/examples/vanilla-widget-app/.gitignore
@@ -0,0 +1,24 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+dist
+dist-ssr
+*.local
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
diff --git a/examples/vanilla-widget-app/index.html b/examples/vanilla-widget-app/index.html
new file mode 100644
index 00000000..9cb5d153
--- /dev/null
+++ b/examples/vanilla-widget-app/index.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Sygma Widget Vanilla Example
+
+
+
+
+
+
diff --git a/examples/vanilla-widget-app/package.json b/examples/vanilla-widget-app/package.json
new file mode 100644
index 00000000..47a93ba5
--- /dev/null
+++ b/examples/vanilla-widget-app/package.json
@@ -0,0 +1,19 @@
+{
+ "name": "@buildwithsygma/vanilla-widget-app",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "tsc && vite build",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "@buildwithsygma/sygmaprotocol-widget": "workspace:^"
+ },
+ "devDependencies": {
+ "@chainsafe/eslint-config": "2.2.2",
+ "typescript": "^5.2.2",
+ "vite": "^5.2.0"
+ }
+}
diff --git a/examples/vanilla-widget-app/src/main.ts b/examples/vanilla-widget-app/src/main.ts
new file mode 100644
index 00000000..3482f86d
--- /dev/null
+++ b/examples/vanilla-widget-app/src/main.ts
@@ -0,0 +1,7 @@
+import '@buildwithsygma/sygmaprotocol-widget'
+
+document.querySelector('#app')!.innerHTML = `
+
+`
diff --git a/examples/vanilla-widget-app/src/vite-env.d.ts b/examples/vanilla-widget-app/src/vite-env.d.ts
new file mode 100644
index 00000000..11f02fe2
--- /dev/null
+++ b/examples/vanilla-widget-app/src/vite-env.d.ts
@@ -0,0 +1 @@
+///
diff --git a/examples/vanilla-widget-app/tsconfig.json b/examples/vanilla-widget-app/tsconfig.json
new file mode 100644
index 00000000..75abdef2
--- /dev/null
+++ b/examples/vanilla-widget-app/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "module": "ESNext",
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": ["src"]
+}
diff --git a/packages/react/README.md b/packages/react/README.md
new file mode 100644
index 00000000..e6a58306
--- /dev/null
+++ b/packages/react/README.md
@@ -0,0 +1,52 @@
+# React Widget
+
+## Quick setup
+
+To integrate this Widget into any React project follow this instructions below
+
+### Dependencies
+
+You will need to add this dependency to your project first:
+
+```bash
+yarn add @polkadot/extension-inject
+```
+
+### Installing the Widget
+
+You can install the Widget by simply adding the dependency to your project:
+
+```bash
+yarn add @buildwithsygma/sygmaprotocol-react-widget
+```
+
+### Code integration
+
+After installation you can simply add the Widget into your code:
+
+```ts
+import { SygmaProtocolReactWidget } from '@buildwithsygma/sygmaprotocol-react-widget';
+
+function MyDapp(){
+ return (
+ ;
+ )
+}
+```
+
+You can also pass props to the Widget component to customize it:
+
+```ts
+function MyDapp(){
+ return (
+
+ )
+}
+```
+
+You can check [here](../widget/src/widget.ts) all the available properties.
\ No newline at end of file
diff --git a/packages/widget/README.md b/packages/widget/README.md
new file mode 100644
index 00000000..19a705c9
--- /dev/null
+++ b/packages/widget/README.md
@@ -0,0 +1,55 @@
+# Sygmaprotocol Lit Widget
+
+### Dependencies
+
+To integrate the Widget into any project that uses web components you will need to add the following dependencies:
+
+```bash
+yarn add @buildwithsygma/sygmaprotocol-widget @buildwithsygma/sygma-sdk-core
+```
+
+### Code integration
+
+To add the Wdiget to your existing codebase import the dependency and add the custom tag into your render method.
+
+```ts
+import { LitElement, html } from 'lit'
+import { customElement, property } from 'lit/decorators.js'
+import '@buildwithsygma/sygmaprotocol-widget'
+
+@customElement('my-element')
+export class MyElement extends LitElement {
+ render() {
+ return html`
+
+
+
+ `
+ }
+
+}
+
+declare global {
+ interface HTMLElementTagNameMap {
+ 'my-element': MyElement
+ }
+}
+```
+
+You can also pass properties into the Widget to customize it's behaviour:
+
+```ts
+render() {
+ return html`
+
+
+
+ `
+ }
+```
+
+You can check [here](./src/widget.ts) all the available properties.
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index e718f972..1b457b7b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -391,6 +391,17 @@ __metadata:
languageName: unknown
linkType: soft
+"@buildwithsygma/vanilla-widget-app@workspace:examples/vanilla-widget-app":
+ version: 0.0.0-use.local
+ resolution: "@buildwithsygma/vanilla-widget-app@workspace:examples/vanilla-widget-app"
+ dependencies:
+ "@buildwithsygma/sygmaprotocol-widget": "workspace:^"
+ "@chainsafe/eslint-config": "npm:2.2.2"
+ typescript: "npm:^5.2.2"
+ vite: "npm:^5.2.0"
+ languageName: unknown
+ linkType: soft
+
"@chainsafe/eslint-config@npm:2.2.2":
version: 2.2.2
resolution: "@chainsafe/eslint-config@npm:2.2.2"
@@ -447,6 +458,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/aix-ppc64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/aix-ppc64@npm:0.20.2"
+ conditions: os=aix & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/android-arm64@npm:0.18.20"
@@ -461,6 +479,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/android-arm64@npm:0.20.2"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/android-arm@npm:0.18.20"
@@ -475,6 +500,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/android-arm@npm:0.20.2"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/android-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/android-x64@npm:0.18.20"
@@ -489,6 +521,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/android-x64@npm:0.20.2"
+ conditions: os=android & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-arm64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/darwin-arm64@npm:0.18.20"
@@ -503,6 +542,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-arm64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/darwin-arm64@npm:0.20.2"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/darwin-x64@npm:0.18.20"
@@ -517,6 +563,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/darwin-x64@npm:0.20.2"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-arm64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/freebsd-arm64@npm:0.18.20"
@@ -531,6 +584,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-arm64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/freebsd-arm64@npm:0.20.2"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/freebsd-x64@npm:0.18.20"
@@ -545,6 +605,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/freebsd-x64@npm:0.20.2"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-arm64@npm:0.18.20"
@@ -559,6 +626,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-arm64@npm:0.20.2"
+ conditions: os=linux & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-arm@npm:0.18.20"
@@ -573,6 +647,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-arm@npm:0.20.2"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ia32@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-ia32@npm:0.18.20"
@@ -587,6 +668,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ia32@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-ia32@npm:0.20.2"
+ conditions: os=linux & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-loong64@npm:0.14.54":
version: 0.14.54
resolution: "@esbuild/linux-loong64@npm:0.14.54"
@@ -608,6 +696,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-loong64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-loong64@npm:0.20.2"
+ conditions: os=linux & cpu=loong64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-mips64el@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-mips64el@npm:0.18.20"
@@ -622,6 +717,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-mips64el@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-mips64el@npm:0.20.2"
+ conditions: os=linux & cpu=mips64el
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ppc64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-ppc64@npm:0.18.20"
@@ -636,6 +738,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ppc64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-ppc64@npm:0.20.2"
+ conditions: os=linux & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-riscv64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-riscv64@npm:0.18.20"
@@ -650,6 +759,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-riscv64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-riscv64@npm:0.20.2"
+ conditions: os=linux & cpu=riscv64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-s390x@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-s390x@npm:0.18.20"
@@ -664,6 +780,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-s390x@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-s390x@npm:0.20.2"
+ conditions: os=linux & cpu=s390x
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/linux-x64@npm:0.18.20"
@@ -678,6 +801,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/linux-x64@npm:0.20.2"
+ conditions: os=linux & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/netbsd-x64@npm:0.18.20"
@@ -692,6 +822,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/netbsd-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/netbsd-x64@npm:0.20.2"
+ conditions: os=netbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/openbsd-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/openbsd-x64@npm:0.18.20"
@@ -706,6 +843,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openbsd-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/openbsd-x64@npm:0.20.2"
+ conditions: os=openbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/sunos-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/sunos-x64@npm:0.18.20"
@@ -720,6 +864,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/sunos-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/sunos-x64@npm:0.20.2"
+ conditions: os=sunos & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-arm64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/win32-arm64@npm:0.18.20"
@@ -734,6 +885,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-arm64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/win32-arm64@npm:0.20.2"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-ia32@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/win32-ia32@npm:0.18.20"
@@ -748,6 +906,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-ia32@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/win32-ia32@npm:0.20.2"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-x64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/win32-x64@npm:0.18.20"
@@ -762,6 +927,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-x64@npm:0.20.2":
+ version: 0.20.2
+ resolution: "@esbuild/win32-x64@npm:0.20.2"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
version: 4.4.0
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
@@ -3333,6 +3505,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-android-arm-eabi@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-android-arm-eabi@npm:4.18.0"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-android-arm-eabi@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.6"
@@ -3340,6 +3519,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-android-arm64@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-android-arm64@npm:4.18.0"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-android-arm64@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-android-arm64@npm:4.9.6"
@@ -3347,6 +3533,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-darwin-arm64@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-darwin-arm64@npm:4.18.0"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-darwin-arm64@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-darwin-arm64@npm:4.9.6"
@@ -3354,6 +3547,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-darwin-x64@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-darwin-x64@npm:4.18.0"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-darwin-x64@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-darwin-x64@npm:4.9.6"
@@ -3361,6 +3561,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-linux-arm-gnueabihf@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.18.0"
+ conditions: os=linux & cpu=arm & libc=glibc
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.6"
@@ -3368,6 +3575,20 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-linux-arm-musleabihf@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.18.0"
+ conditions: os=linux & cpu=arm & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm64-gnu@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.18.0"
+ conditions: os=linux & cpu=arm64 & libc=glibc
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-linux-arm64-gnu@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.6"
@@ -3375,6 +3596,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-linux-arm64-musl@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-arm64-musl@npm:4.18.0"
+ conditions: os=linux & cpu=arm64 & libc=musl
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-linux-arm64-musl@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.6"
@@ -3382,6 +3610,20 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.0"
+ conditions: os=linux & cpu=ppc64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-riscv64-gnu@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.18.0"
+ conditions: os=linux & cpu=riscv64 & libc=glibc
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-linux-riscv64-gnu@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.6"
@@ -3389,6 +3631,20 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-linux-s390x-gnu@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.18.0"
+ conditions: os=linux & cpu=s390x & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-x64-gnu@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-x64-gnu@npm:4.18.0"
+ conditions: os=linux & cpu=x64 & libc=glibc
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-linux-x64-gnu@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.6"
@@ -3396,6 +3652,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-linux-x64-musl@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-linux-x64-musl@npm:4.18.0"
+ conditions: os=linux & cpu=x64 & libc=musl
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-linux-x64-musl@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.6"
@@ -3403,6 +3666,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-win32-arm64-msvc@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.18.0"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-win32-arm64-msvc@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.6"
@@ -3410,6 +3680,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-win32-ia32-msvc@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.18.0"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-win32-ia32-msvc@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.6"
@@ -3417,6 +3694,13 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-win32-x64-msvc@npm:4.18.0":
+ version: 4.18.0
+ resolution: "@rollup/rollup-win32-x64-msvc@npm:4.18.0"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@rollup/rollup-win32-x64-msvc@npm:4.9.6":
version: 4.9.6
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.6"
@@ -6613,6 +6897,86 @@ __metadata:
languageName: node
linkType: hard
+"esbuild@npm:^0.20.1":
+ version: 0.20.2
+ resolution: "esbuild@npm:0.20.2"
+ dependencies:
+ "@esbuild/aix-ppc64": "npm:0.20.2"
+ "@esbuild/android-arm": "npm:0.20.2"
+ "@esbuild/android-arm64": "npm:0.20.2"
+ "@esbuild/android-x64": "npm:0.20.2"
+ "@esbuild/darwin-arm64": "npm:0.20.2"
+ "@esbuild/darwin-x64": "npm:0.20.2"
+ "@esbuild/freebsd-arm64": "npm:0.20.2"
+ "@esbuild/freebsd-x64": "npm:0.20.2"
+ "@esbuild/linux-arm": "npm:0.20.2"
+ "@esbuild/linux-arm64": "npm:0.20.2"
+ "@esbuild/linux-ia32": "npm:0.20.2"
+ "@esbuild/linux-loong64": "npm:0.20.2"
+ "@esbuild/linux-mips64el": "npm:0.20.2"
+ "@esbuild/linux-ppc64": "npm:0.20.2"
+ "@esbuild/linux-riscv64": "npm:0.20.2"
+ "@esbuild/linux-s390x": "npm:0.20.2"
+ "@esbuild/linux-x64": "npm:0.20.2"
+ "@esbuild/netbsd-x64": "npm:0.20.2"
+ "@esbuild/openbsd-x64": "npm:0.20.2"
+ "@esbuild/sunos-x64": "npm:0.20.2"
+ "@esbuild/win32-arm64": "npm:0.20.2"
+ "@esbuild/win32-ia32": "npm:0.20.2"
+ "@esbuild/win32-x64": "npm:0.20.2"
+ dependenciesMeta:
+ "@esbuild/aix-ppc64":
+ optional: true
+ "@esbuild/android-arm":
+ optional: true
+ "@esbuild/android-arm64":
+ optional: true
+ "@esbuild/android-x64":
+ optional: true
+ "@esbuild/darwin-arm64":
+ optional: true
+ "@esbuild/darwin-x64":
+ optional: true
+ "@esbuild/freebsd-arm64":
+ optional: true
+ "@esbuild/freebsd-x64":
+ optional: true
+ "@esbuild/linux-arm":
+ optional: true
+ "@esbuild/linux-arm64":
+ optional: true
+ "@esbuild/linux-ia32":
+ optional: true
+ "@esbuild/linux-loong64":
+ optional: true
+ "@esbuild/linux-mips64el":
+ optional: true
+ "@esbuild/linux-ppc64":
+ optional: true
+ "@esbuild/linux-riscv64":
+ optional: true
+ "@esbuild/linux-s390x":
+ optional: true
+ "@esbuild/linux-x64":
+ optional: true
+ "@esbuild/netbsd-x64":
+ optional: true
+ "@esbuild/openbsd-x64":
+ optional: true
+ "@esbuild/sunos-x64":
+ optional: true
+ "@esbuild/win32-arm64":
+ optional: true
+ "@esbuild/win32-ia32":
+ optional: true
+ "@esbuild/win32-x64":
+ optional: true
+ bin:
+ esbuild: bin/esbuild
+ checksum: 66398f9fb2c65e456a3e649747b39af8a001e47963b25e86d9c09d2a48d61aa641b27da0ce5cad63df95ad246105e1d83e7fee0e1e22a0663def73b1c5101112
+ languageName: node
+ linkType: hard
+
"escalade@npm:^3.1.1":
version: 3.1.2
resolution: "escalade@npm:3.1.2"
@@ -9979,6 +10343,17 @@ __metadata:
languageName: node
linkType: hard
+"postcss@npm:^8.4.38":
+ version: 8.4.38
+ resolution: "postcss@npm:8.4.38"
+ dependencies:
+ nanoid: "npm:^3.3.7"
+ picocolors: "npm:^1.0.0"
+ source-map-js: "npm:^1.2.0"
+ checksum: 955407b8f70cf0c14acf35dab3615899a2a60a26718a63c848cf3c29f2467b0533991b985a2b994430d890bd7ec2b1963e36352b0774a19143b5f591540f7c06
+ languageName: node
+ linkType: hard
+
"prelude-ls@npm:^1.2.1":
version: 1.2.1
resolution: "prelude-ls@npm:1.2.1"
@@ -10456,6 +10831,69 @@ __metadata:
languageName: node
linkType: hard
+"rollup@npm:^4.13.0":
+ version: 4.18.0
+ resolution: "rollup@npm:4.18.0"
+ dependencies:
+ "@rollup/rollup-android-arm-eabi": "npm:4.18.0"
+ "@rollup/rollup-android-arm64": "npm:4.18.0"
+ "@rollup/rollup-darwin-arm64": "npm:4.18.0"
+ "@rollup/rollup-darwin-x64": "npm:4.18.0"
+ "@rollup/rollup-linux-arm-gnueabihf": "npm:4.18.0"
+ "@rollup/rollup-linux-arm-musleabihf": "npm:4.18.0"
+ "@rollup/rollup-linux-arm64-gnu": "npm:4.18.0"
+ "@rollup/rollup-linux-arm64-musl": "npm:4.18.0"
+ "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.18.0"
+ "@rollup/rollup-linux-riscv64-gnu": "npm:4.18.0"
+ "@rollup/rollup-linux-s390x-gnu": "npm:4.18.0"
+ "@rollup/rollup-linux-x64-gnu": "npm:4.18.0"
+ "@rollup/rollup-linux-x64-musl": "npm:4.18.0"
+ "@rollup/rollup-win32-arm64-msvc": "npm:4.18.0"
+ "@rollup/rollup-win32-ia32-msvc": "npm:4.18.0"
+ "@rollup/rollup-win32-x64-msvc": "npm:4.18.0"
+ "@types/estree": "npm:1.0.5"
+ fsevents: "npm:~2.3.2"
+ dependenciesMeta:
+ "@rollup/rollup-android-arm-eabi":
+ optional: true
+ "@rollup/rollup-android-arm64":
+ optional: true
+ "@rollup/rollup-darwin-arm64":
+ optional: true
+ "@rollup/rollup-darwin-x64":
+ optional: true
+ "@rollup/rollup-linux-arm-gnueabihf":
+ optional: true
+ "@rollup/rollup-linux-arm-musleabihf":
+ optional: true
+ "@rollup/rollup-linux-arm64-gnu":
+ optional: true
+ "@rollup/rollup-linux-arm64-musl":
+ optional: true
+ "@rollup/rollup-linux-powerpc64le-gnu":
+ optional: true
+ "@rollup/rollup-linux-riscv64-gnu":
+ optional: true
+ "@rollup/rollup-linux-s390x-gnu":
+ optional: true
+ "@rollup/rollup-linux-x64-gnu":
+ optional: true
+ "@rollup/rollup-linux-x64-musl":
+ optional: true
+ "@rollup/rollup-win32-arm64-msvc":
+ optional: true
+ "@rollup/rollup-win32-ia32-msvc":
+ optional: true
+ "@rollup/rollup-win32-x64-msvc":
+ optional: true
+ fsevents:
+ optional: true
+ bin:
+ rollup: dist/bin/rollup
+ checksum: 7d0239f029c48d977e0d0b942433bed9ca187d2328b962fc815fc775d0fdf1966ffcd701fef265477e999a1fb01bddcc984fc675d1b9d9864bf8e1f1f487e23e
+ languageName: node
+ linkType: hard
+
"rollup@npm:^4.2.0":
version: 4.9.6
resolution: "rollup@npm:4.9.6"
@@ -10824,6 +11262,13 @@ __metadata:
languageName: node
linkType: hard
+"source-map-js@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "source-map-js@npm:1.2.0"
+ checksum: 7e5f896ac10a3a50fe2898e5009c58ff0dc102dcb056ed27a354623a0ece8954d4b2649e1a1b2b52ef2e161d26f8859c7710350930751640e71e374fe2d321a4
+ languageName: node
+ linkType: hard
+
"source-map@npm:^0.7.3, source-map@npm:^0.7.4":
version: 0.7.4
resolution: "source-map@npm:0.7.4"
@@ -11824,6 +12269,46 @@ __metadata:
languageName: node
linkType: hard
+"vite@npm:^5.2.0":
+ version: 5.2.13
+ resolution: "vite@npm:5.2.13"
+ dependencies:
+ esbuild: "npm:^0.20.1"
+ fsevents: "npm:~2.3.3"
+ postcss: "npm:^8.4.38"
+ rollup: "npm:^4.13.0"
+ peerDependencies:
+ "@types/node": ^18.0.0 || >=20.0.0
+ less: "*"
+ lightningcss: ^1.21.0
+ sass: "*"
+ stylus: "*"
+ sugarss: "*"
+ terser: ^5.4.0
+ dependenciesMeta:
+ fsevents:
+ optional: true
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ less:
+ optional: true
+ lightningcss:
+ optional: true
+ sass:
+ optional: true
+ stylus:
+ optional: true
+ sugarss:
+ optional: true
+ terser:
+ optional: true
+ bin:
+ vite: bin/vite.js
+ checksum: f7a99da71884e69cc581dcfb43d73c8d56d73b9668d6980131603c544d6323c6003a20f376531dc0cfcf36bf5009bc465f89e6c5f8bd9d22868987aba4e4af1b
+ languageName: node
+ linkType: hard
+
"vitest@npm:^1.2.1":
version: 1.2.2
resolution: "vitest@npm:1.2.2"