@synnaxlabs/media 0.52.3 → 0.54.0
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/media.cjs +1 -6
- package/dist/media.css +2 -1
- package/dist/media.js +157 -405
- package/package.json +11 -11
package/dist/media.cjs
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
let props = %s;
|
|
3
|
-
<%s {...props} />
|
|
4
|
-
React keys must be passed directly to JSX without using spread:
|
|
5
|
-
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,s,l,d,l),Y[l+s]=!0)}if(l=null,n!==void 0&&(c(n),l=""+n),m(r)&&(c(r.key),l=""+r.key),"key"in r){n={};for(var T in r)T!=="key"&&(n[T]=r[T])}else n=r;return l&&x(n,typeof e=="function"?e.displayName||e.name||"Unknown":e),G(e,l,n,u(),E,h)}function k(e){S(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===b&&(e._payload.status==="fulfilled"?S(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function S(e){return typeof e=="object"&&e!==null&&e.$$typeof===O}var v=ae,O=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),B=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),ee=Symbol.for("react.client.reference"),j=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,re=Array.isArray,R=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var P,L={},N=v.react_stack_bottom_frame.bind(v,f)(),C=R(o(f)),Y={};_.Fragment=y,_.jsx=function(e,r,n){var s=1e4>j.recentlyCreatedOwnerStacks++;return w(e,r,n,!1,s?Error("react-stack-top-frame"):N,s?R(o(e)):C)},_.jsxs=function(e,r,n){var s=1e4>j.recentlyCreatedOwnerStacks++;return w(e,r,n,!0,s?Error("react-stack-top-frame"):N,s?R(o(e)):C)}})()),_}var U;function se(){return U||(U=1,process.env.NODE_ENV==="production"?g.exports=ne():g.exports=oe()),g.exports}var t=se();function F(a){var i,c,o="";if(typeof a=="string"||typeof a=="number")o+=a;else if(typeof a=="object")if(Array.isArray(a)){var u=a.length;for(i=0;i<u;i++)a[i]&&(c=F(a[i]))&&(o&&(o+=" "),o+=c)}else for(c in a)a[c]&&(o&&(o+=" "),o+=c);return o}function le(){for(var a,i,c=0,o="",u=arguments.length;c<u;c++)(a=arguments[c])&&(i=F(a))&&(o&&(o+=" "),o+=i);return o}const ie=a=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 189.34",...a,children:[t.jsxs("defs",{children:[t.jsxs("linearGradient",{id:"synnax-linear-gradient",x1:"-2.63",y1:"56.85",x2:"167.19",y2:"157.88",gradientUnits:"userSpaceOnUse",children:[t.jsx("stop",{offset:"0",stopColor:"#10007f"}),t.jsx("stop",{offset:"1",stopColor:"#0084e9"})]}),t.jsxs("filter",{id:"fillpartial",primitiveUnits:"objectBoundingBox",x:"0%",y:"0%",width:"100%",height:"100%",children:[t.jsx("feFlood",{x:"0%",y:"0%",width:"100%",height:"100%"}),t.jsx("feOffset",{dy:"0.5",children:t.jsx("animate",{attributeName:"dy",from:"1",to:"0",dur:"1s",repeatCount:"indefinite"})}),t.jsx("feComposite",{operator:"in",in2:"SourceGraphic"}),t.jsx("feComposite",{operator:"over",in2:"SourceGraphic"})]})]}),t.jsx("g",{id:"Layer_2","data-name":"Layer 2",children:t.jsx("g",{id:"Layer_1-2","data-name":"Layer 1",children:t.jsx("path",{filter:"url(#fillpartial)",stroke:"black",strokeWidth:"1",className:"cls-1",d:"M52.61,168.82A14.81,14.81,0,0,1,39.78,146.6L94.22,52.33c5.7-9.88,20-9.88,25.9.42l51.77,89.67a6.88,6.88,0,0,0,2.48,2.49l15.42,8.9a6.78,6.78,0,0,0,9.26-9.27L119.87,7.41a14.8,14.8,0,0,0-25.65,0L2,167.12a14.81,14.81,0,0,0,12.83,22.22H170.39a6.79,6.79,0,0,0,3.39-12.66l-12.05-7a6.83,6.83,0,0,0-3.39-.91Z"})})})]}),ce=a=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 189.34",...a,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"synnax-linear-gradient",x1:"-2.63",y1:"56.85",x2:"167.19",y2:"157.88",gradientUnits:"userSpaceOnUse",children:[t.jsx("stop",{offset:"0",stopColor:"#10007f"}),t.jsx("stop",{offset:"1",stopColor:"#0084e9"})]})}),t.jsx("g",{id:"Layer_2","data-name":"Layer 2",children:t.jsx("g",{id:"Layer_1-2","data-name":"Layer 1",children:t.jsx("path",{className:"cls-1",vectorEffect:"non-scaling-stroke",d:"M52.61,168.82A14.81,14.81,0,0,1,39.78,146.6L94.22,52.33c5.7-9.88,20-9.88,25.9.42l51.77,89.67a6.88,6.88,0,0,0,2.48,2.49l15.42,8.9a6.78,6.78,0,0,0,9.26-9.27L119.87,7.41a14.8,14.8,0,0,0-25.65,0L2,167.12a14.81,14.81,0,0,0,12.83,22.22H170.39a6.79,6.79,0,0,0,3.39-12.66l-12.05-7a6.83,6.83,0,0,0-3.39-.91Z"})})})]}),ue=a=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1050 285",...a,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"synnax-linear-gradient",x1:"-2.64",y1:"16561.34",x2:"167.18",y2:"16460.3",gradientTransform:"matrix(1, 0, 0, -1, 0, 16643.76)",gradientUnits:"userSpaceOnUse",children:[t.jsx("stop",{offset:"0",stopColor:"#10007f"}),t.jsx("stop",{offset:"1",stopColor:"#0084e9"})]})}),t.jsxs("g",{id:"Layer_2","data-name":"Layer 2",children:[t.jsx("path",{d:"M52.6,194.4a14.81,14.81,0,0,1-12.83-22.22L94.21,77.91c5.7-9.88,20-9.88,25.9.42L171.88,168a6.78,6.78,0,0,0,2.48,2.48l15.42,8.91a6.78,6.78,0,0,0,9.26-9.27L119.86,33a14.8,14.8,0,0,0-25.65,0L2,192.69a14.81,14.81,0,0,0,12.83,22.22H170.38a6.78,6.78,0,0,0,3.39-12.65l-12.05-6.95a6.73,6.73,0,0,0-3.39-.91Z"}),t.jsx("text",{transform:"translate(208.99 215.58)",children:"Synnax"})]})]}),fe={icon:ce,title:ue,loader:ie},M=({variant:a="icon",color:i="auto",className:c,...o})=>{const u=fe[a];return t.jsx(u,{className:le("synnax-logo",`synnax-logo--${i}`,`synnax-logo--${a}`,c),...o})},de=({children:a,...i})=>t.jsxs("div",{className:"synnax-logo-watermark__container",children:[t.jsx(M,{className:"synnax-logo-watermark",...i}),a]}),W=M;W.Watermark=de;exports.Logo=W;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require(`react/jsx-runtime`);function t(e){var n,r,i=``;if(typeof e==`string`||typeof e==`number`)i+=e;else if(typeof e==`object`)if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=` `),i+=r)}else for(r in e)e[r]&&(i&&(i+=` `),i+=r);return i}function n(){for(var e,n,r=0,i=``,a=arguments.length;r<a;r++)(e=arguments[r])&&(n=t(e))&&(i&&(i+=` `),i+=n);return i}var r={icon:t=>(0,e.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 200 189.34`,...t,children:[(0,e.jsx)(`defs`,{children:(0,e.jsxs)(`linearGradient`,{id:`synnax-linear-gradient`,x1:`-2.63`,y1:`56.85`,x2:`167.19`,y2:`157.88`,gradientUnits:`userSpaceOnUse`,children:[(0,e.jsx)(`stop`,{offset:`0`,stopColor:`#10007f`}),(0,e.jsx)(`stop`,{offset:`1`,stopColor:`#0084e9`})]})}),(0,e.jsx)(`g`,{id:`Layer_2`,"data-name":`Layer 2`,children:(0,e.jsx)(`g`,{id:`Layer_1-2`,"data-name":`Layer 1`,children:(0,e.jsx)(`path`,{className:`cls-1`,vectorEffect:`non-scaling-stroke`,d:`M52.61,168.82A14.81,14.81,0,0,1,39.78,146.6L94.22,52.33c5.7-9.88,20-9.88,25.9.42l51.77,89.67a6.88,6.88,0,0,0,2.48,2.49l15.42,8.9a6.78,6.78,0,0,0,9.26-9.27L119.87,7.41a14.8,14.8,0,0,0-25.65,0L2,167.12a14.81,14.81,0,0,0,12.83,22.22H170.39a6.79,6.79,0,0,0,3.39-12.66l-12.05-7a6.83,6.83,0,0,0-3.39-.91Z`})})})]}),title:t=>(0,e.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1050 285`,...t,children:[(0,e.jsx)(`defs`,{children:(0,e.jsxs)(`linearGradient`,{id:`synnax-linear-gradient`,x1:`-2.64`,y1:`16561.34`,x2:`167.18`,y2:`16460.3`,gradientTransform:`matrix(1, 0, 0, -1, 0, 16643.76)`,gradientUnits:`userSpaceOnUse`,children:[(0,e.jsx)(`stop`,{offset:`0`,stopColor:`#10007f`}),(0,e.jsx)(`stop`,{offset:`1`,stopColor:`#0084e9`})]})}),(0,e.jsxs)(`g`,{id:`Layer_2`,"data-name":`Layer 2`,children:[(0,e.jsx)(`path`,{d:`M52.6,194.4a14.81,14.81,0,0,1-12.83-22.22L94.21,77.91c5.7-9.88,20-9.88,25.9.42L171.88,168a6.78,6.78,0,0,0,2.48,2.48l15.42,8.91a6.78,6.78,0,0,0,9.26-9.27L119.86,33a14.8,14.8,0,0,0-25.65,0L2,192.69a14.81,14.81,0,0,0,12.83,22.22H170.38a6.78,6.78,0,0,0,3.39-12.65l-12.05-6.95a6.73,6.73,0,0,0-3.39-.91Z`}),(0,e.jsx)(`text`,{transform:`translate(208.99 215.58)`,children:`Synnax`})]})]}),loader:t=>(0,e.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 200 189.34`,...t,children:[(0,e.jsxs)(`defs`,{children:[(0,e.jsxs)(`linearGradient`,{id:`synnax-linear-gradient`,x1:`-2.63`,y1:`56.85`,x2:`167.19`,y2:`157.88`,gradientUnits:`userSpaceOnUse`,children:[(0,e.jsx)(`stop`,{offset:`0`,stopColor:`#10007f`}),(0,e.jsx)(`stop`,{offset:`1`,stopColor:`#0084e9`})]}),(0,e.jsxs)(`filter`,{id:`fillpartial`,primitiveUnits:`objectBoundingBox`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,children:[(0,e.jsx)(`feFlood`,{x:`0%`,y:`0%`,width:`100%`,height:`100%`}),(0,e.jsx)(`feOffset`,{dy:`0.5`,children:(0,e.jsx)(`animate`,{attributeName:`dy`,from:`1`,to:`0`,dur:`1s`,repeatCount:`indefinite`})}),(0,e.jsx)(`feComposite`,{operator:`in`,in2:`SourceGraphic`}),(0,e.jsx)(`feComposite`,{operator:`over`,in2:`SourceGraphic`})]})]}),(0,e.jsx)(`g`,{id:`Layer_2`,"data-name":`Layer 2`,children:(0,e.jsx)(`g`,{id:`Layer_1-2`,"data-name":`Layer 1`,children:(0,e.jsx)(`path`,{filter:`url(#fillpartial)`,stroke:`black`,strokeWidth:`1`,className:`cls-1`,d:`M52.61,168.82A14.81,14.81,0,0,1,39.78,146.6L94.22,52.33c5.7-9.88,20-9.88,25.9.42l51.77,89.67a6.88,6.88,0,0,0,2.48,2.49l15.42,8.9a6.78,6.78,0,0,0,9.26-9.27L119.87,7.41a14.8,14.8,0,0,0-25.65,0L2,167.12a14.81,14.81,0,0,0,12.83,22.22H170.39a6.79,6.79,0,0,0,3.39-12.66l-12.05-7a6.83,6.83,0,0,0-3.39-.91Z`})})})]})},i=({variant:t=`icon`,color:i=`auto`,className:a,...o})=>{let s=r[t];return(0,e.jsx)(s,{className:n(`synnax-logo`,`synnax-logo--${i}`,`synnax-logo--${t}`,a),...o})},a=({children:t,...n})=>(0,e.jsxs)(`div`,{className:`synnax-logo-watermark__container`,children:[(0,e.jsx)(i,{className:`synnax-logo-watermark`,...n}),t]}),o=i;o.Watermark=a,exports.Logo=o;
|
package/dist/media.css
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.synnax-logo--auto{--logo-color:
|
|
1
|
+
.synnax-logo--auto{--logo-color:var(--pluto-logo-color,#fff);--text-color:var(--pluto-text-color,#fff)}.synnax-logo--auto:not(.synnax-logo--loader) path{fill:var(--logo-color)}.synnax-logo--auto:not(.synnax-logo--loader) text{font-size:252px;font-weight:unset;fill:var(--text-color);font-family:Roboto-Regular,Roboto,sans-serif}.synnax-logo--auto.synnax-logo--loader path{fill:var(--pluto-gray-l0)}.synnax-logo--auto.synnax-logo--loader feFlood{flood-color:var(--pluto-gray-l10)}.synnax-logo-watermark__container{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.synnax-logo-watermark{opacity:.5;height:15%}
|
|
2
|
+
/*$vite$:1*/
|
package/dist/media.js
CHANGED
|
@@ -1,407 +1,159 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
f = {};
|
|
12
|
-
for (var x in u)
|
|
13
|
-
x !== "key" && (f[x] = u[x]);
|
|
14
|
-
} else f = u;
|
|
15
|
-
return u = f.ref, {
|
|
16
|
-
$$typeof: a,
|
|
17
|
-
type: o,
|
|
18
|
-
key: m,
|
|
19
|
-
ref: u !== void 0 ? u : null,
|
|
20
|
-
props: f
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
return p.Fragment = i, p.jsx = c, p.jsxs = c, p;
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
3
|
+
function n(e) {
|
|
4
|
+
var t, r, i = "";
|
|
5
|
+
if (typeof e == "string" || typeof e == "number") i += e;
|
|
6
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
7
|
+
var a = e.length;
|
|
8
|
+
for (t = 0; t < a; t++) e[t] && (r = n(e[t])) && (i && (i += " "), i += r);
|
|
9
|
+
} else for (r in e) e[r] && (i && (i += " "), i += r);
|
|
10
|
+
return i;
|
|
24
11
|
}
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
return I || (I = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
-
function a(e) {
|
|
30
|
-
if (e == null) return null;
|
|
31
|
-
if (typeof e == "function")
|
|
32
|
-
return e.$$typeof === K ? null : e.displayName || e.name || null;
|
|
33
|
-
if (typeof e == "string") return e;
|
|
34
|
-
switch (e) {
|
|
35
|
-
case y:
|
|
36
|
-
return "Fragment";
|
|
37
|
-
case q:
|
|
38
|
-
return "Profiler";
|
|
39
|
-
case V:
|
|
40
|
-
return "StrictMode";
|
|
41
|
-
case H:
|
|
42
|
-
return "Suspense";
|
|
43
|
-
case X:
|
|
44
|
-
return "SuspenseList";
|
|
45
|
-
case Q:
|
|
46
|
-
return "Activity";
|
|
47
|
-
}
|
|
48
|
-
if (typeof e == "object")
|
|
49
|
-
switch (typeof e.tag == "number" && console.error(
|
|
50
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
-
), e.$$typeof) {
|
|
52
|
-
case G:
|
|
53
|
-
return "Portal";
|
|
54
|
-
case z:
|
|
55
|
-
return e.displayName || "Context";
|
|
56
|
-
case J:
|
|
57
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
-
case B:
|
|
59
|
-
var r = e.render;
|
|
60
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
-
case Z:
|
|
62
|
-
return r = e.displayName || null, r !== null ? r : a(e.type) || "Memo";
|
|
63
|
-
case j:
|
|
64
|
-
r = e._payload, e = e._init;
|
|
65
|
-
try {
|
|
66
|
-
return a(e(r));
|
|
67
|
-
} catch {
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
function i(e) {
|
|
73
|
-
return "" + e;
|
|
74
|
-
}
|
|
75
|
-
function c(e) {
|
|
76
|
-
try {
|
|
77
|
-
i(e);
|
|
78
|
-
var r = !1;
|
|
79
|
-
} catch {
|
|
80
|
-
r = !0;
|
|
81
|
-
}
|
|
82
|
-
if (r) {
|
|
83
|
-
r = console;
|
|
84
|
-
var n = r.error, s = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
-
return n.call(
|
|
86
|
-
r,
|
|
87
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
-
s
|
|
89
|
-
), i(e);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function o(e) {
|
|
93
|
-
if (e === y) return "<>";
|
|
94
|
-
if (typeof e == "object" && e !== null && e.$$typeof === j)
|
|
95
|
-
return "<...>";
|
|
96
|
-
try {
|
|
97
|
-
var r = a(e);
|
|
98
|
-
return r ? "<" + r + ">" : "<...>";
|
|
99
|
-
} catch {
|
|
100
|
-
return "<...>";
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
function u() {
|
|
104
|
-
var e = b.A;
|
|
105
|
-
return e === null ? null : e.getOwner();
|
|
106
|
-
}
|
|
107
|
-
function f() {
|
|
108
|
-
return Error("react-stack-top-frame");
|
|
109
|
-
}
|
|
110
|
-
function m(e) {
|
|
111
|
-
if (S.call(e, "key")) {
|
|
112
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
113
|
-
if (r && r.isReactWarning) return !1;
|
|
114
|
-
}
|
|
115
|
-
return e.key !== void 0;
|
|
116
|
-
}
|
|
117
|
-
function x(e, r) {
|
|
118
|
-
function n() {
|
|
119
|
-
P || (P = !0, console.error(
|
|
120
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
-
r
|
|
122
|
-
));
|
|
123
|
-
}
|
|
124
|
-
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
-
get: n,
|
|
126
|
-
configurable: !0
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
function W() {
|
|
130
|
-
var e = a(this.type);
|
|
131
|
-
return N[e] || (N[e] = !0, console.error(
|
|
132
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
-
}
|
|
135
|
-
function D(e, r, n, s, E, h) {
|
|
136
|
-
var l = n.ref;
|
|
137
|
-
return e = {
|
|
138
|
-
$$typeof: O,
|
|
139
|
-
type: e,
|
|
140
|
-
key: r,
|
|
141
|
-
props: n,
|
|
142
|
-
_owner: s
|
|
143
|
-
}, (l !== void 0 ? l : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
-
enumerable: !1,
|
|
145
|
-
get: W
|
|
146
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
147
|
-
configurable: !1,
|
|
148
|
-
enumerable: !1,
|
|
149
|
-
writable: !0,
|
|
150
|
-
value: 0
|
|
151
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
152
|
-
configurable: !1,
|
|
153
|
-
enumerable: !1,
|
|
154
|
-
writable: !0,
|
|
155
|
-
value: null
|
|
156
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
157
|
-
configurable: !1,
|
|
158
|
-
enumerable: !1,
|
|
159
|
-
writable: !0,
|
|
160
|
-
value: E
|
|
161
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
-
configurable: !1,
|
|
163
|
-
enumerable: !1,
|
|
164
|
-
writable: !0,
|
|
165
|
-
value: h
|
|
166
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
-
}
|
|
168
|
-
function w(e, r, n, s, E, h) {
|
|
169
|
-
var l = r.children;
|
|
170
|
-
if (l !== void 0)
|
|
171
|
-
if (s)
|
|
172
|
-
if (ee(l)) {
|
|
173
|
-
for (s = 0; s < l.length; s++)
|
|
174
|
-
k(l[s]);
|
|
175
|
-
Object.freeze && Object.freeze(l);
|
|
176
|
-
} else
|
|
177
|
-
console.error(
|
|
178
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
-
);
|
|
180
|
-
else k(l);
|
|
181
|
-
if (S.call(r, "key")) {
|
|
182
|
-
l = a(e);
|
|
183
|
-
var d = Object.keys(r).filter(function(re) {
|
|
184
|
-
return re !== "key";
|
|
185
|
-
});
|
|
186
|
-
s = 0 < d.length ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}", Y[l + s] || (d = 0 < d.length ? "{" + d.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
188
|
-
let props = %s;
|
|
189
|
-
<%s {...props} />
|
|
190
|
-
React keys must be passed directly to JSX without using spread:
|
|
191
|
-
let props = %s;
|
|
192
|
-
<%s key={someKey} {...props} />`,
|
|
193
|
-
s,
|
|
194
|
-
l,
|
|
195
|
-
d,
|
|
196
|
-
l
|
|
197
|
-
), Y[l + s] = !0);
|
|
198
|
-
}
|
|
199
|
-
if (l = null, n !== void 0 && (c(n), l = "" + n), m(r) && (c(r.key), l = "" + r.key), "key" in r) {
|
|
200
|
-
n = {};
|
|
201
|
-
for (var T in r)
|
|
202
|
-
T !== "key" && (n[T] = r[T]);
|
|
203
|
-
} else n = r;
|
|
204
|
-
return l && x(
|
|
205
|
-
n,
|
|
206
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
-
), D(
|
|
208
|
-
e,
|
|
209
|
-
l,
|
|
210
|
-
n,
|
|
211
|
-
u(),
|
|
212
|
-
E,
|
|
213
|
-
h
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
function k(e) {
|
|
217
|
-
A(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === j && (e._payload.status === "fulfilled" ? A(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
-
}
|
|
219
|
-
function A(e) {
|
|
220
|
-
return typeof e == "object" && e !== null && e.$$typeof === O;
|
|
221
|
-
}
|
|
222
|
-
var v = te, O = /* @__PURE__ */ Symbol.for("react.transitional.element"), G = /* @__PURE__ */ Symbol.for("react.portal"), y = /* @__PURE__ */ Symbol.for("react.fragment"), V = /* @__PURE__ */ Symbol.for("react.strict_mode"), q = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), z = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), H = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), Z = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), Q = /* @__PURE__ */ Symbol.for("react.activity"), K = /* @__PURE__ */ Symbol.for("react.client.reference"), b = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, ee = Array.isArray, R = console.createTask ? console.createTask : function() {
|
|
223
|
-
return null;
|
|
224
|
-
};
|
|
225
|
-
v = {
|
|
226
|
-
react_stack_bottom_frame: function(e) {
|
|
227
|
-
return e();
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
var P, N = {}, L = v.react_stack_bottom_frame.bind(
|
|
231
|
-
v,
|
|
232
|
-
f
|
|
233
|
-
)(), C = R(o(f)), Y = {};
|
|
234
|
-
_.Fragment = y, _.jsx = function(e, r, n) {
|
|
235
|
-
var s = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
236
|
-
return w(
|
|
237
|
-
e,
|
|
238
|
-
r,
|
|
239
|
-
n,
|
|
240
|
-
!1,
|
|
241
|
-
s ? Error("react-stack-top-frame") : L,
|
|
242
|
-
s ? R(o(e)) : C
|
|
243
|
-
);
|
|
244
|
-
}, _.jsxs = function(e, r, n) {
|
|
245
|
-
var s = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
246
|
-
return w(
|
|
247
|
-
e,
|
|
248
|
-
r,
|
|
249
|
-
n,
|
|
250
|
-
!0,
|
|
251
|
-
s ? Error("react-stack-top-frame") : L,
|
|
252
|
-
s ? R(o(e)) : C
|
|
253
|
-
);
|
|
254
|
-
};
|
|
255
|
-
})()), _;
|
|
12
|
+
function r() {
|
|
13
|
+
for (var e, t, r = 0, i = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = n(e)) && (i && (i += " "), i += t);
|
|
14
|
+
return i;
|
|
256
15
|
}
|
|
257
|
-
var
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
})
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
},
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
/* @__PURE__ */ t.jsx(M, { className: "synnax-logo-watermark", ...i }),
|
|
402
|
-
a
|
|
403
|
-
] }), de = M;
|
|
404
|
-
de.Watermark = fe;
|
|
405
|
-
export {
|
|
406
|
-
de as Logo
|
|
407
|
-
};
|
|
16
|
+
var i = {
|
|
17
|
+
icon: (n) => /* @__PURE__ */ t("svg", {
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
viewBox: "0 0 200 189.34",
|
|
20
|
+
...n,
|
|
21
|
+
children: [/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ t("linearGradient", {
|
|
22
|
+
id: "synnax-linear-gradient",
|
|
23
|
+
x1: "-2.63",
|
|
24
|
+
y1: "56.85",
|
|
25
|
+
x2: "167.19",
|
|
26
|
+
y2: "157.88",
|
|
27
|
+
gradientUnits: "userSpaceOnUse",
|
|
28
|
+
children: [/* @__PURE__ */ e("stop", {
|
|
29
|
+
offset: "0",
|
|
30
|
+
stopColor: "#10007f"
|
|
31
|
+
}), /* @__PURE__ */ e("stop", {
|
|
32
|
+
offset: "1",
|
|
33
|
+
stopColor: "#0084e9"
|
|
34
|
+
})]
|
|
35
|
+
}) }), /* @__PURE__ */ e("g", {
|
|
36
|
+
id: "Layer_2",
|
|
37
|
+
"data-name": "Layer 2",
|
|
38
|
+
children: /* @__PURE__ */ e("g", {
|
|
39
|
+
id: "Layer_1-2",
|
|
40
|
+
"data-name": "Layer 1",
|
|
41
|
+
children: /* @__PURE__ */ e("path", {
|
|
42
|
+
className: "cls-1",
|
|
43
|
+
vectorEffect: "non-scaling-stroke",
|
|
44
|
+
d: "M52.61,168.82A14.81,14.81,0,0,1,39.78,146.6L94.22,52.33c5.7-9.88,20-9.88,25.9.42l51.77,89.67a6.88,6.88,0,0,0,2.48,2.49l15.42,8.9a6.78,6.78,0,0,0,9.26-9.27L119.87,7.41a14.8,14.8,0,0,0-25.65,0L2,167.12a14.81,14.81,0,0,0,12.83,22.22H170.39a6.79,6.79,0,0,0,3.39-12.66l-12.05-7a6.83,6.83,0,0,0-3.39-.91Z"
|
|
45
|
+
})
|
|
46
|
+
})
|
|
47
|
+
})]
|
|
48
|
+
}),
|
|
49
|
+
title: (n) => /* @__PURE__ */ t("svg", {
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
+
viewBox: "0 0 1050 285",
|
|
52
|
+
...n,
|
|
53
|
+
children: [/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ t("linearGradient", {
|
|
54
|
+
id: "synnax-linear-gradient",
|
|
55
|
+
x1: "-2.64",
|
|
56
|
+
y1: "16561.34",
|
|
57
|
+
x2: "167.18",
|
|
58
|
+
y2: "16460.3",
|
|
59
|
+
gradientTransform: "matrix(1, 0, 0, -1, 0, 16643.76)",
|
|
60
|
+
gradientUnits: "userSpaceOnUse",
|
|
61
|
+
children: [/* @__PURE__ */ e("stop", {
|
|
62
|
+
offset: "0",
|
|
63
|
+
stopColor: "#10007f"
|
|
64
|
+
}), /* @__PURE__ */ e("stop", {
|
|
65
|
+
offset: "1",
|
|
66
|
+
stopColor: "#0084e9"
|
|
67
|
+
})]
|
|
68
|
+
}) }), /* @__PURE__ */ t("g", {
|
|
69
|
+
id: "Layer_2",
|
|
70
|
+
"data-name": "Layer 2",
|
|
71
|
+
children: [/* @__PURE__ */ e("path", { d: "M52.6,194.4a14.81,14.81,0,0,1-12.83-22.22L94.21,77.91c5.7-9.88,20-9.88,25.9.42L171.88,168a6.78,6.78,0,0,0,2.48,2.48l15.42,8.91a6.78,6.78,0,0,0,9.26-9.27L119.86,33a14.8,14.8,0,0,0-25.65,0L2,192.69a14.81,14.81,0,0,0,12.83,22.22H170.38a6.78,6.78,0,0,0,3.39-12.65l-12.05-6.95a6.73,6.73,0,0,0-3.39-.91Z" }), /* @__PURE__ */ e("text", {
|
|
72
|
+
transform: "translate(208.99 215.58)",
|
|
73
|
+
children: "Synnax"
|
|
74
|
+
})]
|
|
75
|
+
})]
|
|
76
|
+
}),
|
|
77
|
+
loader: (n) => /* @__PURE__ */ t("svg", {
|
|
78
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
79
|
+
viewBox: "0 0 200 189.34",
|
|
80
|
+
...n,
|
|
81
|
+
children: [/* @__PURE__ */ t("defs", { children: [/* @__PURE__ */ t("linearGradient", {
|
|
82
|
+
id: "synnax-linear-gradient",
|
|
83
|
+
x1: "-2.63",
|
|
84
|
+
y1: "56.85",
|
|
85
|
+
x2: "167.19",
|
|
86
|
+
y2: "157.88",
|
|
87
|
+
gradientUnits: "userSpaceOnUse",
|
|
88
|
+
children: [/* @__PURE__ */ e("stop", {
|
|
89
|
+
offset: "0",
|
|
90
|
+
stopColor: "#10007f"
|
|
91
|
+
}), /* @__PURE__ */ e("stop", {
|
|
92
|
+
offset: "1",
|
|
93
|
+
stopColor: "#0084e9"
|
|
94
|
+
})]
|
|
95
|
+
}), /* @__PURE__ */ t("filter", {
|
|
96
|
+
id: "fillpartial",
|
|
97
|
+
primitiveUnits: "objectBoundingBox",
|
|
98
|
+
x: "0%",
|
|
99
|
+
y: "0%",
|
|
100
|
+
width: "100%",
|
|
101
|
+
height: "100%",
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ e("feFlood", {
|
|
104
|
+
x: "0%",
|
|
105
|
+
y: "0%",
|
|
106
|
+
width: "100%",
|
|
107
|
+
height: "100%"
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ e("feOffset", {
|
|
110
|
+
dy: "0.5",
|
|
111
|
+
children: /* @__PURE__ */ e("animate", {
|
|
112
|
+
attributeName: "dy",
|
|
113
|
+
from: "1",
|
|
114
|
+
to: "0",
|
|
115
|
+
dur: "1s",
|
|
116
|
+
repeatCount: "indefinite"
|
|
117
|
+
})
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ e("feComposite", {
|
|
120
|
+
operator: "in",
|
|
121
|
+
in2: "SourceGraphic"
|
|
122
|
+
}),
|
|
123
|
+
/* @__PURE__ */ e("feComposite", {
|
|
124
|
+
operator: "over",
|
|
125
|
+
in2: "SourceGraphic"
|
|
126
|
+
})
|
|
127
|
+
]
|
|
128
|
+
})] }), /* @__PURE__ */ e("g", {
|
|
129
|
+
id: "Layer_2",
|
|
130
|
+
"data-name": "Layer 2",
|
|
131
|
+
children: /* @__PURE__ */ e("g", {
|
|
132
|
+
id: "Layer_1-2",
|
|
133
|
+
"data-name": "Layer 1",
|
|
134
|
+
children: /* @__PURE__ */ e("path", {
|
|
135
|
+
filter: "url(#fillpartial)",
|
|
136
|
+
stroke: "black",
|
|
137
|
+
strokeWidth: "1",
|
|
138
|
+
className: "cls-1",
|
|
139
|
+
d: "M52.61,168.82A14.81,14.81,0,0,1,39.78,146.6L94.22,52.33c5.7-9.88,20-9.88,25.9.42l51.77,89.67a6.88,6.88,0,0,0,2.48,2.49l15.42,8.9a6.78,6.78,0,0,0,9.26-9.27L119.87,7.41a14.8,14.8,0,0,0-25.65,0L2,167.12a14.81,14.81,0,0,0,12.83,22.22H170.39a6.79,6.79,0,0,0,3.39-12.66l-12.05-7a6.83,6.83,0,0,0-3.39-.91Z"
|
|
140
|
+
})
|
|
141
|
+
})
|
|
142
|
+
})]
|
|
143
|
+
})
|
|
144
|
+
}, a = ({ variant: t = "icon", color: n = "auto", className: a, ...o }) => {
|
|
145
|
+
let s = i[t];
|
|
146
|
+
return /* @__PURE__ */ e(s, {
|
|
147
|
+
className: r("synnax-logo", `synnax-logo--${n}`, `synnax-logo--${t}`, a),
|
|
148
|
+
...o
|
|
149
|
+
});
|
|
150
|
+
}, o = ({ children: n, ...r }) => /* @__PURE__ */ t("div", {
|
|
151
|
+
className: "synnax-logo-watermark__container",
|
|
152
|
+
children: [/* @__PURE__ */ e(a, {
|
|
153
|
+
className: "synnax-logo-watermark",
|
|
154
|
+
...r
|
|
155
|
+
}), n]
|
|
156
|
+
}), s = a;
|
|
157
|
+
s.Watermark = o;
|
|
158
|
+
//#endregion
|
|
159
|
+
export { s as Logo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synnaxlabs/media",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Media Assets for Synnax Labs",
|
|
6
6
|
"repository": "https://github.com/synnaxlabs/synnax/tree/main/x/media",
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"clsx": "^2.1.1",
|
|
17
17
|
"react": "^19.2.4",
|
|
18
|
-
"react-icons": "^5.
|
|
18
|
+
"react-icons": "^5.6.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@types/node": "^25.
|
|
22
|
-
"@types/react": "^19.2.
|
|
23
|
-
"@vitejs/plugin-react": "^
|
|
24
|
-
"eslint": "^
|
|
21
|
+
"@types/node": "^25.5.0",
|
|
22
|
+
"@types/react": "^19.2.14",
|
|
23
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
24
|
+
"eslint": "^10.1.0",
|
|
25
25
|
"madge": "^8.0.0",
|
|
26
|
-
"stylelint": "^17.
|
|
27
|
-
"typescript": "^
|
|
28
|
-
"vite": "^
|
|
26
|
+
"stylelint": "^17.6.0",
|
|
27
|
+
"typescript": "^6.0.2",
|
|
28
|
+
"vite": "^8.0.3",
|
|
29
29
|
"@synnaxlabs/tsconfig": "^0.0.0",
|
|
30
|
-
"@synnaxlabs/stylelint-config": "^0.0.0",
|
|
31
30
|
"@synnaxlabs/eslint-config": "^0.0.0",
|
|
32
|
-
"@synnaxlabs/vite-plugin": "^0.0.0"
|
|
31
|
+
"@synnaxlabs/vite-plugin": "^0.0.0",
|
|
32
|
+
"@synnaxlabs/stylelint-config": "^0.0.0"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist"
|