@synnaxlabs/pluto 0.21.7 → 0.21.8
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/Video-DFtnAOYY.cjs +14 -0
- package/dist/Video-DFtnAOYY.cjs.map +1 -0
- package/dist/Video-SGhKphYR.js +15 -0
- package/dist/Video-SGhKphYR.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/src/video/Video.d.ts +2 -2
- package/dist/src/video/Video.d.ts.map +1 -1
- package/dist/video.cjs +1 -1
- package/dist/video.js +1 -1
- package/package.json +2 -2
- package/dist/Video-B1oW8NLd.js +0 -11
- package/dist/Video-B1oW8NLd.js.map +0 -1
- package/dist/Video-BGNx94bQ.cjs +0 -10
- package/dist/Video-BGNx94bQ.cjs.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("./jsx-runtime-B3vWrP5x.cjs");
|
|
3
|
+
const React = require("react");
|
|
4
|
+
const css = require("./css-Pf9qxhQ4.cjs");
|
|
5
|
+
const Video = React.forwardRef(
|
|
6
|
+
({ href, className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("video", { ref, className: css.CSS(css.CSS.B("video"), className), ...props, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("source", { id: href, src: href, type: "video/mp4" }) })
|
|
7
|
+
);
|
|
8
|
+
Video.displayName = "Video";
|
|
9
|
+
const Video$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
|
+
__proto__: null,
|
|
11
|
+
Video
|
|
12
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
13
|
+
exports.Video = Video$1;
|
|
14
|
+
//# sourceMappingURL=Video-DFtnAOYY.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Video-DFtnAOYY.cjs","sources":["../src/video/Video.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { forwardRef, type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = forwardRef<HTMLVideoElement, VideoProps>(\n ({ href, className, ...props }: VideoProps, ref): ReactElement => (\n <video ref={ref} className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source id={href} src={href} type=\"video/mp4\" />\n </video>\n ),\n);\nVideo.displayName = \"Video\";\n"],"names":["forwardRef","jsx","CSS"],"mappings":";;;;AAmBO,MAAM,QAAQA,MAAA;AAAA,EACnB,CAAC,EAAE,MAAM,WAAW,GAAG,MAAA,GAAqB,QACzCC,2BAAAA,kBAAAA,IAAA,SAAA,EAAM,KAAU,WAAWC,IAAAA,IAAIA,IAAAA,IAAI,EAAE,OAAO,GAAG,SAAS,GAAI,GAAG,OAC9D,UAAAD,2BAAAA,kBAAAA,IAAC,UAAO,EAAA,IAAI,MAAM,KAAK,MAAM,MAAK,aAAY,EAChD,CAAA;AAEJ;AACA,MAAM,cAAc;;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-mMz73N64.js";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { C as CSS } from "./css-DoalWJF6.js";
|
|
4
|
+
const Video = forwardRef(
|
|
5
|
+
({ href, className, ...props }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx("video", { ref, className: CSS(CSS.B("video"), className), ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("source", { id: href, src: href, type: "video/mp4" }) })
|
|
6
|
+
);
|
|
7
|
+
Video.displayName = "Video";
|
|
8
|
+
const Video$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
|
+
__proto__: null,
|
|
10
|
+
Video
|
|
11
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
12
|
+
export {
|
|
13
|
+
Video$1 as V
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Video-SGhKphYR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Video-SGhKphYR.js","sources":["../src/video/Video.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { forwardRef, type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = forwardRef<HTMLVideoElement, VideoProps>(\n ({ href, className, ...props }: VideoProps, ref): ReactElement => (\n <video ref={ref} className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source id={href} src={href} type=\"video/mp4\" />\n </video>\n ),\n);\nVideo.displayName = \"Video\";\n"],"names":["jsx"],"mappings":";;;AAmBO,MAAM,QAAQ;AAAA,EACnB,CAAC,EAAE,MAAM,WAAW,GAAG,MAAA,GAAqB,QACzCA,kCAAAA,IAAA,SAAA,EAAM,KAAU,WAAW,IAAI,IAAI,EAAE,OAAO,GAAG,SAAS,GAAI,GAAG,OAC9D,UAAAA,kCAAAA,IAAC,UAAO,EAAA,IAAI,MAAM,KAAK,MAAM,MAAK,aAAY,EAChD,CAAA;AAEJ;AACA,MAAM,cAAc;;;;;"}
|
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ const external$m = require("./external-16K8slq8.cjs");
|
|
|
27
27
|
const external$p = require("./external-B0z7uXZV.cjs");
|
|
28
28
|
const external$r = require("./external-DvGqQHd8.cjs");
|
|
29
29
|
const external$s = require("./external-CPx8XA9-.cjs");
|
|
30
|
-
const Video = require("./Video-
|
|
30
|
+
const Video = require("./Video-DFtnAOYY.cjs");
|
|
31
31
|
const zod = require("zod");
|
|
32
32
|
const Circle$1 = ({ variant, ...props }) => {
|
|
33
33
|
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Toggle$1.m0.Circle, { color: Toggle$1.variantColors[variant], ...props });
|
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import { r as resetSelection, a as rename, T as Tabs, u as useStatic } from "./e
|
|
|
37
37
|
import { e as e10 } from "./external-1osPryUV.js";
|
|
38
38
|
import { e as e11 } from "./external-96EinZfY.js";
|
|
39
39
|
import { e as e12 } from "./external-DiFhWWS-.js";
|
|
40
|
-
import { V } from "./Video-
|
|
40
|
+
import { V } from "./Video-SGhKphYR.js";
|
|
41
41
|
import { z } from "zod";
|
|
42
42
|
const Circle$1 = ({ variant, ...props }) => {
|
|
43
43
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(m0.Circle, { color: variantColors[variant], ...props });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface VideoProps extends ComponentPropsWithoutRef<"video"> {
|
|
4
4
|
href: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const Video: (
|
|
6
|
+
export declare const Video: import('react').ForwardRefExoticComponent<VideoProps & import('react').RefAttributes<HTMLVideoElement>>;
|
|
7
7
|
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../src/video/Video.tsx"],"names":[],"mappings":"AASA,OAAO,
|
|
1
|
+
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../src/video/Video.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,KAAK,wBAAwB,EAAqB,MAAM,OAAO,CAAC;AAIrF,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,UAAW,SAAQ,wBAAwB,CAAC,OAAO,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,KAAK,yGAMjB,CAAC"}
|
package/dist/video.cjs
CHANGED
package/dist/video.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synnaxlabs/pluto",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.21.
|
|
4
|
+
"version": "0.21.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@fontsource-variable/inter": "^5.0.17",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"vite-tsconfig-paths": "4.3.2",
|
|
53
53
|
"vitest": "^1.5.0",
|
|
54
54
|
"@synnaxlabs/tsconfig": "0.0.2",
|
|
55
|
-
"@synnaxlabs/vite-plugin": "0.0.1",
|
|
56
55
|
"eslint-config-synnaxlabs": "0.0.1",
|
|
56
|
+
"@synnaxlabs/vite-plugin": "0.0.1",
|
|
57
57
|
"stylelint-config-synnaxlabs": "0.0.1"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
package/dist/Video-B1oW8NLd.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./jsx-runtime-mMz73N64.js";
|
|
2
|
-
import { C as CSS } from "./css-DoalWJF6.js";
|
|
3
|
-
const Video = ({ href, className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx("video", { className: CSS(CSS.B("video"), className), ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("source", { id: href, src: href, type: "video/mp4" }) });
|
|
4
|
-
const Video$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
|
-
__proto__: null,
|
|
6
|
-
Video
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
8
|
-
export {
|
|
9
|
-
Video$1 as V
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=Video-B1oW8NLd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Video-B1oW8NLd.js","sources":["../src/video/Video.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = ({ href, className, ...props }: VideoProps): ReactElement => (\n <video className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source id={href} src={href} type=\"video/mp4\" />\n </video>\n);\n"],"names":["jsx"],"mappings":";;AAmBO,MAAM,QAAQ,CAAC,EAAE,MAAM,WAAW,GAAG,MAAM,MAC/CA,sCAAA,SAAA,EAAM,WAAW,IAAI,IAAI,EAAE,OAAO,GAAG,SAAS,GAAI,GAAG,OACpD,UAACA,kCAAA,IAAA,UAAA,EAAO,IAAI,MAAM,KAAK,MAAM,MAAK,YAAA,CAAY,EAChD,CAAA;;;;;"}
|
package/dist/Video-BGNx94bQ.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const jsxRuntime = require("./jsx-runtime-B3vWrP5x.cjs");
|
|
3
|
-
const css = require("./css-Pf9qxhQ4.cjs");
|
|
4
|
-
const Video = ({ href, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("video", { className: css.CSS(css.CSS.B("video"), className), ...props, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("source", { id: href, src: href, type: "video/mp4" }) });
|
|
5
|
-
const Video$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
|
-
__proto__: null,
|
|
7
|
-
Video
|
|
8
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
9
|
-
exports.Video = Video$1;
|
|
10
|
-
//# sourceMappingURL=Video-BGNx94bQ.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Video-BGNx94bQ.cjs","sources":["../src/video/Video.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = ({ href, className, ...props }: VideoProps): ReactElement => (\n <video className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source id={href} src={href} type=\"video/mp4\" />\n </video>\n);\n"],"names":["jsx","CSS"],"mappings":";;;AAmBO,MAAM,QAAQ,CAAC,EAAE,MAAM,WAAW,GAAG,MAAM,MAC/CA,iDAAA,SAAA,EAAM,WAAWC,IAAA,IAAIA,IAAI,IAAA,EAAE,OAAO,GAAG,SAAS,GAAI,GAAG,OACpD,UAACD,2BAAA,kBAAA,IAAA,UAAA,EAAO,IAAI,MAAM,KAAK,MAAM,MAAK,YAAA,CAAY,EAChD,CAAA;;;;;;"}
|