Skip to content

A free and open-source block-based email template builder.

Moving editor-sample to examples directory (#181)

cohitreecf226b38c97
diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml
index e24a0eb..f0b6cf1 100644
--- a/.github/workflows/github-pages.yaml
+++ b/.github/workflows/github-pages.yaml
@@ -28,12 +28,12 @@ jobs:
uses: actions/configure-pages@v5
- name: Install dependencies
run: npm ci
- - name: Build documentation
- run: npm run build --workspaces
+ - name: Build vite project
+ run: npm run build --workspace examples/vite-emailbuilder-mui
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
- path: packages/editor-sample/dist
+ path: examples/vite-emailbuilder-mui/dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
diff --git a/README.md b/README.md
index ede8d46..3e2ee03 100644
--- a/README.md
+++ b/README.md
@@ -204,13 +204,13 @@ await axios({
## Self hosting the Editor
-Fork this repository and use [packages/editor-sample](https://github.com/usewaypoint/email-builder-js/tree/main/packages/editor-sample) as an example for self-hosting.
+Fork this repository and use one of the examples in the [examples directory](https://github.com/usewaypoint/email-builder-js/tree/main/examples) as an example for self-hosting.
-Quick start:
+Quick start (Vite + MUI)
1. Fork this repository.
2. Open up directory in terminal.
-3. Go to the editor-sample package: `cd packages/editor-sample`
+3. Go to the editor-sample package: `cd examples/vite-emailbuilder-mui`
4. Install packages: `npm install`
5. Run the server: `npx vite`
6. Open in browser: http://localhost:5173/email-builder-js/
diff --git a/packages/editor-sample/LICENSE b/examples/vite-emailbuilder-mui/LICENSE
similarity index 100%
rename from packages/editor-sample/LICENSE
rename to examples/vite-emailbuilder-mui/LICENSE
diff --git a/examples/vite-emailbuilder-mui/README.md b/examples/vite-emailbuilder-mui/README.md
new file mode 100644
index 0000000..d1c594e
--- /dev/null
+++ b/examples/vite-emailbuilder-mui/README.md
@@ -0,0 +1,13 @@
+# Email builder with MUI integrated into a Vite application
+
+Use this as a sample to self-host EmailBuilder.js inside of Vite
+
+To run this locally, fork the repository and then run vite from within this directory:
+
+```
+cd examples/vite-emailbuilder0mui
+npm install
+npx vite
+```
+
+Once the server is running, open http://localhost:5173/email-builder-js/ in your browser.
diff --git a/packages/editor-sample/index.html b/examples/vite-emailbuilder-mui/index.html
similarity index 98%
rename from packages/editor-sample/index.html
rename to examples/vite-emailbuilder-mui/index.html
index 2d0540e..4b8884f 100644
--- a/packages/editor-sample/index.html
+++ b/examples/vite-emailbuilder-mui/index.html
@@ -7,7 +7,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="/src/favicon/favicon-16x16.png" />
<meta name="viewport" content="width=900" />
<meta name="description" content="EmailBuilder.js interactive playground. Brought to you by Waypoint." />
- <title>EmailBuilder.js &mdash; Free and Open Source Template Builder</title>
+ <title>EmailBuilder.js &mdash; Free and Open Source Template Builder.</title>
<style>
html {
margin: 0px;
diff --git a/packages/editor-sample/package.json b/examples/vite-emailbuilder-mui/package.json
similarity index 95%
rename from packages/editor-sample/package.json
rename to examples/vite-emailbuilder-mui/package.json
index 919b8cb..8385f2a 100644
--- a/packages/editor-sample/package.json
+++ b/examples/vite-emailbuilder-mui/package.json
@@ -1,6 +1,6 @@
{
- "name": "@usewaypoint/editor-sample",
- "version": "0.0.1",
+ "name": "@usewaypoint/vite-emailbuilder",
+ "version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/index.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/index.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.tsx
similarity index 96%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.tsx
index ae5e32f..47d5a77 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { AspectRatioOutlined } from '@mui/icons-material';
import { ToggleButton } from '@mui/material';
@@ -15,7 +16,7 @@ type AvatarSidebarPanelProps = {
setData: (v: AvatarProps) => void;
};
export default function AvatarSidebarPanel({ data, setData }: AvatarSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = AvatarPropsSchema.safeParse(d);
if (res.success) {
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx
similarity index 97%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx
index 3b74554..4e26812 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { ToggleButton } from '@mui/material';
import { ButtonProps, ButtonPropsDefaults, ButtonPropsSchema } from '@usewaypoint/block-button';
@@ -14,7 +15,7 @@ type ButtonSidebarPanelProps = {
setData: (v: ButtonProps) => void;
};
export default function ButtonSidebarPanel({ data, setData }: ButtonSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = ButtonPropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.tsx
similarity index 97%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.tsx
index 100ed99..206099f 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import {
SpaceBarOutlined,
@@ -23,7 +24,7 @@ type ColumnsContainerPanelProps = {
setData: (v: ColumnsContainerProps) => void;
};
export default function ColumnsContainerPanel({ data, setData }: ColumnsContainerPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = ColumnsContainerPropsSchema.safeParse(d);
if (res.success) {
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.tsx
similarity index 91%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.tsx
index c947545..0bc1b3a 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import type { ZodError } from 'zod';
import ContainerPropsSchema, { ContainerProps } from '../../../../documents/blocks/Container/ContainerPropsSchema';
@@ -11,7 +12,7 @@ type ContainerSidebarPanelProps = {
};
export default function ContainerSidebarPanel({ data, setData }: ContainerSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = ContainerPropsSchema.safeParse(d);
if (res.success) {
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx
similarity index 95%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx
index ad8c7c2..8e4216a 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { HeightOutlined } from '@mui/icons-material';
import { DividerProps, DividerPropsDefaults, DividerPropsSchema } from '@usewaypoint/block-divider';
@@ -13,7 +14,7 @@ type DividerSidebarPanelProps = {
setData: (v: DividerProps) => void;
};
export default function DividerSidebarPanel({ data, setData }: DividerSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = DividerPropsSchema.safeParse(d);
if (res.success) {
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.tsx
similarity index 96%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.tsx
index 9293a0e..f7e5fbb 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { RoundedCornerOutlined } from '@mui/icons-material';
@@ -16,7 +17,7 @@ type EmailLayoutSidebarFieldsProps = {
setData: (v: EmailLayoutProps) => void;
};
export default function EmailLayoutSidebarFields({ data, setData }: EmailLayoutSidebarFieldsProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = EmailLayoutPropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx
similarity index 95%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx
index ecf502b..2232d93 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { ToggleButton } from '@mui/material';
import { HeadingProps, HeadingPropsDefaults, HeadingPropsSchema } from '@usewaypoint/block-heading';
@@ -13,7 +14,7 @@ type HeadingSidebarPanelProps = {
setData: (v: HeadingProps) => void;
};
export default function HeadingSidebarPanel({ data, setData }: HeadingSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = HeadingPropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.tsx
similarity index 93%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.tsx
index a2591be..4e74969 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { HtmlProps, HtmlPropsSchema } from '@usewaypoint/block-html';
@@ -11,7 +12,7 @@ type HtmlSidebarPanelProps = {
setData: (v: HtmlProps) => void;
};
export default function HtmlSidebarPanel({ data, setData }: HtmlSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = HtmlPropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx
similarity index 97%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx
index 97f0822..cacc97f 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import {
VerticalAlignBottomOutlined,
@@ -19,7 +20,7 @@ type ImageSidebarPanelProps = {
setData: (v: ImageProps) => void;
};
export default function ImageSidebarPanel({ data, setData }: ImageSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = ImagePropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx
similarity index 92%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx
index 143ae32..197a8e3 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { HeightOutlined } from '@mui/icons-material';
import { SpacerProps, SpacerPropsDefaults, SpacerPropsSchema } from '@usewaypoint/block-spacer';
@@ -11,7 +12,7 @@ type SpacerSidebarPanelProps = {
setData: (v: SpacerProps) => void;
};
export default function SpacerSidebarPanel({ data, setData }: SpacerSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = SpacerPropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx
similarity index 94%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx
index 26c3009..7ec9759 100644
--- a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx
+++ b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { ZodError } from 'zod';
import { TextProps, TextPropsSchema } from '@usewaypoint/block-text';
@@ -12,7 +13,7 @@ type TextSidebarPanelProps = {
setData: (v: TextProps) => void;
};
export default function TextSidebarPanel({ data, setData }: TextSidebarPanelProps) {
- const [, setErrors] = useState<Zod.ZodError | null>(null);
+ const [, setErrors] = useState<ZodError | null>(null);
const updateData = (d: unknown) => {
const res = TextPropsSchema.safeParse(d);
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/StylesPanel.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/StylesPanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/StylesPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/StylesPanel.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/ToggleInspectorPanelButton.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ToggleInspectorPanelButton.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/ToggleInspectorPanelButton.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/ToggleInspectorPanelButton.tsx
diff --git a/packages/editor-sample/src/App/InspectorDrawer/index.tsx b/examples/vite-emailbuilder-mui/src/App/InspectorDrawer/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/InspectorDrawer/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/InspectorDrawer/index.tsx
diff --git a/packages/editor-sample/src/App/SamplesDrawer/SidebarButton.tsx b/examples/vite-emailbuilder-mui/src/App/SamplesDrawer/SidebarButton.tsx
similarity index 100%
rename from packages/editor-sample/src/App/SamplesDrawer/SidebarButton.tsx
rename to examples/vite-emailbuilder-mui/src/App/SamplesDrawer/SidebarButton.tsx
diff --git a/packages/editor-sample/src/App/SamplesDrawer/ToggleSamplesPanelButton.tsx b/examples/vite-emailbuilder-mui/src/App/SamplesDrawer/ToggleSamplesPanelButton.tsx
similarity index 100%
rename from packages/editor-sample/src/App/SamplesDrawer/ToggleSamplesPanelButton.tsx
rename to examples/vite-emailbuilder-mui/src/App/SamplesDrawer/ToggleSamplesPanelButton.tsx
diff --git a/packages/editor-sample/src/App/SamplesDrawer/index.tsx b/examples/vite-emailbuilder-mui/src/App/SamplesDrawer/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/SamplesDrawer/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/SamplesDrawer/index.tsx
diff --git a/packages/editor-sample/src/App/SamplesDrawer/waypoint.svg b/examples/vite-emailbuilder-mui/src/App/SamplesDrawer/waypoint.svg
similarity index 100%
rename from packages/editor-sample/src/App/SamplesDrawer/waypoint.svg
rename to examples/vite-emailbuilder-mui/src/App/SamplesDrawer/waypoint.svg
diff --git a/packages/editor-sample/src/App/TemplatePanel/DownloadJson/index.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/DownloadJson/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/DownloadJson/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/DownloadJson/index.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/HtmlPanel.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/HtmlPanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/HtmlPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/HtmlPanel.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/ImportJson/ImportJsonDialog.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/ImportJson/ImportJsonDialog.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/ImportJson/ImportJsonDialog.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/ImportJson/ImportJsonDialog.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/ImportJson/index.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/ImportJson/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/ImportJson/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/ImportJson/index.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/ImportJson/validateJsonStringValue.ts b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/ImportJson/validateJsonStringValue.ts
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/ImportJson/validateJsonStringValue.ts
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/ImportJson/validateJsonStringValue.ts
diff --git a/packages/editor-sample/src/App/TemplatePanel/JsonPanel.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/JsonPanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/JsonPanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/JsonPanel.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/MainTabsGroup.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/MainTabsGroup.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/MainTabsGroup.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/MainTabsGroup.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/ShareButton.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/ShareButton.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/ShareButton.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/ShareButton.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/helper/HighlightedCodePanel.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/helper/HighlightedCodePanel.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/helper/HighlightedCodePanel.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/helper/HighlightedCodePanel.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/helper/highlighters.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/helper/highlighters.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/helper/highlighters.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/helper/highlighters.tsx
diff --git a/packages/editor-sample/src/App/TemplatePanel/index.tsx b/examples/vite-emailbuilder-mui/src/App/TemplatePanel/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/TemplatePanel/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/TemplatePanel/index.tsx
diff --git a/packages/editor-sample/src/App/index.tsx b/examples/vite-emailbuilder-mui/src/App/index.tsx
similarity index 100%
rename from packages/editor-sample/src/App/index.tsx
rename to examples/vite-emailbuilder-mui/src/App/index.tsx
diff --git a/packages/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerEditor.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/ColumnsContainer/ColumnsContainerEditor.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerEditor.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/ColumnsContainer/ColumnsContainerEditor.tsx
diff --git a/packages/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.ts b/examples/vite-emailbuilder-mui/src/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.ts
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.ts
rename to examples/vite-emailbuilder-mui/src/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.ts
diff --git a/packages/editor-sample/src/documents/blocks/Container/ContainerEditor.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/Container/ContainerEditor.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/Container/ContainerEditor.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/Container/ContainerEditor.tsx
diff --git a/packages/editor-sample/src/documents/blocks/Container/ContainerPropsSchema.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/Container/ContainerPropsSchema.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/Container/ContainerPropsSchema.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/Container/ContainerPropsSchema.tsx
diff --git a/packages/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutEditor.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/EmailLayout/EmailLayoutEditor.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutEditor.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/EmailLayout/EmailLayoutEditor.tsx
diff --git a/packages/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutPropsSchema.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/EmailLayout/EmailLayoutPropsSchema.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutPropsSchema.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/EmailLayout/EmailLayoutPropsSchema.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/index.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/index.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/index.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/EditorChildrenIds/index.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/TStyle.ts b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/TStyle.ts
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/TStyle.ts
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/TStyle.ts
diff --git a/packages/editor-sample/src/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/block-wrappers/TuneMenu.tsx b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/block-wrappers/TuneMenu.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/block-wrappers/TuneMenu.tsx
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/block-wrappers/TuneMenu.tsx
diff --git a/packages/editor-sample/src/documents/blocks/helpers/cloneDocumentBlock.ts b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/cloneDocumentBlock.ts
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/cloneDocumentBlock.ts
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/cloneDocumentBlock.ts
diff --git a/packages/editor-sample/src/documents/blocks/helpers/fontFamily.ts b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/fontFamily.ts
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/fontFamily.ts
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/fontFamily.ts
diff --git a/packages/editor-sample/src/documents/blocks/helpers/zod.ts b/examples/vite-emailbuilder-mui/src/documents/blocks/helpers/zod.ts
similarity index 100%
rename from packages/editor-sample/src/documents/blocks/helpers/zod.ts
rename to examples/vite-emailbuilder-mui/src/documents/blocks/helpers/zod.ts
diff --git a/packages/editor-sample/src/documents/editor/EditorBlock.tsx b/examples/vite-emailbuilder-mui/src/documents/editor/EditorBlock.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/editor/EditorBlock.tsx
rename to examples/vite-emailbuilder-mui/src/documents/editor/EditorBlock.tsx
diff --git a/packages/editor-sample/src/documents/editor/EditorContext.tsx b/examples/vite-emailbuilder-mui/src/documents/editor/EditorContext.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/editor/EditorContext.tsx
rename to examples/vite-emailbuilder-mui/src/documents/editor/EditorContext.tsx
diff --git a/packages/editor-sample/src/documents/editor/core.tsx b/examples/vite-emailbuilder-mui/src/documents/editor/core.tsx
similarity index 100%
rename from packages/editor-sample/src/documents/editor/core.tsx
rename to examples/vite-emailbuilder-mui/src/documents/editor/core.tsx
diff --git a/packages/editor-sample/src/favicon/android-chrome-192x192.png b/examples/vite-emailbuilder-mui/src/favicon/android-chrome-192x192.png
similarity index 100%
rename from packages/editor-sample/src/favicon/android-chrome-192x192.png
rename to examples/vite-emailbuilder-mui/src/favicon/android-chrome-192x192.png
diff --git a/packages/editor-sample/src/favicon/android-chrome-512x512.png b/examples/vite-emailbuilder-mui/src/favicon/android-chrome-512x512.png
similarity index 100%
rename from packages/editor-sample/src/favicon/android-chrome-512x512.png
rename to examples/vite-emailbuilder-mui/src/favicon/android-chrome-512x512.png
diff --git a/packages/editor-sample/src/favicon/apple-touch-icon.png b/examples/vite-emailbuilder-mui/src/favicon/apple-touch-icon.png
similarity index 100%
rename from packages/editor-sample/src/favicon/apple-touch-icon.png
rename to examples/vite-emailbuilder-mui/src/favicon/apple-touch-icon.png
diff --git a/packages/editor-sample/src/favicon/favicon-16x16.png b/examples/vite-emailbuilder-mui/src/favicon/favicon-16x16.png
similarity index 100%
rename from packages/editor-sample/src/favicon/favicon-16x16.png
rename to examples/vite-emailbuilder-mui/src/favicon/favicon-16x16.png
diff --git a/packages/editor-sample/src/favicon/favicon-32x32.png b/examples/vite-emailbuilder-mui/src/favicon/favicon-32x32.png
similarity index 100%
rename from packages/editor-sample/src/favicon/favicon-32x32.png
rename to examples/vite-emailbuilder-mui/src/favicon/favicon-32x32.png
diff --git a/packages/editor-sample/src/favicon/favicon.ico b/examples/vite-emailbuilder-mui/src/favicon/favicon.ico
similarity index 100%
rename from packages/editor-sample/src/favicon/favicon.ico
rename to examples/vite-emailbuilder-mui/src/favicon/favicon.ico
diff --git a/packages/editor-sample/src/getConfiguration/index.tsx b/examples/vite-emailbuilder-mui/src/getConfiguration/index.tsx
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/index.tsx
rename to examples/vite-emailbuilder-mui/src/getConfiguration/index.tsx
diff --git a/packages/editor-sample/src/getConfiguration/sample/empty-email-message.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/empty-email-message.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/empty-email-message.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/empty-email-message.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/one-time-passcode.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/one-time-passcode.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/one-time-passcode.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/one-time-passcode.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/order-ecommerce.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/order-ecommerce.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/order-ecommerce.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/order-ecommerce.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/post-metrics-report.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/post-metrics-report.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/post-metrics-report.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/post-metrics-report.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/reservation-reminder.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/reservation-reminder.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/reservation-reminder.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/reservation-reminder.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/reset-password.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/reset-password.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/reset-password.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/reset-password.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/respond-to-message.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/respond-to-message.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/respond-to-message.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/respond-to-message.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/subscription-receipt.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/subscription-receipt.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/subscription-receipt.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/subscription-receipt.ts
diff --git a/packages/editor-sample/src/getConfiguration/sample/welcome.ts b/examples/vite-emailbuilder-mui/src/getConfiguration/sample/welcome.ts
similarity index 100%
rename from packages/editor-sample/src/getConfiguration/sample/welcome.ts
rename to examples/vite-emailbuilder-mui/src/getConfiguration/sample/welcome.ts
diff --git a/packages/editor-sample/src/main.tsx b/examples/vite-emailbuilder-mui/src/main.tsx
similarity index 100%
rename from packages/editor-sample/src/main.tsx
rename to examples/vite-emailbuilder-mui/src/main.tsx
diff --git a/packages/editor-sample/src/theme.ts b/examples/vite-emailbuilder-mui/src/theme.ts
similarity index 100%
rename from packages/editor-sample/src/theme.ts
rename to examples/vite-emailbuilder-mui/src/theme.ts
diff --git a/packages/editor-sample/src/vite-env.d.ts b/examples/vite-emailbuilder-mui/src/vite-env.d.ts
similarity index 100%
rename from packages/editor-sample/src/vite-env.d.ts
rename to examples/vite-emailbuilder-mui/src/vite-env.d.ts
diff --git a/packages/editor-sample/tsconfig.json b/examples/vite-emailbuilder-mui/tsconfig.json
similarity index 100%
rename from packages/editor-sample/tsconfig.json
rename to examples/vite-emailbuilder-mui/tsconfig.json
diff --git a/packages/editor-sample/vite.config.ts b/examples/vite-emailbuilder-mui/vite.config.ts
similarity index 100%
rename from packages/editor-sample/vite.config.ts
rename to examples/vite-emailbuilder-mui/vite.config.ts
diff --git a/package-lock.json b/package-lock.json
index 50287df..9d2f113 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,11 @@
{
"name": "@usewaypoint/email-builder-project",
- "version": "0.0.7",
+ "version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@usewaypoint/email-builder-project",
- "version": "0.0.7",
"license": "MIT",
"workspaces": [
"packages/block-avatar",
@@ -21,7 +20,7 @@
"packages/block-text",
"packages/document-core",
"packages/email-builder",
- "packages/editor-sample"
+ "examples/*"
],
"devDependencies": {
"@jest/globals": "^29.7.0",
@@ -41,6 +40,58 @@
"typescript": "^5.3.3"
}
},
+ "examples/vite-emailbuilder-mui": {
+ "name": "@usewaypoint/vite-emailbuilder",
+ "version": "1.0.0",
+ "dependencies": {
+ "@emotion/react": "^11.11.3",
+ "@emotion/styled": "^11.11.0",
+ "@mui/icons-material": "^5.15.10",
+ "@mui/material": "^5.15.10",
+ "@usewaypoint/block-avatar": "^0.0.3",
+ "@usewaypoint/block-button": "^0.0.3",
+ "@usewaypoint/block-columns-container": "^0.0.3",
+ "@usewaypoint/block-container": "^0.0.2",
+ "@usewaypoint/block-divider": "^0.0.4",
+ "@usewaypoint/block-heading": "^0.0.3",
+ "@usewaypoint/block-html": "^0.0.3",
+ "@usewaypoint/block-image": "^0.0.5",
+ "@usewaypoint/block-spacer": "^0.0.3",
+ "@usewaypoint/block-text": "^0.0.7",
+ "@usewaypoint/document-core": "^0.0.6",
+ "@usewaypoint/email-builder": "^0.0.9",
+ "highlight.js": "^11.9.0",
+ "prettier": "^3.2.5",
+ "react": "^18.2.0",
+ "react-colorful": "^5.6.1",
+ "react-dom": "^18.2.0",
+ "zod": "^3.22.4",
+ "zustand": "^4.5.1"
+ },
+ "devDependencies": {
+ "@types/react": "^18.2.55",
+ "@types/react-dom": "^18.2.19",
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
+ "@typescript-eslint/parser": "^6.21.0",
+ "@vitejs/plugin-react-swc": "^3.5.0",
+ "eslint": "^8.56.0",
+ "eslint-plugin-react-hooks": "^4.6.0",
+ "eslint-plugin-react-refresh": "^0.4.5",
+ "eslint-plugin-simple-import-sort": "^12.0.0",
+ "typescript": "^5.2.2",
+ "vite": "^5.1.0"
+ }
+ },
+ "examples/vite-emailbuilder-mui/node_modules/eslint-plugin-simple-import-sort": {
+ "version": "12.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz",
+ "integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "eslint": ">=5.0.0"
+ }
+ },
"node_modules/@aashutoshrathi/word-wrap": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
@@ -711,6 +762,7 @@
"version": "11.13.5",
"resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz",
"integrity": "sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==",
+ "license": "MIT",
"dependencies": {
"@babel/helper-module-imports": "^7.16.7",
"@babel/runtime": "^7.18.3",
@@ -728,12 +780,14 @@
"node_modules/@emotion/babel-plugin/node_modules/convert-source-map": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
- "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
+ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
+ "license": "MIT"
},
"node_modules/@emotion/babel-plugin/node_modules/source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
@@ -742,6 +796,7 @@
"version": "11.14.0",
"resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz",
"integrity": "sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==",
+ "license": "MIT",
"dependencies": {
"@emotion/memoize": "^0.9.0",
"@emotion/sheet": "^1.4.0",
@@ -753,12 +808,14 @@
"node_modules/@emotion/hash": {
"version": "0.9.2",
"resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz",
- "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g=="
+ "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==",
+ "license": "MIT"
},
"node_modules/@emotion/is-prop-valid": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.3.1.tgz",
- "integrity": "sha512-/ACwoqx7XQi9knQs/G0qKvv5teDMhD7bXYns9N/wM8ah8iNb8jZ2uNO0YOgiq2o2poIvVtJS2YALasQuMSQ7Kw==",
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.4.0.tgz",
+ "integrity": "sha512-QgD4fyscGcbbKwJmqNvUMSE02OsHUa+lAWKdEUIJKgqe5IwRSKd7+KhibEWdaKwgjLj0DRSHA9biAIqGBk05lw==",
+ "license": "MIT",
"dependencies": {
"@emotion/memoize": "^0.9.0"
}
@@ -766,12 +823,14 @@
"node_modules/@emotion/memoize": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz",
- "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ=="
+ "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==",
+ "license": "MIT"
},
"node_modules/@emotion/react": {
"version": "11.14.0",
"resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.14.0.tgz",
"integrity": "sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.18.3",
"@emotion/babel-plugin": "^11.13.5",
@@ -795,6 +854,7 @@
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.3.tgz",
"integrity": "sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==",
+ "license": "MIT",
"dependencies": {
"@emotion/hash": "^0.9.2",
"@emotion/memoize": "^0.9.0",
@@ -806,12 +866,14 @@
"node_modules/@emotion/sheet": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz",
- "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg=="
+ "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==",
+ "license": "MIT"
},
"node_modules/@emotion/styled": {
- "version": "11.14.0",
- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.14.0.tgz",
- "integrity": "sha512-XxfOnXFffatap2IyCeJyNov3kiDQWoR08gPUQxvbL7fxKryGBKUZUkG6Hz48DZwVrJSVh9sJboyV1Ds4OW6SgA==",
+ "version": "11.14.1",
+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.14.1.tgz",
+ "integrity": "sha512-qEEJt42DuToa3gurlH4Qqc1kVpNq8wO8cJtDzU46TjlzWjDlsVyevtYCRijVq3SrHsROS+gVQ8Fnea108GnKzw==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.18.3",
"@emotion/babel-plugin": "^11.13.5",
@@ -833,12 +895,14 @@
"node_modules/@emotion/unitless": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz",
- "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg=="
+ "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==",
+ "license": "MIT"
},
"node_modules/@emotion/use-insertion-effect-with-fallbacks": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz",
"integrity": "sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==",
+ "license": "MIT",
"peerDependencies": {
"react": ">=16.8.0"
}
@@ -846,12 +910,14 @@
"node_modules/@emotion/utils": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.2.tgz",
- "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA=="
+ "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==",
+ "license": "MIT"
},
"node_modules/@emotion/weak-memoize": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz",
- "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg=="
+ "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==",
+ "license": "MIT"
},
"node_modules/@esbuild/aix-ppc64": {
"version": "0.19.12",
@@ -1841,18 +1907,20 @@
}
},
"node_modules/@mui/core-downloads-tracker": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.13.tgz",
- "integrity": "sha512-xe5RwI0Q2O709Bd2Y7l1W1NIwNmln0y+xaGk5VgX3vDJbkQEqzdfTFZ73e0CkEZgJwyiWgk5HY0l8R4nysOxjw==",
+ "version": "5.18.0",
+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.18.0.tgz",
+ "integrity": "sha512-jbhwoQ1AY200PSSOrNXmrFCaSDSJWP7qk6urkTmIirvRXDROkqe+QwcLlUiw/PrREwsIF/vm3/dAXvjlMHF0RA==",
+ "license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
}
},
"node_modules/@mui/icons-material": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.13.tgz",
- "integrity": "sha512-aWyOgGDEqj37m3K4F6qUfn7JrEccwiDynJtGQMFbxp94EqyGwO13TKcZ4O8aHdwW3tG63hpbION8KyUoBWI4JQ==",
+ "version": "5.18.0",
+ "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.18.0.tgz",
+ "integrity": "sha512-1s0vEZj5XFXDMmz3Arl/R7IncFqJ+WQ95LDp1roHWGDE2oCO3IS4/hmiOv1/8SD9r6B7tv9GLiqVZYHo+6PkTg==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.9"
},
@@ -1875,15 +1943,16 @@
}
},
"node_modules/@mui/material": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.13.tgz",
- "integrity": "sha512-FhLDkDPYDzvrWCHFsdXzRArhS4AdYufU8d69rmLL+bwhodPcbm2C7cS8Gq5VR32PsW6aKZb58gvAgvEVaiiJbA==",
+ "version": "5.18.0",
+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.18.0.tgz",
+ "integrity": "sha512-bbH/HaJZpFtXGvWg3TsBWG4eyt3gah3E7nCNU8GLyRjVoWcA91Vm/T+sjHfUcwgJSw9iLtucfHBoq+qW/T30aA==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.9",
- "@mui/core-downloads-tracker": "^5.16.13",
- "@mui/system": "^5.16.13",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.13",
+ "@mui/core-downloads-tracker": "^5.18.0",
+ "@mui/system": "^5.18.0",
+ "@mui/types": "~7.2.15",
+ "@mui/utils": "^5.17.1",
"@popperjs/core": "^2.11.8",
"@types/react-transition-group": "^4.4.10",
"clsx": "^2.1.0",
@@ -1919,17 +1988,19 @@
}
},
"node_modules/@mui/material/node_modules/react-is": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz",
- "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g=="
+ "version": "19.2.3",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.3.tgz",
+ "integrity": "sha512-qJNJfu81ByyabuG7hPFEbXqNcWSU3+eVus+KJs+0ncpGfMyYdvSmxiJxbWR65lYi1I+/0HBcliO029gc4F+PnA==",
+ "license": "MIT"
},
"node_modules/@mui/private-theming": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.16.13.tgz",
- "integrity": "sha512-+s0FklvDvO7j0yBZn19DIIT3rLfub2fWvXGtMX49rG/xHfDFcP7fbWbZKHZMMP/2/IoTRDrZCbY1iP0xZlmuJA==",
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.17.1.tgz",
+ "integrity": "sha512-XMxU0NTYcKqdsG8LRmSoxERPXwMbp16sIXPcLVgLGII/bVNagX0xaheWAwFv8+zDK7tI3ajllkuD3GZZE++ICQ==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.9",
- "@mui/utils": "^5.16.13",
+ "@mui/utils": "^5.17.1",
"prop-types": "^15.8.1"
},
"engines": {
@@ -1950,12 +2021,14 @@
}
},
"node_modules/@mui/styled-engine": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.13.tgz",
- "integrity": "sha512-2XNHEG8/o1ucSLhTA9J+HIIXjzlnEc0OV7kneeUQ5JukErPYT2zc6KYBDLjlKWrzQyvnQzbiffjjspgHUColZg==",
+ "version": "5.18.0",
+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.18.0.tgz",
+ "integrity": "sha512-BN/vKV/O6uaQh2z5rXV+MBlVrEkwoS/TK75rFQ2mjxA7+NBo8qtTAOA4UaM0XeJfn7kh2wZ+xQw2HAx0u+TiBg==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.9",
"@emotion/cache": "^11.13.5",
+ "@emotion/serialize": "^1.3.3",
"csstype": "^3.1.3",
"prop-types": "^15.8.1"
},
@@ -1981,15 +2054,16 @@
}
},
"node_modules/@mui/system": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.13.tgz",
- "integrity": "sha512-JnO3VH3yNoAmgyr44/2jiS1tcNwshwAqAaG5fTEEjHQbkuZT/mvPYj2GC1cON0zEQ5V03xrCNl/D+gU9AXibpw==",
+ "version": "5.18.0",
+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.18.0.tgz",
+ "integrity": "sha512-ojZGVcRWqWhu557cdO3pWHloIGJdzVtxs3rk0F9L+x55LsUjcMUVkEhiF7E4TMxZoF9MmIHGGs0ZX3FDLAf0Xw==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.9",
- "@mui/private-theming": "^5.16.13",
- "@mui/styled-engine": "^5.16.13",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.13",
+ "@mui/private-theming": "^5.17.1",
+ "@mui/styled-engine": "^5.18.0",
+ "@mui/types": "~7.2.15",
+ "@mui/utils": "^5.17.1",
"clsx": "^2.1.0",
"csstype": "^3.1.3",
"prop-types": "^15.8.1"
@@ -2020,9 +2094,10 @@
}
},
"node_modules/@mui/types": {
- "version": "7.2.20",
- "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.20.tgz",
- "integrity": "sha512-straFHD7L8v05l/N5vcWk+y7eL9JF0C2mtph/y4BPm3gn2Eh61dDwDB65pa8DLss3WJfDXYC7Kx5yjP0EmXpgw==",
+ "version": "7.2.24",
+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.24.tgz",
+ "integrity": "sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
@@ -2033,12 +2108,13 @@
}
},
"node_modules/@mui/utils": {
- "version": "5.16.13",
- "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.16.13.tgz",
- "integrity": "sha512-35kLiShnDPByk57Mz4PP66fQUodCFiOD92HfpW6dK9lc7kjhZsKHRKeYPgWuwEHeXwYsCSFtBCW4RZh/8WT+TQ==",
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.17.1.tgz",
+ "integrity": "sha512-jEZ8FTqInt2WzxDV8bhImWBqeQRD99c/id/fq83H0ER9tFl+sfZlaAoCdznGvbSQQ9ividMxqSV2c7cC1vBcQg==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.9",
- "@mui/types": "^7.2.15",
+ "@mui/types": "~7.2.15",
"@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
@@ -2062,9 +2138,10 @@
}
},
"node_modules/@mui/utils/node_modules/react-is": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz",
- "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g=="
+ "version": "19.2.3",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.3.tgz",
+ "integrity": "sha512-qJNJfu81ByyabuG7hPFEbXqNcWSU3+eVus+KJs+0ncpGfMyYdvSmxiJxbWR65lYi1I+/0HBcliO029gc4F+PnA==",
+ "license": "MIT"
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
@@ -2115,11 +2192,19 @@
"version": "2.11.8",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
"integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
+ "license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/popperjs"
}
},
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-beta.27",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
+ "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@rollup/rollup-android-arm-eabi": {
"version": "4.29.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.29.1.tgz",
@@ -2392,14 +2477,15 @@
}
},
"node_modules/@swc/core": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.10.4.tgz",
- "integrity": "sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.8.tgz",
+ "integrity": "sha512-T8keoJjXaSUoVBCIjgL6wAnhADIb09GOELzKg10CjNg+vLX48P93SME6jTfte9MZIm5m+Il57H3rTSk/0kzDUw==",
"dev": true,
"hasInstallScript": true,
+ "license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3",
- "@swc/types": "^0.1.17"
+ "@swc/types": "^0.1.25"
},
"engines": {
"node": ">=10"
@@ -2409,19 +2495,19 @@
"url": "https://opencollective.com/swc"
},
"optionalDependencies": {
- "@swc/core-darwin-arm64": "1.10.4",
- "@swc/core-darwin-x64": "1.10.4",
- "@swc/core-linux-arm-gnueabihf": "1.10.4",
- "@swc/core-linux-arm64-gnu": "1.10.4",
- "@swc/core-linux-arm64-musl": "1.10.4",
- "@swc/core-linux-x64-gnu": "1.10.4",
- "@swc/core-linux-x64-musl": "1.10.4",
- "@swc/core-win32-arm64-msvc": "1.10.4",
- "@swc/core-win32-ia32-msvc": "1.10.4",
- "@swc/core-win32-x64-msvc": "1.10.4"
+ "@swc/core-darwin-arm64": "1.15.8",
+ "@swc/core-darwin-x64": "1.15.8",
+ "@swc/core-linux-arm-gnueabihf": "1.15.8",
+ "@swc/core-linux-arm64-gnu": "1.15.8",
+ "@swc/core-linux-arm64-musl": "1.15.8",
+ "@swc/core-linux-x64-gnu": "1.15.8",
+ "@swc/core-linux-x64-musl": "1.15.8",
+ "@swc/core-win32-arm64-msvc": "1.15.8",
+ "@swc/core-win32-ia32-msvc": "1.15.8",
+ "@swc/core-win32-x64-msvc": "1.15.8"
},
"peerDependencies": {
- "@swc/helpers": "*"
+ "@swc/helpers": ">=0.5.17"
},
"peerDependenciesMeta": {
"@swc/helpers": {
@@ -2430,13 +2516,14 @@
}
},
"node_modules/@swc/core-darwin-arm64": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.10.4.tgz",
- "integrity": "sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.8.tgz",
+ "integrity": "sha512-M9cK5GwyWWRkRGwwCbREuj6r8jKdES/haCZ3Xckgkl8MUQJZA3XB7IXXK1IXRNeLjg6m7cnoMICpXv1v1hlJOg==",
"cpu": [
"arm64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"darwin"
@@ -2447,13 +2534,14 @@
}
},
"node_modules/@swc/core-darwin-x64": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.10.4.tgz",
- "integrity": "sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.8.tgz",
+ "integrity": "sha512-j47DasuOvXl80sKJHSi2X25l44CMc3VDhlJwA7oewC1nV1VsSzwX+KOwE5tLnfORvVJJyeiXgJORNYg4jeIjYQ==",
"cpu": [
"x64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"darwin"
@@ -2464,13 +2552,14 @@
}
},
"node_modules/@swc/core-linux-arm-gnueabihf": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.10.4.tgz",
- "integrity": "sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.8.tgz",
+ "integrity": "sha512-siAzDENu2rUbwr9+fayWa26r5A9fol1iORG53HWxQL1J8ym4k7xt9eME0dMPXlYZDytK5r9sW8zEA10F2U3Xwg==",
"cpu": [
"arm"
],
"dev": true,
+ "license": "Apache-2.0",
"optional": true,
"os": [
"linux"
@@ -2481,13 +2570,14 @@
}
},
"node_modules/@swc/core-linux-arm64-gnu": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.10.4.tgz",
- "integrity": "sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.8.tgz",
+ "integrity": "sha512-o+1y5u6k2FfPYbTRUPvurwzNt5qd0NTumCTFscCNuBksycloXY16J8L+SMW5QRX59n4Hp9EmFa3vpvNHRVv1+Q==",
"cpu": [
"arm64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"linux"
@@ -2498,13 +2588,14 @@
}
},
"node_modules/@swc/core-linux-arm64-musl": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.10.4.tgz",
- "integrity": "sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.8.tgz",
+ "integrity": "sha512-koiCqL09EwOP1S2RShCI7NbsQuG6r2brTqUYE7pV7kZm9O17wZ0LSz22m6gVibpwEnw8jI3IE1yYsQTVpluALw==",
"cpu": [
"arm64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"linux"
@@ -2515,13 +2606,14 @@
}
},
"node_modules/@swc/core-linux-x64-gnu": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.10.4.tgz",
- "integrity": "sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.8.tgz",
+ "integrity": "sha512-4p6lOMU3bC+Vd5ARtKJ/FxpIC5G8v3XLoPEZ5s7mLR8h7411HWC/LmTXDHcrSXRC55zvAVia1eldy6zDLz8iFQ==",
"cpu": [
"x64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"linux"
@@ -2532,13 +2624,14 @@
}
},
"node_modules/@swc/core-linux-x64-musl": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.10.4.tgz",
- "integrity": "sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.8.tgz",
+ "integrity": "sha512-z3XBnbrZAL+6xDGAhJoN4lOueIxC/8rGrJ9tg+fEaeqLEuAtHSW2QHDHxDwkxZMjuF/pZ6MUTjHjbp8wLbuRLA==",
"cpu": [
"x64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"linux"
@@ -2549,13 +2642,14 @@
}
},
"node_modules/@swc/core-win32-arm64-msvc": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.10.4.tgz",
- "integrity": "sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.8.tgz",
+ "integrity": "sha512-djQPJ9Rh9vP8GTS/Df3hcc6XP6xnG5c8qsngWId/BLA9oX6C7UzCPAn74BG/wGb9a6j4w3RINuoaieJB3t+7iQ==",
"cpu": [
"arm64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"win32"
@@ -2566,13 +2660,14 @@
}
},
"node_modules/@swc/core-win32-ia32-msvc": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.10.4.tgz",
- "integrity": "sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.8.tgz",
+ "integrity": "sha512-/wfAgxORg2VBaUoFdytcVBVCgf1isWZIEXB9MZEUty4wwK93M/PxAkjifOho9RN3WrM3inPLabICRCEgdHpKKQ==",
"cpu": [
"ia32"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"win32"
@@ -2583,13 +2678,14 @@
}
},
"node_modules/@swc/core-win32-x64-msvc": {
- "version": "1.10.4",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.10.4.tgz",
- "integrity": "sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==",
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.8.tgz",
+ "integrity": "sha512-GpMePrh9Sl4d61o4KAHOOv5is5+zt6BEXCOCgs/H0FLGeii7j9bWDE8ExvKFy2GRRZVNR1ugsnzaGWHKM6kuzA==",
"cpu": [
"x64"
],
"dev": true,
+ "license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
"win32"
@@ -2603,13 +2699,15 @@
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
- "dev": true
+ "dev": true,
+ "license": "Apache-2.0"
},
"node_modules/@swc/types": {
- "version": "0.1.17",
- "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.17.tgz",
- "integrity": "sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==",
+ "version": "0.1.25",
+ "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz",
+ "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3"
}
@@ -2877,6 +2975,7 @@
"version": "4.4.12",
"resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz",
"integrity": "sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*"
}
@@ -3282,24 +3381,26 @@
"resolved": "packages/document-core",
"link": true
},
- "node_modules/@usewaypoint/editor-sample": {
- "resolved": "packages/editor-sample",
- "link": true
- },
"node_modules/@usewaypoint/email-builder": {
"resolved": "packages/email-builder",
"link": true
},
+ "node_modules/@usewaypoint/vite-emailbuilder": {
+ "resolved": "examples/vite-emailbuilder-mui",
+ "link": true
+ },
"node_modules/@vitejs/plugin-react-swc": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.7.2.tgz",
- "integrity": "sha512-y0byko2b2tSVVf5Gpng1eEhX1OvPC7x8yns1Fx8jDzlJp4LS6CMkCPfLw47cjyoMrshQDoQw4qcgjsU9VvlCew==",
+ "version": "3.11.0",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.11.0.tgz",
+ "integrity": "sha512-YTJCGFdNMHCMfjODYtxRNVAYmTWQ1Lb8PulP/2/f/oEEtglw8oKxKIZmmRkyXrVrHfsKOaVkAc3NT9/dMutO5w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@swc/core": "^1.7.26"
+ "@rolldown/pluginutils": "1.0.0-beta.27",
+ "@swc/core": "^1.12.11"
},
"peerDependencies": {
- "vite": "^4 || ^5 || ^6"
+ "vite": "^4 || ^5 || ^6 || ^7"
}
},
"node_modules/abab": {
@@ -3919,6 +4020,7 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
"integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "license": "MIT",
"engines": {
"node": ">=6"
}
@@ -4285,6 +4387,7 @@
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
"integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
+ "license": "MIT",
"dependencies": {
"@babel/runtime": "^7.8.7",
"csstype": "^3.0.2"
@@ -4541,10 +4644,11 @@
}
},
"node_modules/eslint-plugin-react-refresh": {
- "version": "0.4.16",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.16.tgz",
- "integrity": "sha512-slterMlxAhov/DZO8NScf6mEeMBBXodFUolijDvrtTxyezyLoTQaa73FyYus/VbTdftd8wBgBxPMRk3poleXNQ==",
+ "version": "0.4.26",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.26.tgz",
+ "integrity": "sha512-1RETEylht2O6FM/MvgnyvT+8K21wLqDNg4qD51Zj3guhjt433XbnnkVttHMyaVyAFD03QSV4LPS5iE3VQmO7XQ==",
"dev": true,
+ "license": "MIT",
"peerDependencies": {
"eslint": ">=8.40"
}
@@ -4797,7 +4901,8 @@
"node_modules/find-root": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
+ "license": "MIT"
},
"node_modules/find-up": {
"version": "5.0.0",
@@ -5164,6 +5269,7 @@
"version": "11.11.1",
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",
"integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",
+ "license": "BSD-3-Clause",
"engines": {
"node": ">=12.0.0"
}
@@ -5172,6 +5278,7 @@
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
"integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "license": "BSD-3-Clause",
"dependencies": {
"react-is": "^16.7.0"
}
@@ -5179,7 +5286,8 @@
"node_modules/hoist-non-react-statics/node_modules/react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "license": "MIT"
},
"node_modules/html-encoding-sniffer": {
"version": "3.0.0",
@@ -7341,6 +7449,7 @@
"version": "15.8.1",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
"integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
+ "license": "MIT",
"dependencies": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
@@ -7350,7 +7459,8 @@
"node_modules/prop-types/node_modules/react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "license": "MIT"
},
"node_modules/psl": {
"version": "1.9.0",
@@ -7410,9 +7520,10 @@
]
},
"node_modules/react": {
- "version": "18.2.0",
- "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
- "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
},
@@ -7424,21 +7535,23 @@
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/react-colorful/-/react-colorful-5.6.1.tgz",
"integrity": "sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==",
+ "license": "MIT",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
},
"node_modules/react-dom": {
- "version": "18.2.0",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz",
- "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==",
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
+ "license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0",
- "scheduler": "^0.23.0"
+ "scheduler": "^0.23.2"
},
"peerDependencies": {
- "react": "^18.2.0"
+ "react": "^18.3.1"
}
},
"node_modules/react-is": {
@@ -7478,6 +7591,7 @@
"version": "4.4.5",
"resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",
"integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==",
+ "license": "BSD-3-Clause",
"dependencies": {
"@babel/runtime": "^7.5.5",
"dom-helpers": "^5.0.1",
@@ -7698,9 +7812,10 @@
}
},
"node_modules/scheduler": {
- "version": "0.23.0",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
- "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
+ "license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
}
@@ -7973,7 +8088,8 @@
"node_modules/stylis": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz",
- "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw=="
+ "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==",
+ "license": "MIT"
},
"node_modules/sucrase": {
"version": "3.35.0",
@@ -8519,11 +8635,12 @@
}
},
"node_modules/use-sync-external-store": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz",
- "integrity": "sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
+ "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",
+ "license": "MIT",
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/v8-compile-cache-lib": {
@@ -8547,10 +8664,11 @@
}
},
"node_modules/vite": {
- "version": "5.4.11",
- "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz",
- "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==",
+ "version": "5.4.21",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
+ "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
"esbuild": "^0.21.3",
"postcss": "^8.4.43",
@@ -8613,6 +8731,7 @@
"ppc64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"aix"
@@ -8629,6 +8748,7 @@
"arm"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"android"
@@ -8645,6 +8765,7 @@
"arm64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"android"
@@ -8661,6 +8782,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"android"
@@ -8677,6 +8799,7 @@
"arm64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"darwin"
@@ -8693,6 +8816,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"darwin"
@@ -8709,6 +8833,7 @@
"arm64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"freebsd"
@@ -8725,6 +8850,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"freebsd"
@@ -8741,6 +8867,7 @@
"arm"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8757,6 +8884,7 @@
"arm64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8773,6 +8901,7 @@
"ia32"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8789,6 +8918,7 @@
"loong64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8805,6 +8935,7 @@
"mips64el"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8821,6 +8952,7 @@
"ppc64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8837,6 +8969,7 @@
"riscv64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8853,6 +8986,7 @@
"s390x"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8869,6 +9003,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -8885,6 +9020,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"netbsd"
@@ -8901,6 +9037,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"openbsd"
@@ -8917,6 +9054,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"sunos"
@@ -8933,6 +9071,7 @@
"arm64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"win32"
@@ -8949,6 +9088,7 @@
"ia32"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"win32"
@@ -8965,6 +9105,7 @@
"x64"
],
"dev": true,
+ "license": "MIT",
"optional": true,
"os": [
"win32"
@@ -8979,6 +9120,7 @@
"integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
"dev": true,
"hasInstallScript": true,
+ "license": "MIT",
"bin": {
"esbuild": "bin/esbuild"
},
@@ -9306,19 +9448,21 @@
}
},
"node_modules/zod": {
- "version": "3.22.4",
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz",
- "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==",
+ "version": "3.25.76",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
+ "license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
},
"node_modules/zustand": {
- "version": "4.5.5",
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.5.tgz",
- "integrity": "sha512-+0PALYNJNgK6hldkgDq2vLrw5f6g/jCInz52n9RTpropGgeAf/ioFUCdtsjCqu4gNhW9D01rUQBROoRjdzyn2Q==",
+ "version": "4.5.7",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
+ "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
+ "license": "MIT",
"dependencies": {
- "use-sync-external-store": "1.2.2"
+ "use-sync-external-store": "^1.2.2"
},
"engines": {
"node": ">=12.7.0"
@@ -9477,6 +9621,7 @@
"packages/editor-sample": {
"name": "@usewaypoint/editor-sample",
"version": "0.0.1",
+ "extraneous": true,
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
@@ -9516,15 +9661,6 @@
"vite": "^5.1.0"
}
},
- "packages/editor-sample/node_modules/eslint-plugin-simple-import-sort": {
- "version": "12.1.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz",
- "integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==",
- "dev": true,
- "peerDependencies": {
- "eslint": ">=5.0.0"
- }
- },
"packages/email-builder": {
"name": "@usewaypoint/email-builder",
"version": "0.0.9",
diff --git a/package.json b/package.json
index 2900a7b..232d046 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,5 @@
{
"name": "@usewaypoint/email-builder-project",
- "version": "0.0.7",
"target": "ES2022",
"files": [
"dist"
@@ -20,7 +19,7 @@
"packages/block-text",
"packages/document-core",
"packages/email-builder",
- "packages/editor-sample"
+ "examples/*"
],
"scripts": {
"build": "npx tsc",
diff --git a/packages/editor-sample/README.md b/packages/editor-sample/README.md
deleted file mode 100644
index a9ad8b0..0000000
--- a/packages/editor-sample/README.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# @usewaypoint/editor-sample
-
-Use this as a sample to self-host EmailBuilder.js.
-
-To run this locally, fork the repository and then in this directory run:
-
-- `npm install`
-- `npx vite`
-
-Once the server is running, open http://localhost:5173/email-builder-js/ in your browser.