@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.
@@ -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-Cnu6g8th.js";
3
- import { m as s, s as c, u as l } from "./morphStore-s-rjCe-y.js";
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 { F as e, L as t, Sr as n, Yn as r, Zn as i, br as a, gr as o, qn as s, vr as c } from "./rolls-Cnu6g8th.js";
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 = a[e];
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 e of g) e.outline && n(e.key);
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(s, {
147
+ return /* @__PURE__ */ d(n, {
148
148
  variant: "subtle",
149
- size: t(),
149
+ size: r(),
150
150
  className: "w-full",
151
151
  ...e
152
152
  });
153
153
  }
154
- function M({ label: t, options: n, value: a, onChange: o, children: s, inline: c = !0 }) {
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: a,
157
+ value: r,
158
158
  onChange: o
159
159
  });
160
160
  return c ? /* @__PURE__ */ d(i, {
161
- label: t,
161
+ label: e,
162
162
  align: "fill",
163
- labelWidth: e,
163
+ labelWidth: t,
164
164
  children: l
165
- }) : /* @__PURE__ */ d(r, {
166
- label: t,
165
+ }) : /* @__PURE__ */ d(a, {
166
+ label: e,
167
167
  children: l
168
168
  });
169
169
  }