@synnaxlabs/pluto 0.46.1 → 0.46.3
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/{Toggle-Djy3iEFS.js → Toggle-BvHOvpZl.js} +1 -1
- package/dist/{Toggle-D7uuc8BY.cjs → Toggle-YrCaaWoP.cjs} +1 -1
- package/dist/{Video-Com7iIjJ.js → Video-B3mUCF7w.js} +1 -1
- package/dist/{Video-BgaQjOlJ.cjs → Video-PX9PWa1_.cjs} +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/color.cjs +1 -1
- package/dist/color.js +1 -1
- package/dist/css-BJh3xDSW.cjs +8 -0
- package/dist/{css-qKD7ZG81.js → css-C24hS2UX.js} +903 -875
- package/dist/css.cjs +1 -1
- package/dist/css.js +2 -2
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/ether.cjs +1 -1
- package/dist/ether.js +6 -6
- package/dist/{external-CfY-kR5_.js → external-1ucYXJx8.js} +2 -2
- package/dist/{external-CwtqVaYf.js → external-BN2wbDrK.js} +3 -3
- package/dist/{external-Bfddv9ir.cjs → external-BwkIuXvQ.cjs} +1 -1
- package/dist/{external-CG-WeHt1.js → external-C-ExavVe.js} +3 -3
- package/dist/{external-C0szVQZ4.js → external-CC9QgzfY.js} +3 -3
- package/dist/{external-BwAIT4Et.js → external-Cg3K8ETl.js} +4 -4
- package/dist/{external-Bp0LGk7L.cjs → external-ChJFeBx4.cjs} +1 -1
- package/dist/{external-BwzXukg6.js → external-ChfziUeG.js} +2 -2
- package/dist/{external-fThC1Pt0.js → external-Ck9vwLNn.js} +3 -3
- package/dist/{external-iLU86byd.cjs → external-Clg5_LVL.cjs} +1 -1
- package/dist/{external-BatQDwpn.cjs → external-CtPQhs2L.cjs} +1 -1
- package/dist/{external-R1DnhHJ8.cjs → external-D-7LQcc1.cjs} +1 -1
- package/dist/{external-ok-onqCX.cjs → external-D7ez6YFA.cjs} +1 -1
- package/dist/{external-CtIn5ns5.js → external-DSC98ftR.js} +3 -3
- package/dist/{external-JI_JLXE9.cjs → external-DcJjrD1A.cjs} +2 -2
- package/dist/{external-qAqWNZPd.cjs → external-DfxokOST.cjs} +1 -1
- package/dist/{external-DPsERPGZ.js → external-Dia3MCeO.js} +3 -3
- package/dist/external-Dxu0KYI_.cjs +1 -0
- package/dist/{external-BH7AW9vg.cjs → external-NOoRXXaT.cjs} +1 -1
- package/dist/{external-B_BNwXoG.js → external-RDyCOmKR.js} +21 -21
- package/dist/{external-BXAiwKcS.js → external-S4v-IR_C.js} +3 -3
- package/dist/{external-CaehDJtX.cjs → external-VIR_Vvod.cjs} +1 -1
- package/dist/{external-BqSq3_g3.js → external-mtaOrZVh.js} +2 -2
- package/dist/{external-DZ9ZLLOd.cjs → external-orHcg1KY.cjs} +1 -1
- package/dist/{external-CM-K5NTq.js → external-ree9J7kb.js} +1 -1
- package/dist/{external-DLIuO7_6.cjs → external-s4B9EjQm.cjs} +1 -1
- package/dist/flex.cjs +1 -1
- package/dist/flex.js +1 -1
- package/dist/{fontString-BpD7ezh8.cjs → fontString-BMITZjR-.cjs} +1 -1
- package/dist/{fontString-CpT1noV1.js → fontString-CNdpxtJg.js} +2 -2
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.js +4689 -4692
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{main-DCwBsS0F.js → main-9Dw_ngUE.js} +3 -3
- package/dist/{main-20msMsI6.cjs → main-rewFivKu.cjs} +30 -30
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/{provider-B-VPfAGa.js → provider-BMcIM58p.js} +3 -3
- package/dist/{provider-D295Uocj.cjs → provider-CedWF-id.cjs} +3 -3
- package/dist/{provider-qIzR8Puy.js → provider-DXuSQEu0.js} +2816 -2791
- package/dist/provider-DshN-WBB.cjs +83 -0
- package/dist/src/ontology/queries.d.ts +3 -10
- package/dist/src/ontology/queries.d.ts.map +1 -1
- package/dist/src/schematic/symbol/queries.d.ts +1 -3
- package/dist/src/schematic/symbol/queries.d.ts.map +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.js +2 -2
- package/dist/theming.cjs +1 -1
- package/dist/theming.js +2 -2
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/triggers.cjs +1 -1
- package/dist/triggers.js +1 -1
- package/dist/{units-WtYBE1br.js → units-BfWwpiDe.js} +1 -1
- package/dist/units-DOj-2MGY.cjs +1 -0
- package/dist/video.cjs +1 -1
- package/dist/video.js +1 -1
- package/package.json +6 -6
- package/dist/css-DA2F4zE4.cjs +0 -8
- package/dist/external-BaO1j7U1.cjs +0 -1
- package/dist/provider-DVqod4rl.cjs +0 -83
- package/dist/units-CLbZ5ejs.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./main-
|
|
1
|
+
"use strict";const e=require("./main-rewFivKu.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Dialog:e.Dialog,Frame:e.Frame,Trigger:e.Trigger,parseLocationOptions:e.parseLocationOptions,position:e.position,useContext:e.useContext,useInternalContext:e.useInternalContext},Symbol.toStringTag,{value:"Module"}));exports.external=t;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ag as I, ah as d, ai as h, aj as y, ak as A, al as S, am as M, an as C, ao as D, ap as E, aq as _, ar as j, as as w, at as x } from "./main-
|
|
1
|
+
import { ag as I, ah as d, ai as h, aj as y, ak as A, al as S, am as M, an as C, ao as D, ap as E, aq as _, ar as j, as as w, at as x } from "./main-9Dw_ngUE.js";
|
|
2
2
|
import { useMemo as p, useCallback as n } from "react";
|
|
3
3
|
import { u as G } from "./useKeysData-DXXVQfXZ.js";
|
|
4
|
-
import { a as g } from "./css-
|
|
4
|
+
import { a as g } from "./css-C24hS2UX.js";
|
|
5
5
|
import "./jsx-runtime-OVHDjVDe.js";
|
|
6
|
-
import "./provider-
|
|
6
|
+
import "./provider-DXuSQEu0.js";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
const R = ({
|
|
9
9
|
first: s,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./main-rewFivKu.cjs"),t=require("./Toggle-YrCaaWoP.cjs"),o=Object.freeze(Object.defineProperty({__proto__:null,Button:e.Button,Toggle:t.Toggle},Symbol.toStringTag,{value:"Module"}));exports.external=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./main-
|
|
1
|
+
"use strict";const e=require("./main-rewFivKu.cjs"),S=require("./jsx-runtime-Dszzpdy0.cjs"),t=require("./css-BJh3xDSW.cjs"),_=({itemKey:n,className:o,onClick:s,size:r,...u})=>{const{onClick:C,selected:c,level:l="p",gap:T,background:i}=e.useContext$2(),E=a=>{C(n),s?.(a)},x=c===n;return S.jsxRuntimeExports.jsx(e.Button,{contrast:i,level:l,overflow:"nowrap",onClick:E,variant:"text",className:t.CSS(t.CSS.B("menu-item"),t.CSS.selected(x),o),size:r,gap:T,...u})},d=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_MENU_CLASS:e.CONTEXT_MENU_CLASS,CONTEXT_SELECTED:e.CONTEXT_SELECTED,CONTEXT_TARGET:e.CONTEXT_TARGET,ContextMenu:e.ContextMenu,Divider:e.Divider,Item:_,Menu:e.Menu,useContext:e.useContext$2,useContextMenu:e.useContextMenu},Symbol.toStringTag,{value:"Module"}));exports.external=d;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as s } from "./jsx-runtime-OVHDjVDe.js";
|
|
2
|
-
import { au as v, c as N, G as A, s as o, av as C, aw as
|
|
3
|
-
import {
|
|
4
|
-
import "./provider-
|
|
2
|
+
import { au as v, c as N, G as A, s as o, av as C, aw as _, ax as w, ay as E, az as k, aA as z, aB as I, aC as L, aD as O, aE as T } from "./main-9Dw_ngUE.js";
|
|
3
|
+
import { X as V, C as n, p as X } from "./css-C24hS2UX.js";
|
|
4
|
+
import "./provider-DXuSQEu0.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const q = (a) => /* @__PURE__ */ s.jsx(v, { ...a, inputType: "checkbox" }), u = ({
|
|
8
8
|
className: a,
|
|
9
9
|
variant: t,
|
|
10
10
|
...e
|
|
@@ -13,7 +13,7 @@ const F = (a) => /* @__PURE__ */ s.jsx(v, { ...a, inputType: "checkbox" }), u =
|
|
|
13
13
|
{
|
|
14
14
|
className: n(n.B("input-help-text"), a),
|
|
15
15
|
color: 8,
|
|
16
|
-
status:
|
|
16
|
+
status: V.removeVariants(t, "success"),
|
|
17
17
|
level: "small",
|
|
18
18
|
...e
|
|
19
19
|
}
|
|
@@ -26,7 +26,7 @@ const F = (a) => /* @__PURE__ */ s.jsx(v, { ...a, inputType: "checkbox" }), u =
|
|
|
26
26
|
e,
|
|
27
27
|
" ",
|
|
28
28
|
t && /* @__PURE__ */ s.jsx("span", { className: n.B("required-indicator"), children: "*" })
|
|
29
|
-
] }),
|
|
29
|
+
] }), F = (a, t = "y") => a ?? (X.construct(t) === "y" ? "stretch" : "center"), G = ({
|
|
30
30
|
label: a,
|
|
31
31
|
showLabel: t = !0,
|
|
32
32
|
helpText: e,
|
|
@@ -58,7 +58,7 @@ const F = (a) => /* @__PURE__ */ s.jsx(v, { ...a, inputType: "checkbox" }), u =
|
|
|
58
58
|
className: n(n.BE("input", "item"), y),
|
|
59
59
|
direction: i,
|
|
60
60
|
gap: B,
|
|
61
|
-
align:
|
|
61
|
+
align: F(b, i),
|
|
62
62
|
...D,
|
|
63
63
|
children: [
|
|
64
64
|
j && /* @__PURE__ */ s.jsx(d, { required: h, children: a }),
|
|
@@ -66,24 +66,24 @@ const F = (a) => /* @__PURE__ */ s.jsx(v, { ...a, inputType: "checkbox" }), u =
|
|
|
66
66
|
]
|
|
67
67
|
}
|
|
68
68
|
));
|
|
69
|
-
},
|
|
69
|
+
}, K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
70
70
|
__proto__: null,
|
|
71
|
-
Checkbox:
|
|
71
|
+
Checkbox: q,
|
|
72
72
|
Date: C,
|
|
73
|
-
DateTime:
|
|
74
|
-
DragButton:
|
|
73
|
+
DateTime: _,
|
|
74
|
+
DragButton: w,
|
|
75
75
|
HelpText: u,
|
|
76
|
-
Item:
|
|
76
|
+
Item: G,
|
|
77
77
|
Label: d,
|
|
78
|
-
Numeric:
|
|
79
|
-
Switch:
|
|
80
|
-
Text:
|
|
81
|
-
Time:
|
|
82
|
-
combineDateAndTimeValue:
|
|
83
|
-
useDate:
|
|
84
|
-
useTime:
|
|
78
|
+
Numeric: E,
|
|
79
|
+
Switch: k,
|
|
80
|
+
Text: z,
|
|
81
|
+
Time: I,
|
|
82
|
+
combineDateAndTimeValue: L,
|
|
83
|
+
useDate: O,
|
|
84
|
+
useTime: T
|
|
85
85
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
86
86
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
G as I,
|
|
88
|
+
K as e
|
|
89
89
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as l } from "./jsx-runtime-OVHDjVDe.js";
|
|
2
|
-
import { C as o, j as y, Q as X, b as $, p as q } from "./css-
|
|
2
|
+
import { C as o, j as y, Q as X, b as $, p as q } from "./css-C24hS2UX.js";
|
|
3
3
|
import { createContext as z, use as J, useState as I, useCallback as j } from "react";
|
|
4
|
-
import { q as Q, m as U, s as B, B as k, aF as W, l as Y, k as K, aG as ee, c as te, E as ne, aH as se, aI as le, aJ as oe, aK as re } from "./main-
|
|
5
|
-
import { C as M, z as ae } from "./provider-
|
|
4
|
+
import { q as Q, m as U, s as B, B as k, aF as W, l as Y, k as K, aG as ee, c as te, E as ne, aH as se, aI as le, aJ as oe, aK as re } from "./main-9Dw_ngUE.js";
|
|
5
|
+
import { C as M, z as ae } from "./provider-DXuSQEu0.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import { z as f } from "zod";
|
|
8
8
|
const A = z({ tabs: [] }), R = A, w = () => J(A), _ = "tabs-selector", V = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./provider-
|
|
1
|
+
"use strict";const r=require("./provider-DshN-WBB.cjs"),e=require("./main-rewFivKu.cjs"),n=require("./fontString-BMITZjR-.cjs"),i=o=>{const{theme:t}=e.useContext$1(),s=t.typography[o];return{...s,toString:()=>n.fontString(t,{level:o}),baseSize:t.sizes.base,lineHeightPx:s.lineHeight*t.sizes.base,sizePx:s.size*t.sizes.base}},S=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,SYNNAX_DARK:r.SYNNAX_DARK,SYNNAX_LIGHT:r.SYNNAX_LIGHT,SYNNAX_THEMES:r.SYNNAX_THEMES,Switch:e.Switch,themeZ:r.themeZ,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext$1,useProvider:e.useProvider,useTypography:i},Symbol.toStringTag,{value:"Module"}));exports.external=S;exports.useTypography=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e } from "./main-
|
|
2
|
-
import { T as o } from "./Toggle-
|
|
1
|
+
import { B as e } from "./main-9Dw_ngUE.js";
|
|
2
|
+
import { T as o } from "./Toggle-BvHOvpZl.js";
|
|
3
3
|
const l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
Button: e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./provider-
|
|
1
|
+
"use strict";const e=require("./provider-DshN-WBB.cjs"),i=require("./main-rewFivKu.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,COMPONENT_SIZE_LEVELS:e.COMPONENT_SIZE_LEVELS,Editable:i.Editable,LEVELS:e.LEVELS,LEVEL_COMPONENT_SIZES:e.LEVEL_COMPONENT_SIZES,MaybeEditable:i.MaybeEditable,Text:i.Text,asyncEdit:i.asyncEdit,dimensions:e.dimensions,dimensionsFromMetrics:e.dimensionsFromMetrics,downLevel:e.downLevel,edit:i.edit,isSquare:i.isSquare,levelZ:e.levelZ,specZ:e.specZ,weightZ:e.weightZ},Symbol.toStringTag,{value:"Module"}));exports.external=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, F as o, T as t, p as a, a as r, u as s, b as n } from "./main-
|
|
1
|
+
import { D as e, F as o, T as t, p as a, a as r, u as s, b as n } from "./main-9Dw_ngUE.js";
|
|
2
2
|
const l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
Dialog: e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./main-
|
|
1
|
+
"use strict";const e=require("./main-rewFivKu.cjs"),f=require("./jsx-runtime-Dszzpdy0.cjs"),n=require("react"),o=require("./css-BJh3xDSW.cjs");require("./provider-DshN-WBB.cjs");const m=t=>{const{listen:i}=e.useContext$4(),[a,l]=n.useState([]);return n.useEffect(()=>i(({next:[r]})=>l(r??[])),[i,l]),f.jsxRuntimeExports.jsx(e.Text,{...t,children:a.join(" ")})},M=({onDrag:t,triggers:i=[["MouseLeft"],["MouseRight"]],bound:a,loose:l=!1})=>{const r=n.useRef(null),E=n.useRef(o.Q.ZERO),g=n.useCallback(s=>{const u=o.Q.construct(s);if(r.current===null)return;const{triggers:c}=r.current;t({box:o.jt.construct(E.current,u),cursor:u,triggers:c,stage:"during"})},[t]),d=n.useCallback(s=>{const{stage:u,cursor:c}=s;u==="start"?(t({box:o.jt.construct(c),...s}),window.addEventListener("mousemove",g),r.current=s,E.current=c):u==="end"&&r.current!=null&&(t({box:o.jt.construct(E.current,c),...s}),window.removeEventListener("mousemove",g),r.current=null,E.current=o.Q.ZERO)},[t]);e.use$1({triggers:i,callback:d,region:a,loose:l})},S=Object.freeze(Object.defineProperty({__proto__:null,ALPHANUMERIC_KEYS:e.ALPHANUMERIC_KEYS,ALPHANUMERIC_KEYS_SET:e.ALPHANUMERIC_KEYS_SET,KEYS:e.KEYS,MOUSE_KEYS:e.MOUSE_KEYS,MOUSE_LEFT_NUMBER:e.MOUSE_LEFT_NUMBER,MOUSE_MIDDLE_NUMBER:e.MOUSE_MIDDLE_NUMBER,MOUSE_RIGHT_NUMBER:e.MOUSE_RIGHT_NUMBER,Provider:e.Provider$1,Status:m,Text:e.Text$1,compareModeConfigs:e.compareModeConfigs,determineMode:e.determineMode,diff:e.diff,eventKey:e.eventKey,filter:e.filter,flattenConfig:e.flattenConfig,isAlphanumericKey:e.isAlphanumericKey,keyZ:e.keyZ,keyboardKey:e.keyboardKey,match:e.match,matchCallback:e.matchCallback,mouseKey:e.mouseKey,mouseKeyZ:e.mouseKeyZ,purge:e.purge,purgeMouse:e.purgeMouse,toSymbols:e.toSymbols,triggerZ:e.triggerZ,use:e.use$1,useContext:e.useContext$4,useDrag:M,useFlattenedMemoConfig:e.useFlattenedMemoConfig,useHeld:e.useHeld,useHeldRef:e.useHeldRef},Symbol.toStringTag,{value:"Module"}));exports.external=S;exports.useDrag=M;
|
package/dist/flex.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-CtPQhs2L.cjs");exports.Flex=e.external;
|
package/dist/flex.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./provider-
|
|
1
|
+
"use strict";const u=require("./provider-DshN-WBB.cjs");require("./css-BJh3xDSW.cjs");const n=[{weight:200,style:"light",value:"Inter 200, sans-serif"},{weight:300,value:"Inter Threee, sans-serif"},{weight:400,value:"Inter Four, sans-serif"},{weight:500,value:"Inter Five, sans-serif"},{weight:600,value:"Inter Six, sans-serif"},{weight:700,value:"Inter Seven, sans-serif"},{weight:800,value:"Inter Eight, sans-serif"},{weight:900,style:"bold",value:"Inter Nine, sans-serif"}],v=s=>n.find((t,e)=>e===n.length-1?!0:typeof s=="number"?s>=t.weight&&s<n[e+1].weight:t.style===s),y=(s,{level:t,weight:e,code:l})=>{const{typography:i,sizes:{base:o}}=s;let r=i.family;if(l)r=i.codeFamily;else if(e!=null){const f=v(e);f!=null?r=f.value:r="Inter Light, sans-serif"}const h=i[u.isSize(t)?u.COMPONENT_SIZE_LEVELS[t]:t].size,a=(o*h).toFixed(1),[c,g]=r.split(", ");return e!=null?` ${e} ${a}px ${c}, ${g}`:` ${a}px ${r}`};exports.fontString=y;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as g, C as y } from "./provider-
|
|
2
|
-
import "./css-
|
|
1
|
+
import { i as g, C as y } from "./provider-DXuSQEu0.js";
|
|
2
|
+
import "./css-C24hS2UX.js";
|
|
3
3
|
const r = [
|
|
4
4
|
{ weight: 200, style: "light", value: "Inter 200, sans-serif" },
|
|
5
5
|
{ weight: 300, value: "Inter Threee, sans-serif" },
|
package/dist/header.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-BwkIuXvQ.cjs");exports.Header=e.external;
|
package/dist/header.js
CHANGED