mtxuilib 0.1.428 → 0.1.430
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons/IconSpinner.d.ts +1 -0
- package/dist/icons/IconSpinner.js +3 -0
- package/dist/icons/Telegram.d.ts +1 -0
- package/dist/icons/Telegram.js +5 -0
- package/dist/icons/github.js +1 -1
- package/dist/lib/logger.d.ts +14 -0
- package/dist/lib/logger.js +80 -0
- package/dist/ui/mt/IconButton.d.ts +2 -0
- package/dist/ui/mt/IconButton.js +4 -0
- package/dist/ui/mt/spinner/Spinner1.js +1 -1
- package/package.json +28 -43
- package/dist/icons/Image.d.ts +0 -3
- package/dist/icons/Image.js +0 -8
- package/dist/icons/MessageCircle.d.ts +0 -3
- package/dist/icons/MessageCircle.js +0 -6
- package/dist/icons/MixerHorizontal.d.ts +0 -1
- package/dist/icons/MixerHorizontal.js +0 -1
- package/dist/icons/attachment.d.ts +0 -3
- package/dist/icons/attachment.js +0 -12
- package/dist/icons/copy.d.ts +0 -3
- package/dist/icons/copy.js +0 -12
- package/dist/icons/messageBubble.d.ts +0 -3
- package/dist/icons/messageBubble.js +0 -6
- package/dist/icons/microphone.d.ts +0 -3
- package/dist/icons/microphone.js +0 -12
- package/dist/icons/minimize.d.ts +0 -3
- package/dist/icons/minimize.js +0 -12
- package/dist/icons/pencil.d.ts +0 -3
- package/dist/icons/pencil.js +0 -6
- package/dist/icons/thumbs.d.ts +0 -5
- package/dist/icons/thumbs.js +0 -14
- package/dist/icons/user.d.ts +0 -3
- package/dist/icons/user.js +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const spinner: import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export const spinner = (_jsx("svg", { fill: "none", stroke: "currentColor", strokeWidth: "1.5", viewBox: "0 0 24 24", strokeLinecap: "round", strokeLinejoin: "round", xmlns: "http://www.w3.org/2000/svg", className: "size-5 animate-spin stroke-zinc-400", children: _jsx("path", { d: "M12 3v3m6.366-.366-2.12 2.12M21 12h-3m.366 6.366-2.12-2.12M12 21v-3m-6.366.366 2.12-2.12M3 12h3m-.366-6.366 2.12 2.12" }) }));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function IconTelgram({ className, ...props }: React.ComponentProps<"svg">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export function IconTelgram({ className, ...props }) {
|
|
4
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", className: className, children: _jsx("path", { d: "M9.78 18.65l.28-4.23l7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3L3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z", fill: "currentColor" }) }));
|
|
5
|
+
}
|
package/dist/icons/github.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
export default function Github({ className }) {
|
|
3
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "
|
|
3
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", viewBox: "0 0 24 24", className: className, children: _jsx("path", { d: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }) }));
|
|
4
4
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type DebugLevel = "trace" | "debug" | "info" | "warn" | "error";
|
|
2
|
+
type LoggerFunction = (...messages: any[]) => void;
|
|
3
|
+
interface Logger {
|
|
4
|
+
trace: LoggerFunction;
|
|
5
|
+
debug: LoggerFunction;
|
|
6
|
+
info: LoggerFunction;
|
|
7
|
+
warn: LoggerFunction;
|
|
8
|
+
error: LoggerFunction;
|
|
9
|
+
setLevel: (level: DebugLevel) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const logger: Logger;
|
|
12
|
+
export declare function createScopedLogger(scope: string): Logger;
|
|
13
|
+
export declare const renderLogger: Logger;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
let currentLevel = "info";
|
|
3
|
+
const isWorker = "HTMLRewriter" in globalThis;
|
|
4
|
+
const supportsColor = !isWorker;
|
|
5
|
+
export const logger = {
|
|
6
|
+
trace: (...messages) => log("trace", undefined, messages),
|
|
7
|
+
debug: (...messages) => log("debug", undefined, messages),
|
|
8
|
+
info: (...messages) => log("info", undefined, messages),
|
|
9
|
+
warn: (...messages) => log("warn", undefined, messages),
|
|
10
|
+
error: (...messages) => log("error", undefined, messages),
|
|
11
|
+
setLevel,
|
|
12
|
+
};
|
|
13
|
+
export function createScopedLogger(scope) {
|
|
14
|
+
return {
|
|
15
|
+
trace: (...messages) => log("trace", scope, messages),
|
|
16
|
+
debug: (...messages) => log("debug", scope, messages),
|
|
17
|
+
info: (...messages) => log("info", scope, messages),
|
|
18
|
+
warn: (...messages) => log("warn", scope, messages),
|
|
19
|
+
error: (...messages) => log("error", scope, messages),
|
|
20
|
+
setLevel,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function setLevel(level) {
|
|
24
|
+
if ((level === "trace" || level === "debug") && import.meta.env.PROD) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
currentLevel = level;
|
|
28
|
+
}
|
|
29
|
+
function log(level, scope, messages) {
|
|
30
|
+
const levelOrder = ["trace", "debug", "info", "warn", "error"];
|
|
31
|
+
if (levelOrder.indexOf(level) < levelOrder.indexOf(currentLevel)) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const allMessages = messages.reduce((acc, current) => {
|
|
35
|
+
if (acc.endsWith("\n")) {
|
|
36
|
+
return acc + current;
|
|
37
|
+
}
|
|
38
|
+
if (!acc) {
|
|
39
|
+
return current;
|
|
40
|
+
}
|
|
41
|
+
return `${acc} ${current}`;
|
|
42
|
+
}, "");
|
|
43
|
+
if (!supportsColor) {
|
|
44
|
+
console.log(`[${level.toUpperCase()}]`, allMessages);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const labelBackgroundColor = getColorForLevel(level);
|
|
48
|
+
const labelTextColor = level === "warn" ? "black" : "white";
|
|
49
|
+
const labelStyles = getLabelStyles(labelBackgroundColor, labelTextColor);
|
|
50
|
+
const scopeStyles = getLabelStyles("#77828D", "white");
|
|
51
|
+
const styles = [labelStyles];
|
|
52
|
+
if (typeof scope === "string") {
|
|
53
|
+
styles.push("", scopeStyles);
|
|
54
|
+
}
|
|
55
|
+
console.log(`%c${level.toUpperCase()}${scope ? `%c %c${scope}` : ""}`, ...styles, allMessages);
|
|
56
|
+
}
|
|
57
|
+
function getLabelStyles(color, textColor) {
|
|
58
|
+
return `background-color: ${color}; color: white; border: 4px solid ${color}; color: ${textColor};`;
|
|
59
|
+
}
|
|
60
|
+
function getColorForLevel(level) {
|
|
61
|
+
switch (level) {
|
|
62
|
+
case "trace":
|
|
63
|
+
case "debug": {
|
|
64
|
+
return "#77828D";
|
|
65
|
+
}
|
|
66
|
+
case "info": {
|
|
67
|
+
return "#1389FD";
|
|
68
|
+
}
|
|
69
|
+
case "warn": {
|
|
70
|
+
return "#FFDB6C";
|
|
71
|
+
}
|
|
72
|
+
case "error": {
|
|
73
|
+
return "#EE4744";
|
|
74
|
+
}
|
|
75
|
+
default: {
|
|
76
|
+
return "black";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export const renderLogger = createScopedLogger("Render");
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
+
import { type PropsWithChildren } from "react";
|
|
2
3
|
type IconSize = "sm" | "md" | "lg" | "xl" | "xxl";
|
|
3
4
|
interface BaseIconButtonProps {
|
|
4
5
|
size?: IconSize;
|
|
@@ -19,4 +20,5 @@ type IconButtonWithChildrenProps = {
|
|
|
19
20
|
} & BaseIconButtonProps;
|
|
20
21
|
type IconButtonProps = IconButtonWithoutChildrenProps | IconButtonWithChildrenProps;
|
|
21
22
|
export declare const IconButton: React.MemoExoticComponent<({ icon, size, className, iconClassName, disabledClassName, disabled, title, onClick, children, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
|
+
export declare const MtIconButton: React.MemoExoticComponent<({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element>;
|
|
22
24
|
export {};
|
package/dist/ui/mt/IconButton.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { classNames } from "mtxuilib/lib/utils";
|
|
4
4
|
import { memo } from "react";
|
|
5
|
+
import { Button } from "../button";
|
|
5
6
|
export const IconButton = memo(({ icon, size = "xl", className, iconClassName, disabledClassName, disabled = false, title, onClick, children, }) => {
|
|
6
7
|
return (_jsx("button", { type: "button", className: classNames("flex items-center text-bolt-elements-item-contentDefault bg-transparent enabled:hover:text-bolt-elements-item-contentActive rounded-md p-1 enabled:hover:bg-bolt-elements-item-backgroundActive disabled:cursor-not-allowed", {
|
|
7
8
|
[classNames("opacity-30", disabledClassName)]: disabled,
|
|
@@ -27,3 +28,6 @@ function getIconSize(size) {
|
|
|
27
28
|
}
|
|
28
29
|
return "text-2xl";
|
|
29
30
|
}
|
|
31
|
+
export const MtIconButton = memo(({ children }) => {
|
|
32
|
+
return _jsx(Button, { children: children });
|
|
33
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
export const Spinner = () => {
|
|
4
|
-
return (_jsx("div", { className: "grid min-h-[140px] w-full place-items-center overflow-x-scroll rounded-lg p-6 lg:overflow-visible", children: _jsxs("svg", { className: "w-16 h-16 animate-spin text-gray-900/50", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", children: [_jsx("path", { d: "M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z", stroke: "currentColor", "stroke-width": "5",
|
|
4
|
+
return (_jsx("div", { className: "grid min-h-[140px] w-full place-items-center overflow-x-scroll rounded-lg p-6 lg:overflow-visible", children: _jsxs("svg", { className: "w-16 h-16 animate-spin text-gray-900/50", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", children: [_jsx("path", { d: "M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z", stroke: "currentColor", "stroke-width": "5", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762", stroke: "currentColor", "stroke-width": "5", "stroke-linecap": "round", "stroke-linejoin": "round", className: "text-gray-900" })] }) }));
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mtxuilib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.430",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -119,10 +119,6 @@
|
|
|
119
119
|
"@tanstack/react-query": "^5.51.23",
|
|
120
120
|
"@tanstack/react-query-devtools": "^5.51.23",
|
|
121
121
|
"@tanstack/react-query-next-experimental": "^5.51.23",
|
|
122
|
-
"@upstash/ratelimit": "^1.2.1",
|
|
123
|
-
"@vercel/analytics": "^1.3.1",
|
|
124
|
-
"@vercel/kv": "^2.0.0",
|
|
125
|
-
"@vercel/og": "^0.6.2",
|
|
126
122
|
"ai": "^3.4.9",
|
|
127
123
|
"class-variance-authority": "^0.7.0",
|
|
128
124
|
"clsx": "^2.1.1",
|
|
@@ -144,7 +140,6 @@
|
|
|
144
140
|
"lucide-react": "^0.381.0",
|
|
145
141
|
"markdown-it": "^14.1.0",
|
|
146
142
|
"markdown-wasm": "^1.2.0",
|
|
147
|
-
"mjml-react": "^2.0.8",
|
|
148
143
|
"nanoid": "^5.0.7",
|
|
149
144
|
"next": "^15.0.0-rc.0",
|
|
150
145
|
"next-contentlayer": "0.3.4",
|
|
@@ -177,82 +172,72 @@
|
|
|
177
172
|
"sonner": "^1.5.0",
|
|
178
173
|
"superjson": "^2.2.1",
|
|
179
174
|
"tippy.js": "^6.3.7",
|
|
180
|
-
"tiptap-extension-auto-joiner": "^0.1.3",
|
|
181
|
-
"tiptap-extension-global-drag-handle": "^0.1.10",
|
|
182
|
-
"tiptap-markdown": "^0.8.10",
|
|
183
|
-
"ts-morph": "^22.0.0",
|
|
184
175
|
"use-debounce": "^10.0.2",
|
|
185
176
|
"use-resize-observer": "^9.1.0",
|
|
186
177
|
"usehooks-ts": "^3.1.0",
|
|
187
178
|
"vaul": "^0.9.1",
|
|
188
|
-
"video.js": "^8.17.3",
|
|
189
179
|
"zod": "^3.23.8"
|
|
190
180
|
},
|
|
191
181
|
"devDependencies": {
|
|
192
|
-
"@
|
|
182
|
+
"@vercel/kv": "^2.0.0",
|
|
193
183
|
"@types/jquery": "^3.5.30",
|
|
194
|
-
"@changesets/cli": "^2.27.7",
|
|
195
184
|
"@changesets/get-github-info": "^0.6.0",
|
|
196
185
|
"@cloudflare/kv-asset-handler": "^0.3.4",
|
|
197
186
|
"@cloudflare/workers-types": "^4.20240806.0",
|
|
198
187
|
"@edge-runtime/ponyfill": "^2.4.2",
|
|
199
188
|
"@jest/globals": "^29.7.0",
|
|
200
189
|
"@jest/types": "^29.6.3",
|
|
201
|
-
"@netlify/plugin-nextjs": "^4.41.3",
|
|
202
|
-
"@playwright/test": "^1.46.0",
|
|
203
190
|
"@shikijs/compat": "^1.12.1",
|
|
204
191
|
"@tailwindcss/forms": "^0.5.7",
|
|
205
192
|
"@tailwindcss/typography": "^0.5.14",
|
|
206
193
|
"@tanstack/react-table": "^8.20.1",
|
|
207
|
-
"@testing-library/dom": "^10.4.0",
|
|
208
|
-
"@testing-library/jest-dom": "^6.4.8",
|
|
209
|
-
"@testing-library/react": "^14.3.1",
|
|
210
|
-
"@testing-library/user-event": "^14.5.2",
|
|
211
|
-
"@types/aws-lambda": "^8.10.143",
|
|
212
194
|
"@types/jest": "^29.5.12",
|
|
213
195
|
"@types/lodash": "^4.17.7",
|
|
214
196
|
"@types/markdown-it": "^14.1.2",
|
|
215
197
|
"@types/node": "^20.14.15",
|
|
216
198
|
"@types/nprogress": "^0.2.3",
|
|
217
|
-
"@types/prismjs": "^1.26.4",
|
|
218
199
|
"@types/react": "^18.3.3",
|
|
219
200
|
"@types/react-dom": "^18.3.0",
|
|
220
201
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
221
|
-
"@types/serve-static": "^1.15.7",
|
|
222
|
-
"@types/video.js": "^7.3.58",
|
|
223
|
-
"@types/webpack-env": "^1.18.5",
|
|
224
202
|
"autoprefixer": "^10.4.20",
|
|
225
203
|
"css-loader": "^6.11.0",
|
|
226
|
-
"eslint-config-next": "^15.0.0-rc.0",
|
|
227
|
-
"eslint-config-prettier": "latest",
|
|
228
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
229
|
-
"eslint-plugin-import": "^2.29.1",
|
|
230
|
-
"eslint-plugin-jest": "latest",
|
|
231
|
-
"eslint-plugin-next-on-pages": "latest",
|
|
232
|
-
"eslint-plugin-react": "^7.35.0",
|
|
233
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
234
|
-
"eslint-plugin-react-refresh": "^0.4.9",
|
|
235
|
-
"eslint-plugin-tailwindcss": "latest",
|
|
236
|
-
"eslint-plugin-testing-library": "latest",
|
|
237
|
-
"eslint-plugin-unused-imports": "latest",
|
|
238
|
-
"extract-files": "^13.0.0",
|
|
239
|
-
"playwright": "^1.46.0",
|
|
240
204
|
"postcss": "^8.4.41",
|
|
241
205
|
"postcss-loader": "^6.2.1",
|
|
242
206
|
"postcss-preset-env": "^9.6.0",
|
|
243
|
-
"puppeteer": "^22.15.0",
|
|
244
|
-
"react-refresh": "^0.14.2",
|
|
245
|
-
"react-test-renderer": "^18.3.1",
|
|
246
|
-
"rimraf": "^5.0.10",
|
|
247
207
|
"shiki": "^1.12.1",
|
|
248
208
|
"sirv": "^2.0.4",
|
|
249
|
-
"style-loader": "^3.3.4",
|
|
250
209
|
"tailwind-merge": "^2.5.2",
|
|
251
210
|
"tailwindcss": "^3.4.9",
|
|
252
211
|
"tailwindcss-animate": "^1.0.7",
|
|
253
212
|
"typescript": "^5.5.4"
|
|
254
213
|
},
|
|
255
214
|
"other": {
|
|
215
|
+
"ts-morph": "^22.0.0",
|
|
216
|
+
"mjml-react": "^2.0.8",
|
|
217
|
+
"@changesets/cli": "^2.27.7",
|
|
218
|
+
"style-loader": "^3.3.4",
|
|
219
|
+
"tiptap-extension-auto-joiner": "^0.1.3",
|
|
220
|
+
"tiptap-extension-global-drag-handle": "^0.1.10",
|
|
221
|
+
"tiptap-markdown": "^0.8.10",
|
|
222
|
+
"@vercel/analytics": "^1.3.1",
|
|
223
|
+
"@vercel/og": "^0.6.2",
|
|
224
|
+
"react-refresh": "^0.14.2",
|
|
225
|
+
"react-test-renderer": "^18.3.1",
|
|
226
|
+
"@types/aws-lambda": "^8.10.143",
|
|
227
|
+
"@types/prismjs": "^1.26.4",
|
|
228
|
+
"@types/webpack-env": "^1.18.5",
|
|
229
|
+
"puppeteer": "^22.15.0",
|
|
230
|
+
"playwright": "^1.46.0",
|
|
231
|
+
"@playwright/test": "^1.46.0",
|
|
232
|
+
"@netlify/plugin-nextjs": "^4.41.3",
|
|
233
|
+
"@pandacss/dev": "^0.44.0",
|
|
234
|
+
"@upstash/ratelimit": "^1.2.1",
|
|
235
|
+
"@testing-library/dom": "^10.4.0",
|
|
236
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
237
|
+
"@testing-library/react": "^14.3.1",
|
|
238
|
+
"@testing-library/user-event": "^14.5.2",
|
|
239
|
+
"@types/video.js": "^7.3.58",
|
|
240
|
+
"video.js": "^8.17.3",
|
|
256
241
|
"sass": "^1.77.8",
|
|
257
242
|
"sass-loader": "^13.3.3",
|
|
258
243
|
"jest": "^29.7.0",
|
package/dist/icons/Image.d.ts
DELETED
package/dist/icons/Image.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const ImageIcon = (props) => {
|
|
4
|
-
return (_jsxs(SvgIcon, { ...props, style: {
|
|
5
|
-
fill: 'currentColor'
|
|
6
|
-
}, viewBox: "0 0 24 24", children: [_jsx("path", { d: "M12.588 11.646a1.5 1.5 0 1 1-2.97.418 1.5 1.5 0 0 1 2.97-.418Z" }), _jsx("path", { fillRule: "evenodd", d: "M11.297 1.03c-1.732-.232-3.403.918-3.66 2.674L7.04 7.759l-3.33.468a3.148 3.148 0 0 0-2.68 3.555l1.197 8.508a3.148 3.148 0 0 0 3.555 2.68l8.508-1.197a3.148 3.148 0 0 0 2.68-3.555l-.2-1.42 1.285.172c1.732.233 3.403-.918 3.661-2.674l1.251-8.508c.26-1.766-1.03-3.329-2.769-3.562L11.297 1.03Zm5.183 13.71 1.842.248c.727.097 1.328-.389 1.415-.983l1.252-8.508c.085-.582-.338-1.192-1.057-1.289l-8.901-1.196c-.727-.097-1.329.389-1.416.983l-.51 3.474 3.113-.438a3.148 3.148 0 0 1 3.555 2.68l.707 5.03Zm-2.687-4.752a1.148 1.148 0 0 0-1.297-.977l-8.508 1.196a1.148 1.148 0 0 0-.977 1.297l.619 4.4 1.068-1.063a3.148 3.148 0 0 1 4.115-.283l6.08 4.582c.09-.195.128-.416.096-.644l-1.196-8.508Zm-1.109 9.991L7.61 16.155a1.148 1.148 0 0 0-1.5.103L3.978 18.38l.23 1.632a1.148 1.148 0 0 0 1.296.977l7.18-1.01Z", clipRule: "evenodd" })] }));
|
|
7
|
-
};
|
|
8
|
-
export default ImageIcon;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const MessageCircleIcon = (props) => {
|
|
4
|
-
return (_jsx(SvgIcon, { children: _jsx("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z" }) }) }));
|
|
5
|
-
};
|
|
6
|
-
export default MessageCircleIcon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MixerHorizontalIcon } from "@radix-ui/react-icons";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MixerHorizontalIcon } from "@radix-ui/react-icons";
|
package/dist/icons/attachment.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const AttachmentIcon = (props) => {
|
|
4
|
-
return (_jsx(SvgIcon, { ...props, style: {
|
|
5
|
-
strokeLinecap: 'round',
|
|
6
|
-
strokeLinejoin: 'round',
|
|
7
|
-
strokeWidth: 2,
|
|
8
|
-
fill: 'none',
|
|
9
|
-
stroke: 'currentColor'
|
|
10
|
-
}, viewBox: "0 0 24 24", children: _jsx("path", { d: "m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48" }) }));
|
|
11
|
-
};
|
|
12
|
-
export default AttachmentIcon;
|
package/dist/icons/copy.d.ts
DELETED
package/dist/icons/copy.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const CopyIcon = (props) => {
|
|
4
|
-
return (_jsxs(SvgIcon, { ...props, style: {
|
|
5
|
-
strokeLinecap: 'round',
|
|
6
|
-
strokeLinejoin: 'round',
|
|
7
|
-
strokeWidth: 2,
|
|
8
|
-
fill: 'none',
|
|
9
|
-
stroke: 'currentColor'
|
|
10
|
-
}, viewBox: "0 0 24 24", children: [_jsx("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }), _jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })] }));
|
|
11
|
-
};
|
|
12
|
-
export default CopyIcon;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const MessageBubbleIcon = (props) => {
|
|
4
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z" }), ' '] }) }));
|
|
5
|
-
};
|
|
6
|
-
export default MessageBubbleIcon;
|
package/dist/icons/microphone.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const MicrophoneIcon = (props) => {
|
|
4
|
-
return (_jsxs(SvgIcon, { ...props, style: {
|
|
5
|
-
strokeLinecap: 'round',
|
|
6
|
-
strokeLinejoin: 'round',
|
|
7
|
-
strokeWidth: 2,
|
|
8
|
-
fill: 'none',
|
|
9
|
-
stroke: 'currentColor'
|
|
10
|
-
}, viewBox: "0 0 24 24", children: [_jsx("path", { d: "M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z" }), _jsx("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }), _jsx("line", { x1: "12", x2: "12", y1: "19", y2: "22" }), ' '] }));
|
|
11
|
-
};
|
|
12
|
-
export default MicrophoneIcon;
|
package/dist/icons/minimize.d.ts
DELETED
package/dist/icons/minimize.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const MinimizeIcon = (props) => {
|
|
4
|
-
return (_jsxs(SvgIcon, { ...props, style: {
|
|
5
|
-
strokeLinecap: 'round',
|
|
6
|
-
strokeLinejoin: 'round',
|
|
7
|
-
strokeWidth: 2,
|
|
8
|
-
fill: 'none',
|
|
9
|
-
stroke: 'currentColor'
|
|
10
|
-
}, viewBox: "0 0 24 24", children: [_jsx("polyline", { points: "4 14 10 14 10 20" }), _jsx("polyline", { points: "20 10 14 10 14 4" }), _jsx("line", { x1: "14", x2: "21", y1: "10", y2: "3" }), _jsx("line", { x1: "3", x2: "10", y1: "21", y2: "14" })] }));
|
|
11
|
-
};
|
|
12
|
-
export default MinimizeIcon;
|
package/dist/icons/pencil.d.ts
DELETED
package/dist/icons/pencil.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const PencilIcon = (props) => {
|
|
4
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }), _jsx("path", { d: "m15 5 4 4" })] }) }));
|
|
5
|
-
};
|
|
6
|
-
export default PencilIcon;
|
package/dist/icons/thumbs.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
2
|
-
export declare const ThumbDownIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const ThumbUpIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const ThumbDownFilledIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const ThumbUpFilledIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/icons/thumbs.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
export const ThumbDownIcon = (props) => {
|
|
4
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M17 14V2" }), _jsx("path", { d: "M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z" })] }) }));
|
|
5
|
-
};
|
|
6
|
-
export const ThumbUpIcon = (props) => {
|
|
7
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M7 10v12" }), _jsx("path", { d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z" }), ' '] }) }));
|
|
8
|
-
};
|
|
9
|
-
export const ThumbDownFilledIcon = (props) => {
|
|
10
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M17 14V2" }), _jsx("path", { d: "M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22h0a3.13 3.13 0 0 1-3-3.88Z" })] }) }));
|
|
11
|
-
};
|
|
12
|
-
export const ThumbUpFilledIcon = (props) => {
|
|
13
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M7 10v12" }), _jsx("path", { d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z" }), ' '] }) }));
|
|
14
|
-
};
|
package/dist/icons/user.d.ts
DELETED
package/dist/icons/user.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
3
|
-
const UserIcon = (props) => {
|
|
4
|
-
return (_jsx(SvgIcon, { children: _jsxs("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }), _jsx("circle", { cx: "12", cy: "7", r: "4" })] }) }));
|
|
5
|
-
};
|
|
6
|
-
export default UserIcon;
|