@kolkrabbi/design-editor 0.48.0 → 0.49.1
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/README.md +18 -0
- package/dist/{BindDot-Cx-M0iQt.js → BindDot-BAAc-KSs.js} +1 -1
- package/dist/{KolboxView-BjYfn_tl.js → KolboxView-D-HMCPnW.js} +3137 -5182
- package/dist/{Timeline-CRr43b4B.js → Timeline-BH3BF2m4.js} +2 -2
- package/dist/{TreePicker-DXsAlHK6.js → TreePicker-RImJ6I_0.js} +11 -11
- package/dist/{core-BbKj9Svq.js → core-DyfKZlBI.js} +2213 -2185
- package/dist/core.js +5 -5
- package/dist/design-editor.css +1 -1
- package/dist/design-editor.js +6 -6
- package/dist/{effectCategories-wHY9ih8L.js → effectCategories-B5jhXEyy.js} +21 -21
- package/dist/effects-BAwNQ8Kj.js +447 -0
- package/dist/effects.js +1 -1
- package/dist/{generators-BtRZ3Stj.js → generators-OCg5XjTX.js} +838 -838
- package/dist/generators.js +1 -1
- package/dist/{host-II9SeVCH.js → host-DS-pAjP0.js} +2 -2
- package/dist/kolbox-pages.js +2218 -0
- package/dist/kolbox.css +1 -1
- package/dist/{morphStore-s-rjCe-y.js → morphStore-D6xiYiR_.js} +1 -1
- package/dist/{motion-CKtZAccJ.js → motion-p5pHH9_J.js} +95 -95
- package/dist/motion.js +1 -1
- package/dist/portable-Cdl5s09F.js +2129 -0
- package/dist/{rolls-Cnu6g8th.js → rolls-ZToBSscx.js} +1 -1
- package/dist/{src-3UkpFoNW.js → src-PZgdetsA.js} +416 -416
- package/dist/{store-YIW6P2zN.js → store-BDAxvWTE.js} +1 -1
- package/dist/{useLayerEdit-W_Tf3adq.js → useLayerEdit-D6vwfIoB.js} +90 -90
- package/package.json +9 -6
- package/dist/effects-D7J0e5xl.js +0 -447
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as e, o as t, s as n } from "./__vite-browser-external-y2xWjzgx.js";
|
|
2
|
-
import { D as r, J as i, M as a, N as o } from "./rolls-
|
|
3
|
-
import { m as s, s as c, u as l } from "./morphStore-
|
|
2
|
+
import { D as r, J as i, M as a, N as o } from "./rolls-ZToBSscx.js";
|
|
3
|
+
import { m as s, s as c, u as l } from "./morphStore-D6xiYiR_.js";
|
|
4
4
|
import { Button as u, Dropdown as d, Input as f, Tooltip as p, floatSurfaceClass as m, useGrabEdge as h } from "@kolkrabbi/kol-component";
|
|
5
5
|
import { Fragment as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
6
6
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cr as e, F as t, Jn as n, L as r, Qn as i, Xn as a, _r as o, xr as s, yr as c } from "./rolls-ZToBSscx.js";
|
|
2
2
|
import { embedFontFace as l } from "@kolkrabbi/kol-component";
|
|
3
3
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
4
4
|
//#region src/kinetic/fonts.js
|
|
5
5
|
var p = (e, t) => {
|
|
6
|
-
let n =
|
|
6
|
+
let n = s[e];
|
|
7
7
|
return {
|
|
8
8
|
key: e,
|
|
9
9
|
label: n.label,
|
|
@@ -80,7 +80,7 @@ var C = !1;
|
|
|
80
80
|
async function w() {
|
|
81
81
|
if (!(C || typeof FontFace > "u")) {
|
|
82
82
|
C = !0;
|
|
83
|
-
for (let
|
|
83
|
+
for (let t of g) t.outline && e(t.key);
|
|
84
84
|
for (let e of g) {
|
|
85
85
|
if (e.outline) continue;
|
|
86
86
|
let t = {}, n = e.axes.find((e) => e.tag === "wght"), r = e.axes.find((e) => e.tag === "wdth");
|
|
@@ -144,26 +144,26 @@ function A(e) {
|
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region src/editor/compose/inspectors/TreePicker.jsx
|
|
146
146
|
function j(e) {
|
|
147
|
-
return /* @__PURE__ */ d(
|
|
147
|
+
return /* @__PURE__ */ d(n, {
|
|
148
148
|
variant: "subtle",
|
|
149
|
-
size:
|
|
149
|
+
size: r(),
|
|
150
150
|
className: "w-full",
|
|
151
151
|
...e
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
function M({ label:
|
|
154
|
+
function M({ label: e, options: n, value: r, onChange: o, children: s, inline: c = !0 }) {
|
|
155
155
|
let l = s ?? /* @__PURE__ */ d(j, {
|
|
156
156
|
options: n,
|
|
157
|
-
value:
|
|
157
|
+
value: r,
|
|
158
158
|
onChange: o
|
|
159
159
|
});
|
|
160
160
|
return c ? /* @__PURE__ */ d(i, {
|
|
161
|
-
label:
|
|
161
|
+
label: e,
|
|
162
162
|
align: "fill",
|
|
163
|
-
labelWidth:
|
|
163
|
+
labelWidth: t,
|
|
164
164
|
children: l
|
|
165
|
-
}) : /* @__PURE__ */ d(
|
|
166
|
-
label:
|
|
165
|
+
}) : /* @__PURE__ */ d(a, {
|
|
166
|
+
label: e,
|
|
167
167
|
children: l
|
|
168
168
|
});
|
|
169
169
|
}
|