diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac83287..c2d481d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + - name: Setup Bun uses: oven-sh/setup-bun@v2 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d82ab70..e424e9f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: id-token: write # Required for provenance steps: - uses: actions/checkout@v4 - + - name: Setup Bun uses: oven-sh/setup-bun@v2 with: @@ -51,15 +51,15 @@ jobs: PACKAGE_NAME=$(node -p "require('./package.json').name") CURRENT_VERSION=$(node -p "require('./package.json').version") - + echo "Checking if $PACKAGE_NAME@$CURRENT_VERSION is already published..." NPM_VERSION=$(npm view $PACKAGE_NAME version 2>/dev/null || echo "") - + if [ -z "$NPM_VERSION" ]; then echo "Package $PACKAGE_NAME not found on NPM. Initial publication." NPM_VERSION="0.0.0" fi - + if [ "$CURRENT_VERSION" != "$NPM_VERSION" ]; then echo "New version detected: $CURRENT_VERSION (NPM has $NPM_VERSION). Publishing..." npm publish --access public --provenance @@ -75,18 +75,18 @@ jobs: run: | echo "Processing create-motionforge..." bun install - + PACKAGE_NAME=$(node -p "require('./package.json').name") CURRENT_VERSION=$(node -p "require('./package.json').version") - + echo "Checking if $PACKAGE_NAME@$CURRENT_VERSION is already published..." NPM_VERSION=$(npm view $PACKAGE_NAME version 2>/dev/null || echo "") - + if [ -z "$NPM_VERSION" ]; then echo "Package $PACKAGE_NAME not found on NPM. Initial publication." NPM_VERSION="0.0.0" fi - + if [ "$CURRENT_VERSION" != "$NPM_VERSION" ]; then echo "New version detected: $CURRENT_VERSION (NPM has $NPM_VERSION). Publishing..." npm publish --access public --provenance diff --git a/dev_server.log b/dev_server.log new file mode 100644 index 0000000..e3c9e49 --- /dev/null +++ b/dev_server.log @@ -0,0 +1,12 @@ +$ next dev -p 3000 2>&1 | tee dev.log +тип Failed to start server +Error: listen EADDRINUSE: address already in use :::3000 + at (Error: listen EADDRINUSE: address already in use :::3000) + at new Promise () { + code: 'EADDRINUSE', + errno: -98, + syscall: 'listen', + address: '::', + port: 3000 +} +[?25h diff --git a/packages/create-motionforge/package.json b/packages/create-motionforge/package.json index 927a03c..b24d310 100644 --- a/packages/create-motionforge/package.json +++ b/packages/create-motionforge/package.json @@ -5,6 +5,11 @@ "bin": { "create-motionforge": "./bin/index.js" }, + "files": [ + "bin", + "templates", + "README.md" + ], "type": "module", "scripts": { "start": "node ./bin/index.js" diff --git a/templates/blank/page.tsx.template b/packages/create-motionforge/templates/blank/page.tsx.template similarity index 100% rename from templates/blank/page.tsx.template rename to packages/create-motionforge/templates/blank/page.tsx.template diff --git a/templates/hello-world/page.tsx.template b/packages/create-motionforge/templates/hello-world/page.tsx.template similarity index 100% rename from templates/hello-world/page.tsx.template rename to packages/create-motionforge/templates/hello-world/page.tsx.template diff --git a/templates/shared/GLM-AI-GUIDELINES.md b/packages/create-motionforge/templates/shared/GLM-AI-GUIDELINES.md similarity index 100% rename from templates/shared/GLM-AI-GUIDELINES.md rename to packages/create-motionforge/templates/shared/GLM-AI-GUIDELINES.md diff --git a/templates/shared/GOOGLE-AI-GUIDELINES.md b/packages/create-motionforge/templates/shared/GOOGLE-AI-GUIDELINES.md similarity index 100% rename from templates/shared/GOOGLE-AI-GUIDELINES.md rename to packages/create-motionforge/templates/shared/GOOGLE-AI-GUIDELINES.md diff --git a/templates/shared/globals.css.template b/packages/create-motionforge/templates/shared/globals.css.template similarity index 100% rename from templates/shared/globals.css.template rename to packages/create-motionforge/templates/shared/globals.css.template diff --git a/templates/shared/layout.tsx.template b/packages/create-motionforge/templates/shared/layout.tsx.template similarity index 100% rename from templates/shared/layout.tsx.template rename to packages/create-motionforge/templates/shared/layout.tsx.template diff --git a/templates/shared/package.json.template b/packages/create-motionforge/templates/shared/package.json.template similarity index 100% rename from templates/shared/package.json.template rename to packages/create-motionforge/templates/shared/package.json.template diff --git a/templates/shared/tsconfig.json b/packages/create-motionforge/templates/shared/tsconfig.json similarity index 100% rename from templates/shared/tsconfig.json rename to packages/create-motionforge/templates/shared/tsconfig.json diff --git a/packages/motionforge/dist/icons/index.cjs b/packages/motionforge/dist/icons/index.cjs deleted file mode 100644 index b58daae..0000000 --- a/packages/motionforge/dist/icons/index.cjs +++ /dev/null @@ -1,1450 +0,0 @@ -"use strict"; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// src/icons/index.tsx -var icons_exports = {}; -__export(icons_exports, { - ArrowDownIcon: () => ArrowDownIcon, - ArrowLeftIcon: () => ArrowLeftIcon, - ArrowRightIcon: () => ArrowRightIcon, - ArrowUpIcon: () => ArrowUpIcon, - CalendarIcon: () => CalendarIcon, - CameraIcon: () => CameraIcon, - CheckIcon: () => CheckIcon, - ChevronDownIcon: () => ChevronDownIcon, - ChevronLeftIcon: () => ChevronLeftIcon, - ChevronRightIcon: () => ChevronRightIcon, - ChevronUpIcon: () => ChevronUpIcon, - ClockIcon: () => ClockIcon, - CloseIcon: () => CloseIcon, - CommentIcon: () => CommentIcon, - CopyIcon: () => CopyIcon, - DeleteIcon: () => DeleteIcon, - DownloadIcon: () => DownloadIcon, - EditIcon: () => EditIcon, - ErrorIcon: () => ErrorIcon, - FastForwardIcon: () => FastForwardIcon, - FileIcon: () => FileIcon, - FilmIcon: () => FilmIcon, - FolderIcon: () => FolderIcon, - FullscreenExitIcon: () => FullscreenExitIcon, - FullscreenIcon: () => FullscreenIcon, - HeartIcon: () => HeartIcon, - HeartOutlineIcon: () => HeartOutlineIcon, - Icons: () => Icons, - ImageIcon: () => ImageIcon, - InfoIcon: () => InfoIcon, - LayersIcon: () => LayersIcon, - LightningIcon: () => LightningIcon, - Loader2Icon: () => Loader2Icon, - MagicWandIcon: () => MagicWandIcon, - MicIcon: () => MicIcon, - MinusIcon: () => MinusIcon, - MusicIcon: () => MusicIcon, - PauseIcon: () => PauseIcon, - PlayIcon: () => PlayIcon, - PlusIcon: () => PlusIcon, - QuestionIcon: () => QuestionIcon, - RefreshIcon: () => RefreshIcon, - RepeatIcon: () => RepeatIcon, - ReplayIcon: () => ReplayIcon, - RewindIcon: () => RewindIcon, - SaveIcon: () => SaveIcon, - SearchIcon: () => SearchIcon, - SettingsIcon: () => SettingsIcon, - ShareIcon: () => ShareIcon, - ShuffleIcon: () => ShuffleIcon, - SkipBackIcon: () => SkipBackIcon, - SkipForwardIcon: () => SkipForwardIcon, - SparkleIcon: () => SparkleIcon, - StarIcon: () => StarIcon, - StarOutlineIcon: () => StarOutlineIcon, - StopIcon: () => StopIcon, - SuccessIcon: () => SuccessIcon, - ThumbDownIcon: () => ThumbDownIcon, - ThumbUpIcon: () => ThumbUpIcon, - TimerIcon: () => TimerIcon, - UploadIcon: () => UploadIcon, - VideoIcon: () => VideoIcon, - VolumeHighIcon: () => VolumeHighIcon, - VolumeLowIcon: () => VolumeLowIcon, - VolumeMediumIcon: () => VolumeMediumIcon, - VolumeMuteIcon: () => VolumeMuteIcon, - WarningIcon: () => WarningIcon, - default: () => icons_default -}); -module.exports = __toCommonJS(icons_exports); -var import_jsx_runtime = require("react/jsx-runtime"); -var PlayIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "path", - { - d: "M8 5.14v14l11-7-11-7z", - fill: color - } - ) - } -); -var PauseIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: [ - /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "6", y: "4", width: "4", height: "16", fill: color }), - /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "14", y: "4", width: "4", height: "16", fill: color }) - ] - } -); -var StopIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "6", y: "6", width: "12", height: "12", fill: color }) - } -); -var SkipBackIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M6 6h2v12H6V6zm3.5 6l8.5 6V6l-8.5 6z", fill: color }) - } -); -var SkipForwardIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M6 18l8.5-6L6 6v12zm8.5 0V6h2v12h-2z", fill: color }) - } -); -var RewindIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z", fill: color }) - } -); -var FastForwardIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z", fill: color }) - } -); -var ReplayIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "path", - { - d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z", - fill: color - } - ) - } -); -var ShuffleIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z", fill: color }) - } -); -var RepeatIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4z", fill: color }) - } -); -var VolumeHighIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z", fill: color }) - } -); -var VolumeMediumIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M5 9v6h4l5 5V4L9 9H5zm11.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z", fill: color }) - } -); -var VolumeLowIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z", fill: color }) - } -); -var VolumeMuteIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z", fill: color }) - } -); -var ArrowLeftIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z", fill: color }) - } -); -var ArrowRightIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z", fill: color }) - } -); -var ArrowUpIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z", fill: color }) - } -); -var ArrowDownIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z", fill: color }) - } -); -var ChevronLeftIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z", fill: color }) - } -); -var ChevronRightIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z", fill: color }) - } -); -var ChevronUpIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z", fill: color }) - } -); -var ChevronDownIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z", fill: color }) - } -); -var CheckIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z", fill: color }) - } -); -var CloseIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z", fill: color }) - } -); -var PlusIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z", fill: color }) - } -); -var MinusIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 13H5v-2h14v2z", fill: color }) - } -); -var EditIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z", fill: color }) - } -); -var DeleteIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z", fill: color }) - } -); -var SaveIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z", fill: color }) - } -); -var CopyIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z", fill: color }) - } -); -var DownloadIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z", fill: color }) - } -); -var UploadIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z", fill: color }) - } -); -var RefreshIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z", fill: color }) - } -); -var CameraIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 15.2c1.77 0 3.2-1.43 3.2-3.2s-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2 1.43 3.2 3.2 3.2zM9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z", fill: color }) - } -); -var VideoIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z", fill: color }) - } -); -var ImageIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z", fill: color }) - } -); -var MusicIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z", fill: color }) - } -); -var MicIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.91-3c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z", fill: color }) - } -); -var StarIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z", fill: color }) - } -); -var StarOutlineIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z", fill: color }) - } -); -var HeartIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z", fill: color }) - } -); -var HeartOutlineIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z", fill: color }) - } -); -var ThumbUpIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z", fill: color }) - } -); -var ThumbDownIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M23 3h-4v12h4V3zm-2 10h-2V5h2v8zM15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2z", fill: color }) - } -); -var ShareIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92z", fill: color }) - } -); -var CommentIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z", fill: color }) - } -); -var SettingsIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z", fill: color }) - } -); -var FullscreenIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z", fill: color }) - } -); -var FullscreenExitIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z", fill: color }) - } -); -var SearchIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z", fill: color }) - } -); -var InfoIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z", fill: color }) - } -); -var WarningIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z", fill: color }) - } -); -var ErrorIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z", fill: color }) - } -); -var SuccessIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z", fill: color }) - } -); -var QuestionIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z", fill: color }) - } -); -var ClockIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z", fill: color }) - } -); -var TimerIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z", fill: color }) - } -); -var CalendarIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM9 10H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm-8 4H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2z", fill: color }) - } -); -var FolderIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z", fill: color }) - } -); -var FileIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z", fill: color }) - } -); -var FilmIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z", fill: color }) - } -); -var SparkleIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 2L9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2z", fill: color }) - } -); -var MagicWandIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M7.5 5.6L10 7 8.6 4.5 10 2 7.5 3.4 5 2l1.4 2.5L5 7zM19.5 15.4L17 14l1.4 2.5L17 19l2.5-1.4L22 19l-1.4-2.5L22 14zM22 2l-2.5 1.4L17 2l1.4 2.5L17 7l2.5-1.4L22 7l-1.4-2.5zM14.37 7.29L12.56 5.5 2 16.06V18.88L5.12 22h2.82l10.55-10.56zM5.91 17.09L5 16.17l8.06-8.06.91.91-8.06 8.07z", fill: color }) - } -); -var LightningIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M7 2v11h3v9l7-12h-4l4-8z", fill: color }) - } -); -var LayersIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z", fill: color }) - } -); -var Loader2Icon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - stroke: color, - strokeWidth: "2", - strokeLinecap: "round", - strokeLinejoin: "round", - xmlns: "http://www.w3.org/2000/svg", - className: `animate-spin ${className || ""}`, - style, - children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }) - } -); -var Icons = { - // Playback - Play: PlayIcon, - Pause: PauseIcon, - Stop: StopIcon, - SkipBack: SkipBackIcon, - SkipForward: SkipForwardIcon, - Rewind: RewindIcon, - FastForward: FastForwardIcon, - Replay: ReplayIcon, - Shuffle: ShuffleIcon, - Repeat: RepeatIcon, - // Volume - VolumeHigh: VolumeHighIcon, - VolumeMedium: VolumeMediumIcon, - VolumeLow: VolumeLowIcon, - VolumeMute: VolumeMuteIcon, - // Navigation - ArrowLeft: ArrowLeftIcon, - ArrowRight: ArrowRightIcon, - ArrowUp: ArrowUpIcon, - ArrowDown: ArrowDownIcon, - ChevronLeft: ChevronLeftIcon, - ChevronRight: ChevronRightIcon, - ChevronUp: ChevronUpIcon, - ChevronDown: ChevronDownIcon, - // Actions - Check: CheckIcon, - Close: CloseIcon, - Plus: PlusIcon, - Minus: MinusIcon, - Edit: EditIcon, - Delete: DeleteIcon, - Save: SaveIcon, - Copy: CopyIcon, - Download: DownloadIcon, - Upload: UploadIcon, - Refresh: RefreshIcon, - // Media - Camera: CameraIcon, - Video: VideoIcon, - Image: ImageIcon, - Music: MusicIcon, - Mic: MicIcon, - // Social - Star: StarIcon, - StarOutline: StarOutlineIcon, - Heart: HeartIcon, - HeartOutline: HeartOutlineIcon, - ThumbUp: ThumbUpIcon, - ThumbDown: ThumbDownIcon, - Share: ShareIcon, - Comment: CommentIcon, - // UI - Settings: SettingsIcon, - Fullscreen: FullscreenIcon, - FullscreenExit: FullscreenExitIcon, - Search: SearchIcon, - Info: InfoIcon, - Warning: WarningIcon, - Error: ErrorIcon, - Success: SuccessIcon, - Question: QuestionIcon, - // Time - Clock: ClockIcon, - Timer: TimerIcon, - Calendar: CalendarIcon, - // Files - Folder: FolderIcon, - File: FileIcon, - Film: FilmIcon, - // Animation - Sparkle: SparkleIcon, - MagicWand: MagicWandIcon, - Lightning: LightningIcon, - Layers: LayersIcon, - Loader2: Loader2Icon -}; -var icons_default = Icons; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - ArrowDownIcon, - ArrowLeftIcon, - ArrowRightIcon, - ArrowUpIcon, - CalendarIcon, - CameraIcon, - CheckIcon, - ChevronDownIcon, - ChevronLeftIcon, - ChevronRightIcon, - ChevronUpIcon, - ClockIcon, - CloseIcon, - CommentIcon, - CopyIcon, - DeleteIcon, - DownloadIcon, - EditIcon, - ErrorIcon, - FastForwardIcon, - FileIcon, - FilmIcon, - FolderIcon, - FullscreenExitIcon, - FullscreenIcon, - HeartIcon, - HeartOutlineIcon, - Icons, - ImageIcon, - InfoIcon, - LayersIcon, - LightningIcon, - Loader2Icon, - MagicWandIcon, - MicIcon, - MinusIcon, - MusicIcon, - PauseIcon, - PlayIcon, - PlusIcon, - QuestionIcon, - RefreshIcon, - RepeatIcon, - ReplayIcon, - RewindIcon, - SaveIcon, - SearchIcon, - SettingsIcon, - ShareIcon, - ShuffleIcon, - SkipBackIcon, - SkipForwardIcon, - SparkleIcon, - StarIcon, - StarOutlineIcon, - StopIcon, - SuccessIcon, - ThumbDownIcon, - ThumbUpIcon, - TimerIcon, - UploadIcon, - VideoIcon, - VolumeHighIcon, - VolumeLowIcon, - VolumeMediumIcon, - VolumeMuteIcon, - WarningIcon -}); -//# sourceMappingURL=index.cjs.map \ No newline at end of file diff --git a/packages/motionforge/dist/icons/index.cjs.map b/packages/motionforge/dist/icons/index.cjs.map deleted file mode 100644 index 7bd6016..0000000 --- a/packages/motionforge/dist/icons/index.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/icons/index.tsx"],"sourcesContent":["/**\n * MotionForge Icon Library\n * \n * A comprehensive collection of SVG icons for video creation.\n * Use these icons instead of emojis for professional results.\n * \n * Usage:\n * import { PlayIcon, PauseIcon } from 'motionforge/icons';\n * \n */\n\nimport React from 'react';\n\n// Base icon props\ninterface IconProps {\n size?: number;\n color?: string;\n className?: string;\n style?: React.CSSProperties;\n}\n\n// ============================================================\n// Playback Control Icons\n// ============================================================\n\nexport const PlayIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const PauseIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n \n);\n\nexport const StopIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SkipBackIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SkipForwardIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const RewindIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FastForwardIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ReplayIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ShuffleIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const RepeatIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Volume Icons\n// ============================================================\n\nexport const VolumeHighIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VolumeMediumIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VolumeLowIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VolumeMuteIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Navigation Icons\n// ============================================================\n\nexport const ArrowLeftIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ArrowRightIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ArrowUpIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ArrowDownIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronLeftIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronRightIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronUpIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronDownIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Action Icons\n// ============================================================\n\nexport const CheckIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CloseIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const PlusIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MinusIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const EditIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const DeleteIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SaveIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CopyIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const DownloadIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const UploadIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const RefreshIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Media Icons\n// ============================================================\n\nexport const CameraIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VideoIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ImageIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MusicIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MicIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Social & Rating Icons\n// ============================================================\n\nexport const StarIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const StarOutlineIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const HeartIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const HeartOutlineIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ThumbUpIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ThumbDownIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ShareIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CommentIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// UI Icons\n// ============================================================\n\nexport const SettingsIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FullscreenIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FullscreenExitIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SearchIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const InfoIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const WarningIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ErrorIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SuccessIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const QuestionIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Time Icons\n// ============================================================\n\nexport const ClockIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const TimerIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CalendarIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// File & Folder Icons\n// ============================================================\n\nexport const FolderIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FileIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FilmIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Animation Icons\n// ============================================================\n\nexport const SparkleIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MagicWandIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const LightningIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const LayersIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const Loader2Icon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Export all icons\n// ============================================================\n\nexport const Icons = {\n // Playback\n Play: PlayIcon,\n Pause: PauseIcon,\n Stop: StopIcon,\n SkipBack: SkipBackIcon,\n SkipForward: SkipForwardIcon,\n Rewind: RewindIcon,\n FastForward: FastForwardIcon,\n Replay: ReplayIcon,\n Shuffle: ShuffleIcon,\n Repeat: RepeatIcon,\n \n // Volume\n VolumeHigh: VolumeHighIcon,\n VolumeMedium: VolumeMediumIcon,\n VolumeLow: VolumeLowIcon,\n VolumeMute: VolumeMuteIcon,\n \n // Navigation\n ArrowLeft: ArrowLeftIcon,\n ArrowRight: ArrowRightIcon,\n ArrowUp: ArrowUpIcon,\n ArrowDown: ArrowDownIcon,\n ChevronLeft: ChevronLeftIcon,\n ChevronRight: ChevronRightIcon,\n ChevronUp: ChevronUpIcon,\n ChevronDown: ChevronDownIcon,\n \n // Actions\n Check: CheckIcon,\n Close: CloseIcon,\n Plus: PlusIcon,\n Minus: MinusIcon,\n Edit: EditIcon,\n Delete: DeleteIcon,\n Save: SaveIcon,\n Copy: CopyIcon,\n Download: DownloadIcon,\n Upload: UploadIcon,\n Refresh: RefreshIcon,\n \n // Media\n Camera: CameraIcon,\n Video: VideoIcon,\n Image: ImageIcon,\n Music: MusicIcon,\n Mic: MicIcon,\n \n // Social\n Star: StarIcon,\n StarOutline: StarOutlineIcon,\n Heart: HeartIcon,\n HeartOutline: HeartOutlineIcon,\n ThumbUp: ThumbUpIcon,\n ThumbDown: ThumbDownIcon,\n Share: ShareIcon,\n Comment: CommentIcon,\n \n // UI\n Settings: SettingsIcon,\n Fullscreen: FullscreenIcon,\n FullscreenExit: FullscreenExitIcon,\n Search: SearchIcon,\n Info: InfoIcon,\n Warning: WarningIcon,\n Error: ErrorIcon,\n Success: SuccessIcon,\n Question: QuestionIcon,\n \n // Time\n Clock: ClockIcon,\n Timer: TimerIcon,\n Calendar: CalendarIcon,\n \n // Files\n Folder: FolderIcon,\n File: FileIcon,\n Film: FilmIcon,\n \n // Animation\n Sparkle: SparkleIcon,\n MagicWand: MagicWandIcon,\n Lightning: LightningIcon,\n Layers: LayersIcon,\n Loader2: Loader2Icon,\n};\n\nexport default Icons;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwCI;AAfG,IAAM,WAAgC,CAAC;AAAA,EAC5C,OAAO;AAAA,EACP,QAAQ;AAAA,EACR;AAAA,EACA;AACF,MACE;AAAA,EAAC;AAAA;AAAA,IACC,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN;AAAA,IACA;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,GAAE;AAAA,QACF,MAAM;AAAA;AAAA,IACR;AAAA;AACF;AAGK,IAAM,YAAiC,CAAC;AAAA,EAC7C,OAAO;AAAA,EACP,QAAQ;AAAA,EACR;AAAA,EACA;AACF,MACE;AAAA,EAAC;AAAA;AAAA,IACC,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN;AAAA,IACA;AAAA,IAEA;AAAA,kDAAC,UAAK,GAAE,KAAI,GAAE,KAAI,OAAM,KAAI,QAAO,MAAK,MAAM,OAAO;AAAA,MACrD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ff --git a/packages/motionforge/dist/icons/index.d.cts b/packages/motionforge/dist/icons/index.d.cts deleted file mode 100644 index 47c13c3..0000000 --- a/packages/motionforge/dist/icons/index.d.cts +++ /dev/null @@ -1,155 +0,0 @@ -import React from 'react'; - -/** - * MotionForge Icon Library - * - * A comprehensive collection of SVG icons for video creation. - * Use these icons instead of emojis for professional results. - * - * Usage: - * import { PlayIcon, PauseIcon } from 'motionforge/icons'; - * - */ - -interface IconProps { - size?: number; - color?: string; - className?: string; - style?: React.CSSProperties; -} -declare const PlayIcon: React.FC; -declare const PauseIcon: React.FC; -declare const StopIcon: React.FC; -declare const SkipBackIcon: React.FC; -declare const SkipForwardIcon: React.FC; -declare const RewindIcon: React.FC; -declare const FastForwardIcon: React.FC; -declare const ReplayIcon: React.FC; -declare const ShuffleIcon: React.FC; -declare const RepeatIcon: React.FC; -declare const VolumeHighIcon: React.FC; -declare const VolumeMediumIcon: React.FC; -declare const VolumeLowIcon: React.FC; -declare const VolumeMuteIcon: React.FC; -declare const ArrowLeftIcon: React.FC; -declare const ArrowRightIcon: React.FC; -declare const ArrowUpIcon: React.FC; -declare const ArrowDownIcon: React.FC; -declare const ChevronLeftIcon: React.FC; -declare const ChevronRightIcon: React.FC; -declare const ChevronUpIcon: React.FC; -declare const ChevronDownIcon: React.FC; -declare const CheckIcon: React.FC; -declare const CloseIcon: React.FC; -declare const PlusIcon: React.FC; -declare const MinusIcon: React.FC; -declare const EditIcon: React.FC; -declare const DeleteIcon: React.FC; -declare const SaveIcon: React.FC; -declare const CopyIcon: React.FC; -declare const DownloadIcon: React.FC; -declare const UploadIcon: React.FC; -declare const RefreshIcon: React.FC; -declare const CameraIcon: React.FC; -declare const VideoIcon: React.FC; -declare const ImageIcon: React.FC; -declare const MusicIcon: React.FC; -declare const MicIcon: React.FC; -declare const StarIcon: React.FC; -declare const StarOutlineIcon: React.FC; -declare const HeartIcon: React.FC; -declare const HeartOutlineIcon: React.FC; -declare const ThumbUpIcon: React.FC; -declare const ThumbDownIcon: React.FC; -declare const ShareIcon: React.FC; -declare const CommentIcon: React.FC; -declare const SettingsIcon: React.FC; -declare const FullscreenIcon: React.FC; -declare const FullscreenExitIcon: React.FC; -declare const SearchIcon: React.FC; -declare const InfoIcon: React.FC; -declare const WarningIcon: React.FC; -declare const ErrorIcon: React.FC; -declare const SuccessIcon: React.FC; -declare const QuestionIcon: React.FC; -declare const ClockIcon: React.FC; -declare const TimerIcon: React.FC; -declare const CalendarIcon: React.FC; -declare const FolderIcon: React.FC; -declare const FileIcon: React.FC; -declare const FilmIcon: React.FC; -declare const SparkleIcon: React.FC; -declare const MagicWandIcon: React.FC; -declare const LightningIcon: React.FC; -declare const LayersIcon: React.FC; -declare const Loader2Icon: React.FC; -declare const Icons: { - Play: React.FC; - Pause: React.FC; - Stop: React.FC; - SkipBack: React.FC; - SkipForward: React.FC; - Rewind: React.FC; - FastForward: React.FC; - Replay: React.FC; - Shuffle: React.FC; - Repeat: React.FC; - VolumeHigh: React.FC; - VolumeMedium: React.FC; - VolumeLow: React.FC; - VolumeMute: React.FC; - ArrowLeft: React.FC; - ArrowRight: React.FC; - ArrowUp: React.FC; - ArrowDown: React.FC; - ChevronLeft: React.FC; - ChevronRight: React.FC; - ChevronUp: React.FC; - ChevronDown: React.FC; - Check: React.FC; - Close: React.FC; - Plus: React.FC; - Minus: React.FC; - Edit: React.FC; - Delete: React.FC; - Save: React.FC; - Copy: React.FC; - Download: React.FC; - Upload: React.FC; - Refresh: React.FC; - Camera: React.FC; - Video: React.FC; - Image: React.FC; - Music: React.FC; - Mic: React.FC; - Star: React.FC; - StarOutline: React.FC; - Heart: React.FC; - HeartOutline: React.FC; - ThumbUp: React.FC; - ThumbDown: React.FC; - Share: React.FC; - Comment: React.FC; - Settings: React.FC; - Fullscreen: React.FC; - FullscreenExit: React.FC; - Search: React.FC; - Info: React.FC; - Warning: React.FC; - Error: React.FC; - Success: React.FC; - Question: React.FC; - Clock: React.FC; - Timer: React.FC; - Calendar: React.FC; - Folder: React.FC; - File: React.FC; - Film: React.FC; - Sparkle: React.FC; - MagicWand: React.FC; - Lightning: React.FC; - Layers: React.FC; - Loader2: React.FC; -}; - -export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, CalendarIcon, CameraIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseIcon, CommentIcon, CopyIcon, DeleteIcon, DownloadIcon, EditIcon, ErrorIcon, FastForwardIcon, FileIcon, FilmIcon, FolderIcon, FullscreenExitIcon, FullscreenIcon, HeartIcon, HeartOutlineIcon, Icons, ImageIcon, InfoIcon, LayersIcon, LightningIcon, Loader2Icon, MagicWandIcon, MicIcon, MinusIcon, MusicIcon, PauseIcon, PlayIcon, PlusIcon, QuestionIcon, RefreshIcon, RepeatIcon, ReplayIcon, RewindIcon, SaveIcon, SearchIcon, SettingsIcon, ShareIcon, ShuffleIcon, SkipBackIcon, SkipForwardIcon, SparkleIcon, StarIcon, StarOutlineIcon, StopIcon, SuccessIcon, ThumbDownIcon, ThumbUpIcon, TimerIcon, UploadIcon, VideoIcon, VolumeHighIcon, VolumeLowIcon, VolumeMediumIcon, VolumeMuteIcon, WarningIcon, Icons as default }; diff --git a/packages/motionforge/dist/icons/index.d.ts b/packages/motionforge/dist/icons/index.d.ts deleted file mode 100644 index 47c13c3..0000000 --- a/packages/motionforge/dist/icons/index.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import React from 'react'; - -/** - * MotionForge Icon Library - * - * A comprehensive collection of SVG icons for video creation. - * Use these icons instead of emojis for professional results. - * - * Usage: - * import { PlayIcon, PauseIcon } from 'motionforge/icons'; - * - */ - -interface IconProps { - size?: number; - color?: string; - className?: string; - style?: React.CSSProperties; -} -declare const PlayIcon: React.FC; -declare const PauseIcon: React.FC; -declare const StopIcon: React.FC; -declare const SkipBackIcon: React.FC; -declare const SkipForwardIcon: React.FC; -declare const RewindIcon: React.FC; -declare const FastForwardIcon: React.FC; -declare const ReplayIcon: React.FC; -declare const ShuffleIcon: React.FC; -declare const RepeatIcon: React.FC; -declare const VolumeHighIcon: React.FC; -declare const VolumeMediumIcon: React.FC; -declare const VolumeLowIcon: React.FC; -declare const VolumeMuteIcon: React.FC; -declare const ArrowLeftIcon: React.FC; -declare const ArrowRightIcon: React.FC; -declare const ArrowUpIcon: React.FC; -declare const ArrowDownIcon: React.FC; -declare const ChevronLeftIcon: React.FC; -declare const ChevronRightIcon: React.FC; -declare const ChevronUpIcon: React.FC; -declare const ChevronDownIcon: React.FC; -declare const CheckIcon: React.FC; -declare const CloseIcon: React.FC; -declare const PlusIcon: React.FC; -declare const MinusIcon: React.FC; -declare const EditIcon: React.FC; -declare const DeleteIcon: React.FC; -declare const SaveIcon: React.FC; -declare const CopyIcon: React.FC; -declare const DownloadIcon: React.FC; -declare const UploadIcon: React.FC; -declare const RefreshIcon: React.FC; -declare const CameraIcon: React.FC; -declare const VideoIcon: React.FC; -declare const ImageIcon: React.FC; -declare const MusicIcon: React.FC; -declare const MicIcon: React.FC; -declare const StarIcon: React.FC; -declare const StarOutlineIcon: React.FC; -declare const HeartIcon: React.FC; -declare const HeartOutlineIcon: React.FC; -declare const ThumbUpIcon: React.FC; -declare const ThumbDownIcon: React.FC; -declare const ShareIcon: React.FC; -declare const CommentIcon: React.FC; -declare const SettingsIcon: React.FC; -declare const FullscreenIcon: React.FC; -declare const FullscreenExitIcon: React.FC; -declare const SearchIcon: React.FC; -declare const InfoIcon: React.FC; -declare const WarningIcon: React.FC; -declare const ErrorIcon: React.FC; -declare const SuccessIcon: React.FC; -declare const QuestionIcon: React.FC; -declare const ClockIcon: React.FC; -declare const TimerIcon: React.FC; -declare const CalendarIcon: React.FC; -declare const FolderIcon: React.FC; -declare const FileIcon: React.FC; -declare const FilmIcon: React.FC; -declare const SparkleIcon: React.FC; -declare const MagicWandIcon: React.FC; -declare const LightningIcon: React.FC; -declare const LayersIcon: React.FC; -declare const Loader2Icon: React.FC; -declare const Icons: { - Play: React.FC; - Pause: React.FC; - Stop: React.FC; - SkipBack: React.FC; - SkipForward: React.FC; - Rewind: React.FC; - FastForward: React.FC; - Replay: React.FC; - Shuffle: React.FC; - Repeat: React.FC; - VolumeHigh: React.FC; - VolumeMedium: React.FC; - VolumeLow: React.FC; - VolumeMute: React.FC; - ArrowLeft: React.FC; - ArrowRight: React.FC; - ArrowUp: React.FC; - ArrowDown: React.FC; - ChevronLeft: React.FC; - ChevronRight: React.FC; - ChevronUp: React.FC; - ChevronDown: React.FC; - Check: React.FC; - Close: React.FC; - Plus: React.FC; - Minus: React.FC; - Edit: React.FC; - Delete: React.FC; - Save: React.FC; - Copy: React.FC; - Download: React.FC; - Upload: React.FC; - Refresh: React.FC; - Camera: React.FC; - Video: React.FC; - Image: React.FC; - Music: React.FC; - Mic: React.FC; - Star: React.FC; - StarOutline: React.FC; - Heart: React.FC; - HeartOutline: React.FC; - ThumbUp: React.FC; - ThumbDown: React.FC; - Share: React.FC; - Comment: React.FC; - Settings: React.FC; - Fullscreen: React.FC; - FullscreenExit: React.FC; - Search: React.FC; - Info: React.FC; - Warning: React.FC; - Error: React.FC; - Success: React.FC; - Question: React.FC; - Clock: React.FC; - Timer: React.FC; - Calendar: React.FC; - Folder: React.FC; - File: React.FC; - Film: React.FC; - Sparkle: React.FC; - MagicWand: React.FC; - Lightning: React.FC; - Layers: React.FC; - Loader2: React.FC; -}; - -export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, CalendarIcon, CameraIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseIcon, CommentIcon, CopyIcon, DeleteIcon, DownloadIcon, EditIcon, ErrorIcon, FastForwardIcon, FileIcon, FilmIcon, FolderIcon, FullscreenExitIcon, FullscreenIcon, HeartIcon, HeartOutlineIcon, Icons, ImageIcon, InfoIcon, LayersIcon, LightningIcon, Loader2Icon, MagicWandIcon, MicIcon, MinusIcon, MusicIcon, PauseIcon, PlayIcon, PlusIcon, QuestionIcon, RefreshIcon, RepeatIcon, ReplayIcon, RewindIcon, SaveIcon, SearchIcon, SettingsIcon, ShareIcon, ShuffleIcon, SkipBackIcon, SkipForwardIcon, SparkleIcon, StarIcon, StarOutlineIcon, StopIcon, SuccessIcon, ThumbDownIcon, ThumbUpIcon, TimerIcon, UploadIcon, VideoIcon, VolumeHighIcon, VolumeLowIcon, VolumeMediumIcon, VolumeMuteIcon, WarningIcon, Icons as default }; diff --git a/packages/motionforge/dist/icons/index.js b/packages/motionforge/dist/icons/index.js deleted file mode 100644 index 347cfdb..0000000 --- a/packages/motionforge/dist/icons/index.js +++ /dev/null @@ -1,1359 +0,0 @@ -// src/icons/index.tsx -import { jsx, jsxs } from "react/jsx-runtime"; -var PlayIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx( - "path", - { - d: "M8 5.14v14l11-7-11-7z", - fill: color - } - ) - } -); -var PauseIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsxs( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: [ - /* @__PURE__ */ jsx("rect", { x: "6", y: "4", width: "4", height: "16", fill: color }), - /* @__PURE__ */ jsx("rect", { x: "14", y: "4", width: "4", height: "16", fill: color }) - ] - } -); -var StopIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("rect", { x: "6", y: "6", width: "12", height: "12", fill: color }) - } -); -var SkipBackIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M6 6h2v12H6V6zm3.5 6l8.5 6V6l-8.5 6z", fill: color }) - } -); -var SkipForwardIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M6 18l8.5-6L6 6v12zm8.5 0V6h2v12h-2z", fill: color }) - } -); -var RewindIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z", fill: color }) - } -); -var FastForwardIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z", fill: color }) - } -); -var ReplayIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx( - "path", - { - d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z", - fill: color - } - ) - } -); -var ShuffleIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z", fill: color }) - } -); -var RepeatIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4z", fill: color }) - } -); -var VolumeHighIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z", fill: color }) - } -); -var VolumeMediumIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M5 9v6h4l5 5V4L9 9H5zm11.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z", fill: color }) - } -); -var VolumeLowIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z", fill: color }) - } -); -var VolumeMuteIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z", fill: color }) - } -); -var ArrowLeftIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z", fill: color }) - } -); -var ArrowRightIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z", fill: color }) - } -); -var ArrowUpIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z", fill: color }) - } -); -var ArrowDownIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z", fill: color }) - } -); -var ChevronLeftIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z", fill: color }) - } -); -var ChevronRightIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z", fill: color }) - } -); -var ChevronUpIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z", fill: color }) - } -); -var ChevronDownIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z", fill: color }) - } -); -var CheckIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z", fill: color }) - } -); -var CloseIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z", fill: color }) - } -); -var PlusIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z", fill: color }) - } -); -var MinusIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19 13H5v-2h14v2z", fill: color }) - } -); -var EditIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z", fill: color }) - } -); -var DeleteIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z", fill: color }) - } -); -var SaveIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z", fill: color }) - } -); -var CopyIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z", fill: color }) - } -); -var DownloadIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z", fill: color }) - } -); -var UploadIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z", fill: color }) - } -); -var RefreshIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z", fill: color }) - } -); -var CameraIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 15.2c1.77 0 3.2-1.43 3.2-3.2s-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2 1.43 3.2 3.2 3.2zM9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z", fill: color }) - } -); -var VideoIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z", fill: color }) - } -); -var ImageIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z", fill: color }) - } -); -var MusicIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z", fill: color }) - } -); -var MicIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.91-3c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z", fill: color }) - } -); -var StarIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z", fill: color }) - } -); -var StarOutlineIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z", fill: color }) - } -); -var HeartIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z", fill: color }) - } -); -var HeartOutlineIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z", fill: color }) - } -); -var ThumbUpIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z", fill: color }) - } -); -var ThumbDownIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M23 3h-4v12h4V3zm-2 10h-2V5h2v8zM15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2z", fill: color }) - } -); -var ShareIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92z", fill: color }) - } -); -var CommentIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z", fill: color }) - } -); -var SettingsIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z", fill: color }) - } -); -var FullscreenIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z", fill: color }) - } -); -var FullscreenExitIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z", fill: color }) - } -); -var SearchIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z", fill: color }) - } -); -var InfoIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z", fill: color }) - } -); -var WarningIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z", fill: color }) - } -); -var ErrorIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z", fill: color }) - } -); -var SuccessIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z", fill: color }) - } -); -var QuestionIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z", fill: color }) - } -); -var ClockIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z", fill: color }) - } -); -var TimerIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z", fill: color }) - } -); -var CalendarIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM9 10H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm-8 4H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2z", fill: color }) - } -); -var FolderIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z", fill: color }) - } -); -var FileIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z", fill: color }) - } -); -var FilmIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z", fill: color }) - } -); -var SparkleIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M12 2L9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2z", fill: color }) - } -); -var MagicWandIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M7.5 5.6L10 7 8.6 4.5 10 2 7.5 3.4 5 2l1.4 2.5L5 7zM19.5 15.4L17 14l1.4 2.5L17 19l2.5-1.4L22 19l-1.4-2.5L22 14zM22 2l-2.5 1.4L17 2l1.4 2.5L17 7l2.5-1.4L22 7l-1.4-2.5zM14.37 7.29L12.56 5.5 2 16.06V18.88L5.12 22h2.82l10.55-10.56zM5.91 17.09L5 16.17l8.06-8.06.91.91-8.06 8.07z", fill: color }) - } -); -var LightningIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M7 2v11h3v9l7-12h-4l4-8z", fill: color }) - } -); -var LayersIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z", fill: color }) - } -); -var Loader2Icon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - stroke: color, - strokeWidth: "2", - strokeLinecap: "round", - strokeLinejoin: "round", - xmlns: "http://www.w3.org/2000/svg", - className: `animate-spin ${className || ""}`, - style, - children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }) - } -); -var Icons = { - // Playback - Play: PlayIcon, - Pause: PauseIcon, - Stop: StopIcon, - SkipBack: SkipBackIcon, - SkipForward: SkipForwardIcon, - Rewind: RewindIcon, - FastForward: FastForwardIcon, - Replay: ReplayIcon, - Shuffle: ShuffleIcon, - Repeat: RepeatIcon, - // Volume - VolumeHigh: VolumeHighIcon, - VolumeMedium: VolumeMediumIcon, - VolumeLow: VolumeLowIcon, - VolumeMute: VolumeMuteIcon, - // Navigation - ArrowLeft: ArrowLeftIcon, - ArrowRight: ArrowRightIcon, - ArrowUp: ArrowUpIcon, - ArrowDown: ArrowDownIcon, - ChevronLeft: ChevronLeftIcon, - ChevronRight: ChevronRightIcon, - ChevronUp: ChevronUpIcon, - ChevronDown: ChevronDownIcon, - // Actions - Check: CheckIcon, - Close: CloseIcon, - Plus: PlusIcon, - Minus: MinusIcon, - Edit: EditIcon, - Delete: DeleteIcon, - Save: SaveIcon, - Copy: CopyIcon, - Download: DownloadIcon, - Upload: UploadIcon, - Refresh: RefreshIcon, - // Media - Camera: CameraIcon, - Video: VideoIcon, - Image: ImageIcon, - Music: MusicIcon, - Mic: MicIcon, - // Social - Star: StarIcon, - StarOutline: StarOutlineIcon, - Heart: HeartIcon, - HeartOutline: HeartOutlineIcon, - ThumbUp: ThumbUpIcon, - ThumbDown: ThumbDownIcon, - Share: ShareIcon, - Comment: CommentIcon, - // UI - Settings: SettingsIcon, - Fullscreen: FullscreenIcon, - FullscreenExit: FullscreenExitIcon, - Search: SearchIcon, - Info: InfoIcon, - Warning: WarningIcon, - Error: ErrorIcon, - Success: SuccessIcon, - Question: QuestionIcon, - // Time - Clock: ClockIcon, - Timer: TimerIcon, - Calendar: CalendarIcon, - // Files - Folder: FolderIcon, - File: FileIcon, - Film: FilmIcon, - // Animation - Sparkle: SparkleIcon, - MagicWand: MagicWandIcon, - Lightning: LightningIcon, - Layers: LayersIcon, - Loader2: Loader2Icon -}; -var icons_default = Icons; -export { - ArrowDownIcon, - ArrowLeftIcon, - ArrowRightIcon, - ArrowUpIcon, - CalendarIcon, - CameraIcon, - CheckIcon, - ChevronDownIcon, - ChevronLeftIcon, - ChevronRightIcon, - ChevronUpIcon, - ClockIcon, - CloseIcon, - CommentIcon, - CopyIcon, - DeleteIcon, - DownloadIcon, - EditIcon, - ErrorIcon, - FastForwardIcon, - FileIcon, - FilmIcon, - FolderIcon, - FullscreenExitIcon, - FullscreenIcon, - HeartIcon, - HeartOutlineIcon, - Icons, - ImageIcon, - InfoIcon, - LayersIcon, - LightningIcon, - Loader2Icon, - MagicWandIcon, - MicIcon, - MinusIcon, - MusicIcon, - PauseIcon, - PlayIcon, - PlusIcon, - QuestionIcon, - RefreshIcon, - RepeatIcon, - ReplayIcon, - RewindIcon, - SaveIcon, - SearchIcon, - SettingsIcon, - ShareIcon, - ShuffleIcon, - SkipBackIcon, - SkipForwardIcon, - SparkleIcon, - StarIcon, - StarOutlineIcon, - StopIcon, - SuccessIcon, - ThumbDownIcon, - ThumbUpIcon, - TimerIcon, - UploadIcon, - VideoIcon, - VolumeHighIcon, - VolumeLowIcon, - VolumeMediumIcon, - VolumeMuteIcon, - WarningIcon, - icons_default as default -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/motionforge/dist/icons/index.js.map b/packages/motionforge/dist/icons/index.js.map deleted file mode 100644 index 827b8f0..0000000 --- a/packages/motionforge/dist/icons/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/icons/index.tsx"],"sourcesContent":["/**\n * MotionForge Icon Library\n * \n * A comprehensive collection of SVG icons for video creation.\n * Use these icons instead of emojis for professional results.\n * \n * Usage:\n * import { PlayIcon, PauseIcon } from 'motionforge/icons';\n * \n */\n\nimport React from 'react';\n\n// Base icon props\ninterface IconProps {\n size?: number;\n color?: string;\n className?: string;\n style?: React.CSSProperties;\n}\n\n// ============================================================\n// Playback Control Icons\n// ============================================================\n\nexport const PlayIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const PauseIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n \n);\n\nexport const StopIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SkipBackIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SkipForwardIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const RewindIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FastForwardIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ReplayIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ShuffleIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const RepeatIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Volume Icons\n// ============================================================\n\nexport const VolumeHighIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VolumeMediumIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VolumeLowIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VolumeMuteIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Navigation Icons\n// ============================================================\n\nexport const ArrowLeftIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ArrowRightIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ArrowUpIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ArrowDownIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronLeftIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronRightIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronUpIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ChevronDownIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Action Icons\n// ============================================================\n\nexport const CheckIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CloseIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const PlusIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MinusIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const EditIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const DeleteIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SaveIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CopyIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const DownloadIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const UploadIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const RefreshIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Media Icons\n// ============================================================\n\nexport const CameraIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const VideoIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ImageIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MusicIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MicIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Social & Rating Icons\n// ============================================================\n\nexport const StarIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const StarOutlineIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const HeartIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const HeartOutlineIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ThumbUpIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ThumbDownIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ShareIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CommentIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// UI Icons\n// ============================================================\n\nexport const SettingsIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FullscreenIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FullscreenExitIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SearchIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const InfoIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const WarningIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const ErrorIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const SuccessIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const QuestionIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Time Icons\n// ============================================================\n\nexport const ClockIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const TimerIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const CalendarIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// File & Folder Icons\n// ============================================================\n\nexport const FolderIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FileIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const FilmIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Animation Icons\n// ============================================================\n\nexport const SparkleIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const MagicWandIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const LightningIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const LayersIcon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\nexport const Loader2Icon: React.FC = ({ \n size = 24, \n color = 'currentColor',\n className,\n style \n}) => (\n \n \n \n);\n\n// ============================================================\n// Export all icons\n// ============================================================\n\nexport const Icons = {\n // Playback\n Play: PlayIcon,\n Pause: PauseIcon,\n Stop: StopIcon,\n SkipBack: SkipBackIcon,\n SkipForward: SkipForwardIcon,\n Rewind: RewindIcon,\n FastForward: FastForwardIcon,\n Replay: ReplayIcon,\n Shuffle: ShuffleIcon,\n Repeat: RepeatIcon,\n \n // Volume\n VolumeHigh: VolumeHighIcon,\n VolumeMedium: VolumeMediumIcon,\n VolumeLow: VolumeLowIcon,\n VolumeMute: VolumeMuteIcon,\n \n // Navigation\n ArrowLeft: ArrowLeftIcon,\n ArrowRight: ArrowRightIcon,\n ArrowUp: ArrowUpIcon,\n ArrowDown: ArrowDownIcon,\n ChevronLeft: ChevronLeftIcon,\n ChevronRight: ChevronRightIcon,\n ChevronUp: ChevronUpIcon,\n ChevronDown: ChevronDownIcon,\n \n // Actions\n Check: CheckIcon,\n Close: CloseIcon,\n Plus: PlusIcon,\n Minus: MinusIcon,\n Edit: EditIcon,\n Delete: DeleteIcon,\n Save: SaveIcon,\n Copy: CopyIcon,\n Download: DownloadIcon,\n Upload: UploadIcon,\n Refresh: RefreshIcon,\n \n // Media\n Camera: CameraIcon,\n Video: VideoIcon,\n Image: ImageIcon,\n Music: MusicIcon,\n Mic: MicIcon,\n \n // Social\n Star: StarIcon,\n StarOutline: StarOutlineIcon,\n Heart: HeartIcon,\n HeartOutline: HeartOutlineIcon,\n ThumbUp: ThumbUpIcon,\n ThumbDown: ThumbDownIcon,\n Share: ShareIcon,\n Comment: CommentIcon,\n \n // UI\n Settings: SettingsIcon,\n Fullscreen: FullscreenIcon,\n FullscreenExit: FullscreenExitIcon,\n Search: SearchIcon,\n Info: InfoIcon,\n Warning: WarningIcon,\n Error: ErrorIcon,\n Success: SuccessIcon,\n Question: QuestionIcon,\n \n // Time\n Clock: ClockIcon,\n Timer: TimerIcon,\n Calendar: CalendarIcon,\n \n // Files\n Folder: FolderIcon,\n File: FileIcon,\n Film: FilmIcon,\n \n // Animation\n Sparkle: SparkleIcon,\n MagicWand: MagicWandIcon,\n Lightning: LightningIcon,\n Layers: LayersIcon,\n Loader2: Loader2Icon,\n};\n\nexport default Icons;\n"],"mappings":";AAwCI,cAaF,YAbE;AAfG,IAAM,WAAgC,CAAC;AAAA,EAC5C,OAAO;AAAA,EACP,QAAQ;AAAA,EACR;AAAA,EACA;AACF,MACE;AAAA,EAAC;AAAA;AAAA,IACC,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN;AAAA,IACA;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,GAAE;AAAA,QACF,MAAM;AAAA;AAAA,IACR;AAAA;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MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,UAAU;AAAA;AAAA,EAGV,OAAO;AAAA,EACP,OAAO;AAAA,EACP,UAAU;AAAA;AAAA,EAGV,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA;AAAA,EAGN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AACX;AAEA,IAAO,gBAAQ;","names":[]} \ No newline at end of file diff --git a/packages/motionforge/dist/player/Player.d.ts b/packages/motionforge/dist/player/Player.d.ts deleted file mode 100644 index 7f9f2f7..0000000 --- a/packages/motionforge/dist/player/Player.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; - -interface PlayerProps { - component: React.ComponentType>; - durationInFrames: number; - fps?: number; - width?: number; - height?: number; - defaultProps?: Record; - controls?: boolean; - loop?: boolean; - autoPlay?: boolean; - style?: React.CSSProperties; - className?: string; -} -declare const Player: React.FC; - -export { Player, type PlayerProps, Player as default }; diff --git a/packages/motionforge/dist/player/Player.js b/packages/motionforge/dist/player/Player.js deleted file mode 100644 index 43f106c..0000000 --- a/packages/motionforge/dist/player/Player.js +++ /dev/null @@ -1,644 +0,0 @@ -"use client"; -import "../chunk-HPDG2U2L.js"; - -// src/player/Player.tsx -import { useCallback as useCallback2, useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react"; - -// src/renderer/index.ts -var RenderJobManager = class { - constructor() { - this.jobs = /* @__PURE__ */ new Map(); - } - createJob(id, config) { - this.jobs.set(id, { - id, - config, - status: "pending", - progress: 0, - startTime: null, - endTime: null - }); - } - startJob(id) { - const job = this.jobs.get(id); - if (job) { - job.status = "processing"; - job.startTime = Date.now(); - } - } - updateProgress(id, progress) { - const job = this.jobs.get(id); - if (job) { - job.progress = progress; - } - } - completeJob(id, outputUrl) { - const job = this.jobs.get(id); - if (job) { - job.status = "completed"; - job.progress = 100; - job.endTime = Date.now(); - job.outputUrl = outputUrl; - } - } - failJob(id, error) { - const job = this.jobs.get(id); - if (job) { - job.status = "failed"; - job.error = error; - job.endTime = Date.now(); - } - } - getJob(id) { - return this.jobs.get(id); - } - getActiveJobs() { - return Array.from(this.jobs.values()).filter( - (job) => job.status === "processing" - ); - } -}; -var renderJobManager = new RenderJobManager(); -async function renderCompositionToVideo(setFrame, element, config, options) { - const { VideoExportManager } = await import("../export-XU23RXHF.js"); - const manager = new VideoExportManager(); - const result = await manager.exportVideo(setFrame, element, { - config, - onProgress: options?.onProgress ? (p) => options.onProgress(p.percentage) : void 0 - }); - if (result.success && result.blob) { - options?.onComplete?.(result.blob); - return result.blob; - } - return null; -} -function downloadVideo(blob, filename = "video.webm") { - const url = URL.createObjectURL(blob); - const a = document.createElement("a"); - a.href = url; - a.download = filename; - document.body.appendChild(a); - a.click(); - document.body.removeChild(a); - URL.revokeObjectURL(url); -} - -// src/icons/index.tsx -import { jsx, jsxs } from "react/jsx-runtime"; -var DownloadIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z", fill: color }) - } -); -var VideoIcon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - className, - style, - children: /* @__PURE__ */ jsx("path", { d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z", fill: color }) - } -); -var Loader2Icon = ({ - size = 24, - color = "currentColor", - className, - style -}) => /* @__PURE__ */ jsx( - "svg", - { - width: size, - height: size, - viewBox: "0 0 24 24", - fill: "none", - stroke: color, - strokeWidth: "2", - strokeLinecap: "round", - strokeLinejoin: "round", - xmlns: "http://www.w3.org/2000/svg", - className: `animate-spin ${className || ""}`, - style, - children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }) - } -); - -// src/core/context.tsx -import { createContext, useContext, useState, useCallback, useRef, useEffect } from "react"; -import { jsx as jsx2 } from "react/jsx-runtime"; -var FrameContext = createContext(null); -var CompositionManagerContext = createContext(null); -var PlayerContext = createContext(null); - -// src/player/Player.tsx -import { Fragment, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime"; -var Timeline = ({ durationInFrames, frame, onSeek, marks = [], fps }) => { - const timelineRef = useRef2(null); - const [isDragging, setIsDragging] = useState2(false); - const handleClick = useCallback2((e) => { - if (!timelineRef.current) return; - const rect = timelineRef.current.getBoundingClientRect(); - const x = e.clientX - rect.left; - const percentage = x / rect.width; - onSeek(Math.floor(percentage * durationInFrames)); - }, [durationInFrames, onSeek]); - const handleMouseDown = useCallback2((e) => { - setIsDragging(true); - handleClick(e); - }, [handleClick]); - useEffect2(() => { - const handleMouseMove = (e) => { - if (!isDragging || !timelineRef.current) return; - const rect = timelineRef.current.getBoundingClientRect(); - const x = e.clientX - rect.left; - const percentage = Math.max(0, Math.min(1, x / rect.width)); - onSeek(Math.floor(percentage * durationInFrames)); - }; - const handleMouseUp = () => { - setIsDragging(false); - }; - if (isDragging) { - window.addEventListener("mousemove", handleMouseMove); - window.addEventListener("mouseup", handleMouseUp); - } - return () => { - window.removeEventListener("mousemove", handleMouseMove); - window.removeEventListener("mouseup", handleMouseUp); - }; - }, [isDragging, durationInFrames, onSeek]); - const progress = frame / (durationInFrames - 1) * 100; - const timeInSeconds = frame / fps; - const durationInSeconds = durationInFrames / fps; - const formatTime = (seconds) => { - const mins = Math.floor(seconds / 60); - const secs = Math.floor(seconds % 60); - const ms = Math.floor(seconds % 1 * 100); - return `${mins.toString().padStart(2, "0")}:${secs.toString().padStart(2, "0")}.${ms.toString().padStart(2, "0")}`; - }; - return /* @__PURE__ */ jsxs2("div", { className: "w-full", children: [ - /* @__PURE__ */ jsxs2( - "div", - { - ref: timelineRef, - className: "relative h-2 bg-emerald-950 rounded-full cursor-pointer group border border-emerald-900/50", - onMouseDown: handleMouseDown, - children: [ - /* @__PURE__ */ jsx3( - "div", - { - className: "absolute h-full bg-gradient-to-r from-emerald-500 to-teal-500 rounded-full transition-all duration-75", - style: { width: `${progress}%` } - } - ), - /* @__PURE__ */ jsx3( - "div", - { - className: "absolute top-1/2 -translate-y-1/2 w-4 h-4 bg-gradient-to-br from-emerald-400 to-teal-400 rounded-full shadow-lg shadow-emerald-500/50 cursor-grab opacity-0 group-hover:opacity-100 transition-opacity border-2 border-white", - style: { left: `calc(${progress}% - 8px)` } - } - ), - marks.map((mark, i) => /* @__PURE__ */ jsx3( - "div", - { - className: "absolute top-0 w-0.5 h-full bg-emerald-400", - style: { left: `${mark / durationInFrames * 100}%` } - }, - i - )) - ] - } - ), - /* @__PURE__ */ jsxs2("div", { className: "flex justify-between mt-2 text-xs text-emerald-500 font-mono", children: [ - /* @__PURE__ */ jsx3("span", { children: formatTime(timeInSeconds) }), - /* @__PURE__ */ jsx3("span", { children: formatTime(durationInSeconds) }) - ] }) - ] }); -}; -var Controls = ({ - playing, - onPlayPause, - onRestart, - onStepBack, - onStepForward, - playbackRate, - onPlaybackRateChange, - frame, - totalFrames, - onExport, - isExporting -}) => { - const [showSpeedMenu, setShowSpeedMenu] = useState2(false); - const speeds = [0.25, 0.5, 1, 1.5, 2]; - return /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-center gap-2", children: [ - /* @__PURE__ */ jsx3( - "button", - { - onClick: onRestart, - className: "p-2 text-emerald-400 hover:text-emerald-300 hover:bg-emerald-950 rounded-lg transition-all duration-200 hover:scale-110", - title: "Restart", - children: /* @__PURE__ */ jsx3("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx3("path", { fillRule: "evenodd", d: "M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z", clipRule: "evenodd" }) }) - } - ), - /* @__PURE__ */ jsx3( - "button", - { - onClick: onStepBack, - className: "p-2 text-emerald-400 hover:text-emerald-300 hover:bg-emerald-950 rounded-lg transition-all duration-200 hover:scale-110", - title: "Previous frame (\u2190)", - children: /* @__PURE__ */ jsx3("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx3("path", { d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z" }) }) - } - ), - /* @__PURE__ */ jsx3( - "button", - { - onClick: onPlayPause, - className: "p-4 bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-400 hover:to-teal-400 text-white rounded-full transition-all duration-200 hover:scale-110 shadow-lg shadow-emerald-500/30", - title: playing ? "Pause (Space)" : "Play (Space)", - children: playing ? /* @__PURE__ */ jsx3("svg", { className: "w-6 h-6", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx3("path", { fillRule: "evenodd", d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zM7 8a1 1 0 012 0v4a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v4a1 1 0 102 0V8a1 1 0 00-1-1z", clipRule: "evenodd" }) }) : /* @__PURE__ */ jsx3("svg", { className: "w-6 h-6", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx3("path", { fillRule: "evenodd", d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z", clipRule: "evenodd" }) }) - } - ), - /* @__PURE__ */ jsx3( - "button", - { - onClick: onStepForward, - className: "p-2 text-emerald-400 hover:text-emerald-300 hover:bg-emerald-950 rounded-lg transition-all duration-200 hover:scale-110", - title: "Next frame (\u2192)", - children: /* @__PURE__ */ jsx3("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx3("path", { d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z" }) }) - } - ), - /* @__PURE__ */ jsxs2("div", { className: "relative", children: [ - /* @__PURE__ */ jsxs2( - "button", - { - onClick: () => setShowSpeedMenu(!showSpeedMenu), - className: "px-3 py-2 text-sm text-emerald-400 hover:text-emerald-300 hover:bg-emerald-950 rounded-lg transition-all duration-200 min-w-[55px] font-mono border border-emerald-900/50", - title: "Playback speed", - children: [ - playbackRate, - "x" - ] - } - ), - showSpeedMenu && /* @__PURE__ */ jsx3("div", { className: "absolute bottom-full left-0 mb-2 bg-[#0a0a0a] rounded-lg shadow-xl border border-emerald-900/50 py-1 min-w-[65px] overflow-hidden", children: speeds.map((speed) => /* @__PURE__ */ jsxs2( - "button", - { - onClick: () => { - onPlaybackRateChange(speed); - setShowSpeedMenu(false); - }, - className: `w-full px-3 py-2 text-sm text-left transition-colors ${playbackRate === speed ? "text-emerald-400 bg-emerald-950/50" : "text-emerald-500 hover:text-emerald-300 hover:bg-emerald-950/30"}`, - children: [ - speed, - "x" - ] - }, - speed - )) }) - ] }), - /* @__PURE__ */ jsx3("div", { className: "ml-2 px-3 py-1 bg-emerald-950/50 rounded-lg border border-emerald-900/50", children: /* @__PURE__ */ jsxs2("span", { className: "text-sm text-emerald-400 font-mono", children: [ - /* @__PURE__ */ jsx3("span", { className: "text-emerald-300", children: frame + 1 }), - /* @__PURE__ */ jsx3("span", { className: "text-emerald-600 mx-1", children: "/" }), - /* @__PURE__ */ jsx3("span", { className: "text-emerald-500", children: totalFrames }) - ] }) }), - /* @__PURE__ */ jsx3( - "button", - { - onClick: onExport, - disabled: isExporting, - className: `ml-auto flex items-center gap-2 px-4 py-2 bg-emerald-600 hover:bg-emerald-500 disabled:bg-emerald-900/50 text-white rounded-lg transition-all duration-200 shadow-lg shadow-emerald-500/20 font-medium ${isExporting ? "cursor-not-allowed" : "hover:scale-105 active:scale-95"}`, - title: "Export Video", - children: isExporting ? /* @__PURE__ */ jsxs2(Fragment, { children: [ - /* @__PURE__ */ jsx3(Loader2Icon, { size: 18 }), - /* @__PURE__ */ jsx3("span", { children: "Exporting..." }) - ] }) : /* @__PURE__ */ jsxs2(Fragment, { children: [ - /* @__PURE__ */ jsx3(DownloadIcon, { size: 18 }), - /* @__PURE__ */ jsx3("span", { children: "Export" }) - ] }) - } - ) - ] }); -}; -var Canvas = ({ - canvasRef, - component: Component, - width, - height, - frame, - fps, - durationInFrames, - playing, - playbackRate, - defaultProps = {} -}) => { - const scale = Math.min(1, 800 / width); - return /* @__PURE__ */ jsxs2( - "div", - { - ref: canvasRef, - className: "relative rounded-xl overflow-hidden shadow-2xl shadow-emerald-900/30 border border-emerald-900/30", - style: { - width: width * scale, - height: height * scale, - backgroundColor: "#0a0a0a" - }, - children: [ - /* @__PURE__ */ jsx3( - "div", - { - className: "absolute -inset-px rounded-xl", - style: { - background: "linear-gradient(135deg, rgba(16, 185, 129, 0.2), transparent, rgba(20, 184, 166, 0.2))", - zIndex: -1 - } - } - ), - /* @__PURE__ */ jsx3( - "div", - { - style: { - position: "absolute", - top: 0, - left: 0, - width, - height, - transform: `scale(${scale})`, - transformOrigin: "top left" - }, - children: /* @__PURE__ */ jsx3( - FrameContext.Provider, - { - value: { - frame, - fps, - durationInFrames, - width, - height, - playing, - playbackRate, - setFrame: () => { - }, - setPlaying: () => { - }, - setPlaybackRate: () => { - } - }, - children: /* @__PURE__ */ jsx3(Component, { ...defaultProps }) - } - ) - } - ) - ] - } - ); -}; -var Player = ({ - component, - durationInFrames, - fps = 30, - width = 1920, - height = 1080, - defaultProps = {}, - controls = true, - loop = true, - autoPlay = false, - style, - className -}) => { - const [frame, setFrame] = useState2(0); - const [playing, setPlaying] = useState2(autoPlay); - const [playbackRate, setPlaybackRate] = useState2(1); - const [isExporting, setIsExporting] = useState2(false); - const [exportProgress, setExportProgress] = useState2(0); - const animationRef = useRef2(null); - const lastTimeRef = useRef2(0); - const canvasRef = useRef2(null); - useEffect2(() => { - if (playing) { - const frameDuration = 1e3 / (fps * playbackRate); - const animate = (currentTime) => { - if (currentTime - lastTimeRef.current >= frameDuration) { - setFrame((prevFrame) => { - const nextFrame = prevFrame + 1; - if (nextFrame >= durationInFrames) { - if (loop) { - return 0; - } - setPlaying(false); - return prevFrame; - } - return nextFrame; - }); - lastTimeRef.current = currentTime; - } - animationRef.current = requestAnimationFrame(animate); - }; - lastTimeRef.current = performance.now(); - animationRef.current = requestAnimationFrame(animate); - return () => { - if (animationRef.current) { - cancelAnimationFrame(animationRef.current); - } - }; - } - }, [playing, fps, playbackRate, durationInFrames, loop]); - useEffect2(() => { - const handleKeyDown = (e) => { - switch (e.key) { - case " ": - e.preventDefault(); - setPlaying((p) => !p); - break; - case "ArrowLeft": - e.preventDefault(); - setFrame((f) => Math.max(0, f - 1)); - break; - case "ArrowRight": - e.preventDefault(); - setFrame((f) => Math.min(durationInFrames - 1, f + 1)); - break; - case "Home": - setFrame(0); - break; - case "End": - setFrame(durationInFrames - 1); - break; - case "j": - case "J": - setFrame((f) => Math.max(0, f - 10)); - break; - case "l": - case "L": - setFrame((f) => Math.min(durationInFrames - 1, f + 10)); - break; - case "k": - case "K": - setPlaying((p) => !p); - break; - } - }; - window.addEventListener("keydown", handleKeyDown); - return () => window.removeEventListener("keydown", handleKeyDown); - }, [durationInFrames]); - const handleSeek = useCallback2((targetFrame) => { - setFrame(Math.max(0, Math.min(targetFrame, durationInFrames - 1))); - }, [durationInFrames]); - const handlePlayPause = useCallback2(() => { - setPlaying((p) => !p); - }, []); - const handleRestart = useCallback2(() => { - setFrame(0); - setPlaying(true); - }, []); - const handleStepBack = useCallback2(() => { - setFrame((f) => Math.max(0, f - 1)); - }, []); - const handleStepForward = useCallback2(() => { - setFrame((f) => Math.min(durationInFrames - 1, f + 1)); - }, [durationInFrames]); - const handleExport = async () => { - if (isExporting || !canvasRef.current) return; - setIsExporting(true); - setExportProgress(0); - setPlaying(false); - try { - const elementToCapture = canvasRef.current.querySelector("div"); - const blob = await renderCompositionToVideo( - (f) => setFrame(f), - elementToCapture, - { width, height, fps, durationInFrames }, - { - onProgress: (progress) => setExportProgress(progress) - } - ); - if (blob) { - downloadVideo(blob, `motionforge-export-${Date.now()}.webm`); - } - } catch (error) { - console.error("Export failed:", error); - alert("Export failed. Check console for details."); - } finally { - setIsExporting(false); - setExportProgress(0); - } - }; - return /* @__PURE__ */ jsxs2( - "div", - { - className: `flex flex-col bg-[#0a0a0a] rounded-2xl p-5 border border-emerald-900/30 ${className || ""}`, - style, - children: [ - isExporting && /* @__PURE__ */ jsx3("div", { className: "fixed inset-0 z-[100] bg-black/80 backdrop-blur-md flex items-center justify-center p-6", children: /* @__PURE__ */ jsxs2("div", { className: "bg-[#0f0f0f] border border-emerald-900/50 rounded-2xl p-8 max-w-md w-full shadow-2xl", children: [ - /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between mb-6", children: [ - /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-3", children: [ - /* @__PURE__ */ jsx3("div", { className: "w-10 h-10 rounded-lg bg-emerald-500/20 flex items-center justify-center", children: /* @__PURE__ */ jsx3(VideoIcon, { size: 24, className: "text-emerald-500" }) }), - /* @__PURE__ */ jsxs2("div", { children: [ - /* @__PURE__ */ jsx3("h3", { className: "text-xl font-bold text-emerald-400", children: "Exporting Video" }), - /* @__PURE__ */ jsx3("p", { className: "text-sm text-emerald-700", children: "High Quality Render" }) - ] }) - ] }), - /* @__PURE__ */ jsx3(Loader2Icon, { size: 24, className: "text-emerald-500" }) - ] }), - /* @__PURE__ */ jsxs2("div", { className: "space-y-4", children: [ - /* @__PURE__ */ jsx3("div", { className: "h-4 bg-emerald-950 rounded-full overflow-hidden border border-emerald-900/30", children: /* @__PURE__ */ jsx3( - "div", - { - className: "h-full bg-gradient-to-r from-emerald-500 to-teal-500 transition-all duration-300", - style: { width: `${exportProgress}%` } - } - ) }), - /* @__PURE__ */ jsxs2("div", { className: "flex justify-between text-sm font-mono", children: [ - /* @__PURE__ */ jsx3("span", { className: "text-emerald-500", children: "Progress" }), - /* @__PURE__ */ jsxs2("span", { className: "text-emerald-400", children: [ - Math.round(exportProgress), - "%" - ] }) - ] }), - /* @__PURE__ */ jsxs2("div", { className: "pt-4 border-t border-emerald-900/20 grid grid-cols-2 gap-4", children: [ - /* @__PURE__ */ jsxs2("div", { className: "bg-emerald-950/20 p-3 rounded-xl border border-emerald-900/10 text-center", children: [ - /* @__PURE__ */ jsx3("div", { className: "text-xs text-emerald-700 uppercase mb-1", children: "Resolution" }), - /* @__PURE__ */ jsxs2("div", { className: "text-sm text-emerald-400", children: [ - width, - "x", - height - ] }) - ] }), - /* @__PURE__ */ jsxs2("div", { className: "bg-emerald-950/20 p-3 rounded-xl border border-emerald-900/10 text-center", children: [ - /* @__PURE__ */ jsx3("div", { className: "text-xs text-emerald-700 uppercase mb-1", children: "Frames" }), - /* @__PURE__ */ jsx3("div", { className: "text-sm text-emerald-400", children: durationInFrames }) - ] }) - ] }), - /* @__PURE__ */ jsx3("p", { className: "text-xs text-center text-emerald-800 italic pt-2", children: "Please keep this tab active for faster rendering." }) - ] }) - ] }) }), - /* @__PURE__ */ jsx3("div", { className: "flex justify-center mb-5", children: /* @__PURE__ */ jsx3( - Canvas, - { - canvasRef, - component, - width, - height, - frame, - fps, - durationInFrames, - playing, - playbackRate, - defaultProps - } - ) }), - controls && /* @__PURE__ */ jsxs2("div", { className: "space-y-4", children: [ - /* @__PURE__ */ jsx3( - Controls, - { - playing, - onPlayPause: handlePlayPause, - onRestart: handleRestart, - onStepBack: handleStepBack, - onStepForward: handleStepForward, - playbackRate, - onPlaybackRateChange: setPlaybackRate, - frame, - totalFrames: durationInFrames, - onExport: handleExport, - isExporting - } - ), - /* @__PURE__ */ jsx3( - Timeline, - { - durationInFrames, - frame, - onSeek: handleSeek, - fps - } - ) - ] }) - ] - } - ); -}; -var Player_default = Player; -export { - Player, - Player_default as default -}; diff --git a/packages/motionforge/dist/renderer/index.d.ts b/packages/motionforge/dist/renderer/index.d.ts deleted file mode 100644 index 13c9120..0000000 --- a/packages/motionforge/dist/renderer/index.d.ts +++ /dev/null @@ -1,348 +0,0 @@ -interface VideoConfig { - width: number; - height: number; - fps: number; - durationInFrames: number; -} -interface VideoRendererConfig { - quality: 'low' | 'medium' | 'high'; - format: 'mp4' | 'webm' | 'gif'; - codec?: 'h264' | 'h265' | 'vp8' | 'vp9'; - crf?: number; - pixelFormat?: string; - bitrate?: number; -} - -/** - * Cache Statistics - */ -interface CacheStats { - hits: number; - misses: number; - size: number; - entries: number; - hitRate: number; -} -/** - * LRU Cache with TTL support for frame caching - */ -declare class FrameCache { - private cache; - private maxSize; - private maxAge; - private stats; - constructor(options?: { - maxSize?: number; - maxAge?: number; - }); - /** - * Generate cache key for a frame - */ - static createKey(compositionId: string, frame: number, width: number, height: number): string; - /** - * Get a cached frame - */ - get(key: string): T | null; - /** - * Set a cached frame - */ - set(key: string, data: T, size?: number): void; - /** - * Check if key exists and is valid - */ - has(key: string): boolean; - /** - * Delete a cached frame - */ - delete(key: string): boolean; - /** - * Clear all cached frames - */ - clear(): void; - /** - * Get cache statistics - */ - getStats(): CacheStats; - /** - * Get current cache size in bytes - */ - getSize(): number; - /** - * Evict entries until we have enough space - */ - private evictIfNeeded; - /** - * Estimate size of data - */ - private estimateSize; -} -/** - * Singleton frame cache instance - */ -declare const frameCache: FrameCache; -/** - * Memoization cache for computed values - */ -declare class MemoCache { - private static instance; - private cache; - static getInstance(): MemoCache; - /** - * Get or compute a memoized value - */ - getOrCompute(key: string, compute: () => T, deps?: unknown[]): T; - /** - * Check if dependencies are equal - */ - private depsEqual; - /** - * Clear all memoized values - */ - clear(): void; -} -/** - * Debounced function cache - */ -declare function createDebouncedCache unknown>(fn: T, delay: number): T; -/** - * Throttled function cache - */ -declare function createThrottledCache unknown>(fn: T, limit: number): T; - -/** - * Render progress information - */ -interface RenderProgress { - frame: number; - totalFrames: number; - percentage: number; - elapsedMs: number; - estimatedRemainingMs: number; - framesPerSecond: number; -} -/** - * Render options - */ -interface ExportOptions { - compositionId: string; - config: VideoConfig; - rendererConfig?: Partial; - onProgress?: (progress: RenderProgress) => void; - onFrame?: (frameNumber: number, imageData: ImageData) => void; - signal?: AbortSignal; -} -/** - * Render result - */ -interface ExportResult { - success: boolean; - blob?: Blob; - url?: string; - frameCount: number; - duration: number; - error?: string; -} -/** - * Canvas renderer for frame capture - */ -declare class CanvasRenderer { - private canvas; - private ctx; - private config; - constructor(config: VideoConfig); - /** - * Capture a single frame from a DOM element - */ - captureFrame(element: HTMLElement): Promise; - private domToDataUrl; - private inlineStyles; - private loadImage; - /** - * Convert ImageData to Blob - */ - imageDataToBlob(imageData: ImageData, format?: string): Promise; - /** - * Convert ImageData to data URL - */ - imageDataToDataURL(imageData: ImageData, format?: string): string; - /** - * Get canvas element - */ - getCanvas(): HTMLCanvasElement; - /** - * Get context - */ - getContext(): CanvasRenderingContext2D; - /** - * Dispose renderer - */ - dispose(): void; -} -/** - * WebCodecs Video Encoder for high-performance encoding - */ -declare class WebCodecsEncoder { - private encoder; - private chunks; - private config; - private frameCount; - constructor(config: VideoConfig); - start(fps: number, bitrate?: number): Promise; - addFrame(canvas: HTMLCanvasElement): Promise; - stop(): Promise; -} -/** - * WebM Video Encoder using MediaRecorder - */ -declare class WebMEncoder { - private mediaRecorder; - private chunks; - private canvas; - private stream; - constructor(canvas: HTMLCanvasElement); - /** - * Start recording - */ - start(fps: number, bitrate?: number): Promise; - /** - * Stop recording and get result - */ - stop(): Promise; - /** - * Check if recording - */ - isRecording(): boolean; -} -/** - * Frame sequence encoder for GIF/WebP - */ -declare class FrameSequenceEncoder { - private frames; - private delays; - /** - * Add a frame - */ - addFrame(imageData: ImageData, delay: number): void; - /** - * Get all frames - */ - getFrames(): ImageData[]; - /** - * Clear frames - */ - clear(): void; - /** - * Get frame count - */ - getFrameCount(): number; -} -/** - * Video Export Manager - Main export functionality - */ -declare class VideoExportManager { - private renderer; - private encoder; - private isRendering; - private abortController; - /** - * Export video by driving frames manually (frame-by-frame) - * This is much more robust than real-time recording - */ - exportVideo(setFrame: (frame: number) => void, element: HTMLElement, options: Omit): Promise; - /** - * Export video from frames (LEGACY/REAL-TIME) - */ - exportFromCanvas(canvas: HTMLCanvasElement, options: Omit): Promise; - /** - * Export frame sequence as images - */ - exportFrames(frames: ImageData[], format?: 'png' | 'jpeg' | 'webp'): Promise; - /** - * Create downloadable zip of frames - */ - createFrameZip(frames: ImageData[], compositionId: string): Promise; - /** - * Abort current render - */ - abort(): void; - /** - * Check if currently rendering - */ - getIsRendering(): boolean; - /** - * Merge multiple abort signals - */ - private mergeSignals; -} -/** - * Calculate render progress - */ -declare function calculateProgress(frame: number, totalFrames: number, startTime: number): RenderProgress; -/** - * Estimate video file size - */ -declare function estimateFileSize(config: VideoConfig, bitrate?: number): number; -/** - * Check browser support for video encoding - */ -declare function checkEncodingSupport(): { - webm: boolean; - mp4: boolean; - codecs: string[]; -}; -declare const videoExportManager: VideoExportManager; - -interface RenderOptions { - compositionId: string; - config: VideoConfig; - outputDir: string; - onProgress?: (progress: number) => void; - onFrame?: (frame: number, imageData: string) => void; -} -interface RenderResult { - success: boolean; - outputUrl?: string; - frameCount: number; - duration: number; - error?: string; -} -declare const generateFrames: (component: React.ComponentType>, config: VideoConfig, options?: { - startFrame?: number; - endFrame?: number; - onProgress?: (frame: number, total: number) => void; -}) => Promise; -declare const renderVideo: (options: RenderOptions & VideoRendererConfig) => Promise; -declare const buildFFmpegCommand: (inputPattern: string, outputPath: string, config: VideoConfig, rendererConfig: VideoRendererConfig) => string[]; -declare const frameToDataURL: (canvas: HTMLCanvasElement) => string; -declare const calculateVideoSize: (width: number, height: number, fps: number, durationInSeconds: number, bitrate?: number) => number; -declare const estimateRenderTime: (durationInFrames: number, complexity?: "low" | "medium" | "high") => number; -declare const validateRenderConfig: (config: VideoConfig) => string[]; -declare class RenderJobManager { - private jobs; - createJob(id: string, config: VideoConfig): void; - startJob(id: string): void; - updateProgress(id: string, progress: number): void; - completeJob(id: string, outputUrl: string): void; - failJob(id: string, error: string): void; - getJob(id: string): RenderJobState | undefined; - getActiveJobs(): RenderJobState[]; -} -interface RenderJobState { - id: string; - config: VideoConfig; - status: 'pending' | 'processing' | 'completed' | 'failed'; - progress: number; - startTime: number | null; - endTime: number | null; - outputUrl?: string; - error?: string; -} -declare const renderJobManager: RenderJobManager; -declare function renderCompositionToVideo(setFrame: (frame: number) => void, element: HTMLElement, config: VideoConfig, options?: { - onProgress?: (progress: number) => void; - onComplete?: (blob: Blob) => void; -}): Promise; -declare function downloadVideo(blob: Blob, filename?: string): void; -declare function downloadFrame(imageData: ImageData, filename?: string): void; - -export { type CacheStats, CanvasRenderer, type ExportOptions, type ExportResult, FrameCache, FrameSequenceEncoder, MemoCache, RenderJobManager, type RenderOptions, type RenderProgress, type RenderResult, type VideoConfig, VideoExportManager, type VideoRendererConfig, WebCodecsEncoder, WebMEncoder, buildFFmpegCommand, calculateProgress, calculateVideoSize, checkEncodingSupport, createDebouncedCache, createThrottledCache, downloadFrame, downloadVideo, estimateFileSize, estimateRenderTime, frameCache, frameToDataURL, generateFrames, renderCompositionToVideo, renderJobManager, renderVideo, validateRenderConfig, videoExportManager }; diff --git a/packages/motionforge/dist/renderer/index.js b/packages/motionforge/dist/renderer/index.js deleted file mode 100644 index 2b2fe52..0000000 --- a/packages/motionforge/dist/renderer/index.js +++ /dev/null @@ -1,436 +0,0 @@ -import { - CanvasRenderer, - FrameSequenceEncoder, - VideoExportManager, - WebCodecsEncoder, - WebMEncoder, - calculateProgress, - checkEncodingSupport, - estimateFileSize, - videoExportManager -} from "../chunk-HPDG2U2L.js"; - -// src/renderer/cache.ts -var FrameCache = class { - constructor(options = {}) { - this.cache = /* @__PURE__ */ new Map(); - this.stats = { hits: 0, misses: 0 }; - this.maxSize = options.maxSize ?? 100 * 1024 * 1024; - this.maxAge = options.maxAge ?? 5 * 60 * 1e3; - } - /** - * Generate cache key for a frame - */ - static createKey(compositionId, frame, width, height) { - return `${compositionId}:${frame}:${width}x${height}`; - } - /** - * Get a cached frame - */ - get(key) { - const entry = this.cache.get(key); - if (!entry) { - this.stats.misses++; - return null; - } - if (Date.now() - entry.timestamp > this.maxAge) { - this.cache.delete(key); - this.stats.misses++; - return null; - } - entry.accessCount++; - this.cache.delete(key); - this.cache.set(key, entry); - this.stats.hits++; - return entry.data; - } - /** - * Set a cached frame - */ - set(key, data, size) { - const entrySize = size ?? this.estimateSize(data); - this.evictIfNeeded(entrySize); - this.cache.set(key, { - data, - timestamp: Date.now(), - accessCount: 1, - size: entrySize - }); - } - /** - * Check if key exists and is valid - */ - has(key) { - const entry = this.cache.get(key); - if (!entry) return false; - if (Date.now() - entry.timestamp > this.maxAge) { - this.cache.delete(key); - return false; - } - return true; - } - /** - * Delete a cached frame - */ - delete(key) { - return this.cache.delete(key); - } - /** - * Clear all cached frames - */ - clear() { - this.cache.clear(); - this.stats = { hits: 0, misses: 0 }; - } - /** - * Get cache statistics - */ - getStats() { - let totalSize = 0; - for (const entry of this.cache.values()) { - totalSize += entry.size; - } - const totalRequests = this.stats.hits + this.stats.misses; - return { - hits: this.stats.hits, - misses: this.stats.misses, - size: totalSize, - entries: this.cache.size, - hitRate: totalRequests > 0 ? this.stats.hits / totalRequests : 0 - }; - } - /** - * Get current cache size in bytes - */ - getSize() { - let size = 0; - for (const entry of this.cache.values()) { - size += entry.size; - } - return size; - } - /** - * Evict entries until we have enough space - */ - evictIfNeeded(neededSize) { - while (this.getSize() + neededSize > this.maxSize && this.cache.size > 0) { - const firstKey = this.cache.keys().next().value; - if (firstKey) { - this.cache.delete(firstKey); - } else { - break; - } - } - } - /** - * Estimate size of data - */ - estimateSize(data) { - if (data instanceof ImageData) { - return data.data.length; - } - if (typeof data === "string") { - return data.length * 2; - } - if (data instanceof ArrayBuffer) { - return data.byteLength; - } - return 1024; - } -}; -var frameCache = new FrameCache({ - maxSize: 200 * 1024 * 1024, - // 200MB - maxAge: 10 * 60 * 1e3 - // 10 minutes -}); -var MemoCache = class _MemoCache { - constructor() { - this.cache = /* @__PURE__ */ new Map(); - } - static getInstance() { - if (!_MemoCache.instance) { - _MemoCache.instance = new _MemoCache(); - } - return _MemoCache.instance; - } - /** - * Get or compute a memoized value - */ - getOrCompute(key, compute, deps = []) { - const cached = this.cache.get(key); - if (cached && this.depsEqual(cached.deps, deps)) { - return cached.value; - } - const value = compute(); - this.cache.set(key, { value, deps }); - return value; - } - /** - * Check if dependencies are equal - */ - depsEqual(a, b) { - if (a.length !== b.length) return false; - return a.every((val, i) => Object.is(val, b[i])); - } - /** - * Clear all memoized values - */ - clear() { - this.cache.clear(); - } -}; -function createDebouncedCache(fn, delay) { - let timeoutId = null; - let lastArgs = []; - return ((...args) => { - lastArgs = args; - if (timeoutId) { - clearTimeout(timeoutId); - } - timeoutId = setTimeout(() => { - fn(...lastArgs); - timeoutId = null; - }, delay); - }); -} -function createThrottledCache(fn, limit) { - let inThrottle = false; - return ((...args) => { - if (!inThrottle) { - fn(...args); - inThrottle = true; - setTimeout(() => { - inThrottle = false; - }, limit); - } - }); -} - -// src/renderer/index.ts -var generateFrames = async (component, config, options) => { - const frames = []; - const startFrame = options?.startFrame ?? 0; - const endFrame = options?.endFrame ?? config.durationInFrames; - for (let frame = startFrame; frame < endFrame; frame++) { - if (options?.onProgress) { - options.onProgress(frame - startFrame, endFrame - startFrame); - } - frames.push(`frame-${frame}`); - } - return frames; -}; -var renderVideo = async (options) => { - const startTime = Date.now(); - try { - const frames = await generateFrames( - () => null, - options.config, - { - onProgress: (frame, total) => { - if (options.onProgress) { - options.onProgress(frame / total); - } - } - } - ); - const duration = Date.now() - startTime; - return { - success: true, - frameCount: frames.length, - duration, - outputUrl: `${options.outputDir}/output.mp4` - }; - } catch (error) { - return { - success: false, - frameCount: 0, - duration: Date.now() - startTime, - error: error instanceof Error ? error.message : "Unknown error" - }; - } -}; -var buildFFmpegCommand = (inputPattern, outputPath, config, rendererConfig) => { - const args = []; - args.push("-framerate", config.fps.toString()); - args.push("-i", inputPattern); - switch (rendererConfig.format) { - case "mp4": - args.push("-c:v", rendererConfig.codec === "h265" ? "libx265" : "libx264"); - if (rendererConfig.crf) { - args.push("-crf", rendererConfig.crf.toString()); - } - args.push("-pix_fmt", rendererConfig.pixelFormat ?? "yuv420p"); - break; - case "webm": - args.push("-c:v", rendererConfig.codec === "vp9" ? "libvpx-vp9" : "libvpx"); - args.push("-crf", (rendererConfig.crf ?? 30).toString()); - args.push("-b:v", "0"); - break; - case "gif": - args.push("-filter_complex", `[0:v] fps=${Math.min(config.fps, 15)},split [a][b];[a] palettegen [p];[b][p] paletteuse`); - break; - } - switch (rendererConfig.quality) { - case "low": - args.push("-preset", "ultrafast"); - break; - case "medium": - args.push("-preset", "medium"); - break; - case "high": - args.push("-preset", "slow"); - break; - } - args.push("-y", outputPath); - return args; -}; -var frameToDataURL = (canvas) => { - return canvas.toDataURL("image/png"); -}; -var calculateVideoSize = (width, height, fps, durationInSeconds, bitrate = 5e6) => { - return Math.ceil(bitrate * durationInSeconds / 8); -}; -var estimateRenderTime = (durationInFrames, complexity = "medium") => { - const baseTimePerFrame = { - low: 10, - medium: 50, - high: 200 - }; - return durationInFrames * baseTimePerFrame[complexity]; -}; -var validateRenderConfig = (config) => { - const errors = []; - if (config.width < 1 || config.width > 8192) { - errors.push("Width must be between 1 and 8192 pixels"); - } - if (config.height < 1 || config.height > 8192) { - errors.push("Height must be between 1 and 8192 pixels"); - } - if (config.fps < 1 || config.fps > 120) { - errors.push("FPS must be between 1 and 120"); - } - if (config.durationInFrames < 1) { - errors.push("Duration must be at least 1 frame"); - } - return errors; -}; -var RenderJobManager = class { - constructor() { - this.jobs = /* @__PURE__ */ new Map(); - } - createJob(id, config) { - this.jobs.set(id, { - id, - config, - status: "pending", - progress: 0, - startTime: null, - endTime: null - }); - } - startJob(id) { - const job = this.jobs.get(id); - if (job) { - job.status = "processing"; - job.startTime = Date.now(); - } - } - updateProgress(id, progress) { - const job = this.jobs.get(id); - if (job) { - job.progress = progress; - } - } - completeJob(id, outputUrl) { - const job = this.jobs.get(id); - if (job) { - job.status = "completed"; - job.progress = 100; - job.endTime = Date.now(); - job.outputUrl = outputUrl; - } - } - failJob(id, error) { - const job = this.jobs.get(id); - if (job) { - job.status = "failed"; - job.error = error; - job.endTime = Date.now(); - } - } - getJob(id) { - return this.jobs.get(id); - } - getActiveJobs() { - return Array.from(this.jobs.values()).filter( - (job) => job.status === "processing" - ); - } -}; -var renderJobManager = new RenderJobManager(); -async function renderCompositionToVideo(setFrame, element, config, options) { - const { VideoExportManager: VideoExportManager2 } = await import("../export-XU23RXHF.js"); - const manager = new VideoExportManager2(); - const result = await manager.exportVideo(setFrame, element, { - config, - onProgress: options?.onProgress ? (p) => options.onProgress(p.percentage) : void 0 - }); - if (result.success && result.blob) { - options?.onComplete?.(result.blob); - return result.blob; - } - return null; -} -function downloadVideo(blob, filename = "video.webm") { - const url = URL.createObjectURL(blob); - const a = document.createElement("a"); - a.href = url; - a.download = filename; - document.body.appendChild(a); - a.click(); - document.body.removeChild(a); - URL.revokeObjectURL(url); -} -function downloadFrame(imageData, filename = "frame.png") { - const canvas = document.createElement("canvas"); - canvas.width = imageData.width; - canvas.height = imageData.height; - const ctx = canvas.getContext("2d"); - if (ctx) { - ctx.putImageData(imageData, 0, 0); - canvas.toBlob((blob) => { - if (blob) { - downloadVideo(blob, filename); - } - }, "image/png"); - } -} -export { - CanvasRenderer, - FrameCache, - FrameSequenceEncoder, - MemoCache, - RenderJobManager, - VideoExportManager, - WebCodecsEncoder, - WebMEncoder, - buildFFmpegCommand, - calculateProgress, - calculateVideoSize, - checkEncodingSupport, - createDebouncedCache, - createThrottledCache, - downloadFrame, - downloadVideo, - estimateFileSize, - estimateRenderTime, - frameCache, - frameToDataURL, - generateFrames, - renderCompositionToVideo, - renderJobManager, - renderVideo, - validateRenderConfig, - videoExportManager -};