@kolkrabbi/design-editor 0.15.0 → 0.16.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.
@@ -4363,7 +4363,7 @@ function Vn({ stage: e, selected: t, onSelect: n, onToggle: r, onRemove: i, onUp
4363
4363
  onKeyDown: (e) => {
4364
4364
  (e.key === "Enter" || e.key === " ") && n();
4365
4365
  },
4366
- className: `flex items-center gap-1 px-2 h-8 rounded cursor-pointer ${t ? "bg-fg-08" : "hover:bg-fg-04"}`,
4366
+ className: `flex items-center gap-1 px-2 h-8 rounded cursor-pointer ${t ? "bg-oq-08" : "hover:bg-oq-04"}`,
4367
4367
  children: [
4368
4368
  u(l ? "Disable effect" : "Enable effect", r, !1, /* @__PURE__ */ I(ie, {
4369
4369
  name: l ? "eye-on" : "eye-off",
@@ -4430,7 +4430,7 @@ function Hn({ sweeps: e, onChange: t, inline: r = !1 }) {
4430
4430
  e.map((e, t) => {
4431
4431
  let n = e.enabled !== !1, o = e.target === "reveal", u = et.has(e.shape ?? "linear");
4432
4432
  return /* @__PURE__ */ L("div", {
4433
- className: "flex flex-col gap-2 p-2 rounded bg-fg-04",
4433
+ className: "flex flex-col gap-2 p-2 rounded bg-oq-04",
4434
4434
  children: [/* @__PURE__ */ L("div", {
4435
4435
  className: "flex items-center gap-2",
4436
4436
  children: [r ? /* @__PURE__ */ L(F, { children: [
package/dist/effects.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./effects-DzHdDgL4.js";
1
+ import { t as e } from "./effects-B743CHEU.js";
2
2
  export { e as effects };
@@ -2,7 +2,7 @@ import { Ft as e, S as t, V as n, Xt as r, Zt as i, a, c as o, i as s, j as c, l
2
2
  import { A as ee, F as _, I as te, L as ne, M as v, N as y, P as b, Q as x, R as re, X as S, Y as C, Z as w, a as ie, c as ae, d as T, f as E, i as oe, j as D, l as O, n as k, o as se, p as ce, s as A, u as j } from "./registry-CSOtIU7o.js";
3
3
  import { a as M, i as le, n as N, t as ue, y as P } from "./TreePicker-D5XZT0Zi.js";
4
4
  import { n as F, t as de } from "./useLayerEdit-BDXtPeAP.js";
5
- import { i as fe, t as pe } from "./RuleRow-4eAy_jzf.js";
5
+ import { i as fe, t as pe } from "./RuleRow-DlouS36V.js";
6
6
  import { Button as I, CurveEditor as L, Dropdown as R, KeyframeEditor as me, LabeledControl as z, LabeledControlSection as he, SegmentedToggle as ge, SettingsRow as _e, Slider as ve, Tooltip as B, ViewToggle as ye, XYPad as be } from "@kolkrabbi/kol-component";
7
7
  import { useEffect as xe, useRef as Se, useState as Ce } from "react";
8
8
  import { Fragment as V, jsx as H, jsxs as U } from "react/jsx-runtime";
@@ -1347,7 +1347,7 @@ function st({ layer: e, patch: t, camParams: n, isEngine: r, showHeader: i = !1
1347
1347
  onClick: () => {
1348
1348
  let i = {};
1349
1349
  for (let e of n) i[e.key] = e.default;
1350
- t(i), r && import("./host-DiI1hniH.js").then((t) => t.hostAction?.(e.id, "resetCamera")).catch(() => {});
1350
+ t(i), r && import("./host-bXQMgZeW.js").then((t) => t.hostAction?.(e.id, "resetCamera")).catch(() => {});
1351
1351
  },
1352
1352
  children: "Reset"
1353
1353
  })]
@@ -1899,7 +1899,7 @@ function Dt({ layer: e }) {
1899
1899
  let n = u.length - 1 - t, r = u[n];
1900
1900
  return /* @__PURE__ */ U("div", {
1901
1901
  onClick: () => h(n),
1902
- className: `flex items-center gap-2 pl-2 pr-1 py-1 rounded cursor-pointer kol-helper-12 ${n === d ? "bg-[color-mix(in_srgb,var(--kol-accent-primary)_26%,transparent)] text-emphasis" : "text-body hover:bg-fg-04 hover:text-emphasis"}`,
1902
+ className: `flex items-center gap-2 pl-2 pr-1 py-1 rounded cursor-pointer kol-helper-12 ${n === d ? "bg-[color-mix(in_srgb,var(--kol-accent-primary)_26%,transparent)] text-emphasis" : "text-body hover:bg-oq-04 hover:text-emphasis"}`,
1903
1903
  children: [
1904
1904
  /* @__PURE__ */ H("span", {
1905
1905
  className: "kol-helper-10 text-meta shrink-0",
@@ -2572,7 +2572,7 @@ var Nt = {
2572
2572
  buildParatypeFlattenGroup: je,
2573
2573
  LoopPicker: Me,
2574
2574
  LoopFields: Mt,
2575
- loadGlHost: () => import("./host-DiI1hniH.js")
2575
+ loadGlHost: () => import("./host-bXQMgZeW.js")
2576
2576
  };
2577
2577
  i("generators", Nt);
2578
2578
  //#endregion
@@ -1,2 +1,2 @@
1
- import { t as e } from "./generators-DG5yqNy1.js";
1
+ import { t as e } from "./generators-B0uhjxUs.js";
2
2
  export { e as generators };
@@ -1,7 +1,7 @@
1
1
  import { Ft as e } from "./rolls-CkmuE-Ya.js";
2
2
  import { C as t, D as n, E as r, J as i, O as a, S as o, T as s, _ as c, b as l, g as u, h as d, k as f, m as p, v as m, w as h, x as g, y as _ } from "./registry-CSOtIU7o.js";
3
3
  import { a as v } from "./TreePicker-D5XZT0Zi.js";
4
- import { a as y, i as ee, o as te, r as b } from "./generators-DG5yqNy1.js";
4
+ import { a as y, i as ee, o as te, r as b } from "./generators-B0uhjxUs.js";
5
5
  import { $ as ne, A as x, B as re, C as ie, D as ae, E as oe, F as se, G as S, H as ce, I as le, J as ue, K as de, L as fe, N as C, O as pe, P as me, Q as he, R as ge, S as _e, T as ve, U as ye, V as be, W as w, X as T, Y as E, Z as xe, _ as Se, a as D, at as O, b as Ce, c as we, ct as k, d as A, et as Te, f as j, g as M, i as N, it as P, k as Ee, l as F, lt as De, m as Oe, n as ke, nt as Ae, o as je, ot as I, p as Me, q as Ne, r as L, rt as Pe, s as Fe, st as Ie, t as R, tt as Le, u as z, v as Re, w as B, x as V, y as H, z as ze } from "./OrbitControls-Cql8Rn2i.js";
6
6
  //#region src/loops/gl/DriftEngine.js
7
7
  var Be = {