@kolkrabbi/design-editor 0.16.0 → 0.17.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.
@@ -3406,7 +3406,7 @@ var Da = [
3406
3406
  "/editor": "editor",
3407
3407
  "/labs": "labs",
3408
3408
  "/randomiser": "randomiser"
3409
- }, za = () => typeof window > "u" ? null : Ra[window.location.pathname] ?? null, Ba = () => k("generators"), Va = () => k("effects"), Ha = (e) => Ba()?.loopById(e) ?? null, Ua = (e) => Va()?.filterById(e) ?? null, Wa = (e) => Ba().groupById(e), Ga = (e) => Ba()?.presetsInGroup(e) ?? [], Ka = (e, t) => Ba()?.presetsInSub(e, t) ?? [], qa = (e) => Ba().presetParams(e), Ja = (e) => Va()?.effectCategories(e) ?? [], Ya = i.map((e) => ({
3409
+ }, za = () => typeof window > "u" ? null : Ra[`/${window.location.pathname.replace(/\/+$/, "").split("/").pop()}`] ?? null, Ba = () => k("generators"), Va = () => k("effects"), Ha = (e) => Ba()?.loopById(e) ?? null, Ua = (e) => Va()?.filterById(e) ?? null, Wa = (e) => Ba().groupById(e), Ga = (e) => Ba()?.presetsInGroup(e) ?? [], Ka = (e, t) => Ba()?.presetsInSub(e, t) ?? [], qa = (e) => Ba().presetParams(e), Ja = (e) => Va()?.effectCategories(e) ?? [], Ya = i.map((e) => ({
3410
3410
  value: e.id,
3411
3411
  label: e.label
3412
3412
  })), Xa = {
@@ -3503,7 +3503,7 @@ function Qa() {
3503
3503
  children: [
3504
3504
  /* @__PURE__ */ Y(ht, {
3505
3505
  variant: "ghost",
3506
- size: "sm",
3506
+ size: "md",
3507
3507
  value: v ?? "",
3508
3508
  onCommit: oe,
3509
3509
  placeholder: "Untitled",
@@ -12185,4 +12185,4 @@ function pd({ mediaProxyBase: e, mediaClient: t, settingsStore: n } = {}) {
12185
12185
  });
12186
12186
  }
12187
12187
  //#endregion
12188
- export { ya as A, Jn as B, za as C, Pa as D, Ma as E, Ur as F, pn as G, Ln as H, Ir as I, Gt as L, la as M, Vr as N, Aa as O, Br as P, $n as R, ka as S, Oa as T, zn as U, Xn as V, Rn as W, cn as _, dd as a, no as b, id as c, Qu as d, ed as f, pl as g, ou as h, cd as i, ga as j, _a as k, od as l, Uu as m, fd as n, ud as o, Ju as p, sd as r, td as s, pd as t, Zu as u, ol as v, La as w, Da as x, go as y, Qn as z };
12188
+ export { Aa as A, $n as B, Da as C, Oa as D, La as E, Vr as F, zn as G, Jn as H, Br as I, Rn as K, Ur as L, ya as M, ga as N, Ma as O, la as P, Ir as R, no as S, za as T, Xn as U, Qn as V, Ln as W, cn as _, dd as a, rl as b, id as c, Qu as d, ed as f, pl as g, ou as h, cd as i, _a as j, Pa as k, od as l, Uu as m, fd as n, ud as o, Ju as p, pn as q, sd as r, td as s, pd as t, Zu as u, ol as v, ka as w, go as x, il as y, Gt as z };
package/dist/core.js CHANGED
@@ -1,3 +1,3 @@
1
- import { Zt as e } from "./rolls-CkmuE-Ya.js";
2
- import { A as t, B as n, C as r, D as i, E as a, F as o, H as s, I as c, N as l, O as u, P as d, R as f, S as p, U as m, V as h, W as g, a as _, c as v, d as y, f as b, j as x, k as S, l as C, o as w, p as T, r as E, s as D, t as O, u as k, x as A } from "./core-B78-YLQh.js";
3
- export { S as AppSettingsSections, f as BRAND, O as DesignEditor, O as default, t as DisplaySettingsDrawer, T as EditorProviders, c as FilesDialog, s as GeneratorLibraryProvider, m as LIBRARY_SLOT_KEYS, A as MODES, k as OutputCanvas, y as OutputStage, b as OutputView, D as RAIL_EXTRA_PREFIX, p as VIEW_PATHS, l as closeFiles, n as comboLabel, r as currentView, E as isMobileDevice, d as openFiles, e as registerPack, a as setMode, i as setNavigator, v as setRailExtras, _ as setWantsDesktop, h as shortcutsBySection, o as useFilesDialog, g as useGeneratorLibrary, C as useRailExtras, x as useSettingsSections, w as wantsDesktop, u as withView };
1
+ import { Zt as e, at as t } from "./rolls-CkmuE-Ya.js";
2
+ import { A as n, B as r, C as i, F as a, G as o, H as s, I as c, K as l, L as u, M as d, N as f, O as p, R as m, T as h, U as g, W as _, a as v, b as y, c as b, d as x, f as S, j as C, k as w, l as T, o as E, p as D, r as O, s as k, t as A, u as j, w as M, y as N } from "./core-Cq8xJc_c.js";
3
+ export { C as AppSettingsSections, r as BRAND, A as DesignEditor, A as default, d as DisplaySettingsDrawer, D as EditorProviders, m as FilesDialog, _ as GeneratorLibraryProvider, o as LIBRARY_SLOT_KEYS, i as MODES, j as OutputCanvas, x as OutputStage, S as OutputView, k as RAIL_EXTRA_PREFIX, M as VIEW_PATHS, a as closeFiles, s as comboLabel, h as currentView, O as isMobileDevice, c as openFiles, e as registerPack, N as setMediaClient, y as setMediaProxyBase, p as setMode, w as setNavigator, b as setRailExtras, t as setSettingsStore, v as setWantsDesktop, g as shortcutsBySection, u as useFilesDialog, l as useGeneratorLibrary, T as useRailExtras, f as useSettingsSections, E as wantsDesktop, n as withView };