@pie-players/pie-tool-annotation-toolbar 0.3.21 → 0.3.22

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.
@@ -3229,6 +3229,7 @@ var va = class {
3229
3229
  };
3230
3230
  }, It = /* @__PURE__ */ new Map(), Ea = "__pieToolElementUnmount", Yn = Object.freeze([1.5, 2]), Oa = (e) => {
3231
3231
  if (!Array.isArray(e)) return [...Yn];
3232
+ if (e.length === 0) return [];
3232
3233
  const t = /* @__PURE__ */ new Set();
3233
3234
  for (const r of e) {
3234
3235
  if (typeof r != "number" || !Number.isFinite(r) || r <= 0) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-tool-annotation-toolbar",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "type": "module",
5
5
  "description": "Text annotation toolbar with highlighting and underlining for PIE assessment player",
6
6
  "repository": {
@@ -41,8 +41,8 @@
41
41
  "unpkg": "./dist/tool-annotation-toolbar.js",
42
42
  "jsdelivr": "./dist/tool-annotation-toolbar.js",
43
43
  "dependencies": {
44
- "@pie-players/pie-assessment-toolkit": "0.3.21",
45
- "@pie-players/pie-players-shared": "0.3.21"
44
+ "@pie-players/pie-assessment-toolkit": "0.3.22",
45
+ "@pie-players/pie-players-shared": "0.3.22"
46
46
  },
47
47
  "types": "./dist/index.d.ts",
48
48
  "scripts": {