@weasel-js/hud 1.11.1 → 1.12.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./tool-B5AjewKP.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./tool-DfJuN7jP.js";
2
2
  import { createViewportLayer as f, pathFromD as p, screenToWorld as m, textCommandFromRuns as h, viewToTransform as g } from "@weasel-js/core";
3
3
  import { clamp as _, identity as v, mat3 as y, multiply as b, pathFromD as x, rotateAboutPoint as S, roundRectPath as C, scale as w, translate as T } from "@weasel-js/geom";
4
4
  import { expandVars as E, parseBoxShadow as D, resolveCurrentColor as O, tokenPx as k } from "@weasel-js/theme";
@@ -1,4 +1,4 @@
1
- import { n as e, o as t, r as n } from "../tool-B5AjewKP.js";
1
+ import { n as e, o as t, r as n } from "../tool-DfJuN7jP.js";
2
2
  import { resolveTheme as r, weaselTheme as i } from "@weasel-js/theme";
3
3
  import { useEffect as a, useMemo as o, useState as s } from "react";
4
4
  import { useThemeOptional as c } from "@weasel-js/theme/react";
@@ -1236,7 +1236,8 @@ function fe(e, t) {
1236
1236
  target: { kindOf: X("pointer") },
1237
1237
  mods: J
1238
1238
  },
1239
- actionId: "hud.press"
1239
+ actionId: "hud.press",
1240
+ opts: { id: "weasel-hud.press" }
1240
1241
  },
1241
1242
  {
1242
1243
  spec: {
@@ -1244,7 +1245,8 @@ function fe(e, t) {
1244
1245
  target: { kindOf: X("pointer") },
1245
1246
  mods: J
1246
1247
  },
1247
- actionId: "hud.release"
1248
+ actionId: "hud.release",
1249
+ opts: { id: "weasel-hud.release" }
1248
1250
  },
1249
1251
  {
1250
1252
  spec: {
@@ -1252,7 +1254,8 @@ function fe(e, t) {
1252
1254
  target: { kindOf: X("pointer") },
1253
1255
  mods: J
1254
1256
  },
1255
- actionId: "hud.drag"
1257
+ actionId: "hud.drag",
1258
+ opts: { id: "weasel-hud.drag" }
1256
1259
  },
1257
1260
  {
1258
1261
  spec: {
@@ -1260,7 +1263,8 @@ function fe(e, t) {
1260
1263
  target: { kindOf: X("doubleClick") },
1261
1264
  mods: J
1262
1265
  },
1263
- actionId: "hud.doubleClick"
1266
+ actionId: "hud.doubleClick",
1267
+ opts: { id: "weasel-hud.doubleClick" }
1264
1268
  },
1265
1269
  {
1266
1270
  spec: {
@@ -1268,7 +1272,8 @@ function fe(e, t) {
1268
1272
  target: { kindOf: X("contextMenu") },
1269
1273
  mods: J
1270
1274
  },
1271
- actionId: "hud.contextMenu"
1275
+ actionId: "hud.contextMenu",
1276
+ opts: { id: "weasel-hud.contextMenu" }
1272
1277
  },
1273
1278
  {
1274
1279
  spec: {
@@ -1276,7 +1281,8 @@ function fe(e, t) {
1276
1281
  target: { kindOf: X("longPress") },
1277
1282
  mods: J
1278
1283
  },
1279
- actionId: "hud.longPress"
1284
+ actionId: "hud.longPress",
1285
+ opts: { id: "weasel-hud.longPress" }
1280
1286
  },
1281
1287
  {
1282
1288
  spec: {
@@ -1284,7 +1290,8 @@ function fe(e, t) {
1284
1290
  target: { kindOf: X("wheel") },
1285
1291
  mods: J
1286
1292
  },
1287
- actionId: "hud.wheel"
1293
+ actionId: "hud.wheel",
1294
+ opts: { id: "weasel-hud.wheel" }
1288
1295
  }
1289
1296
  ]
1290
1297
  };
@@ -1292,4 +1299,4 @@ function fe(e, t) {
1292
1299
  //#endregion
1293
1300
  export { R as a, N as c, b as d, x as f, L as i, S as l, fe as n, I as o, W as r, A as s, q as t, C as u };
1294
1301
 
1295
- //# sourceMappingURL=tool-B5AjewKP.js.map
1302
+ //# sourceMappingURL=tool-DfJuN7jP.js.map