ooxml-ui 1.8.1 → 1.8.3

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/xlsx.js CHANGED
@@ -1,11 +1,11 @@
1
- import './chunk-KF72ZA6V.js';
1
+ import './chunk-CTPXTRDT.js';
2
2
  import { syncRibbonAddIns } from './chunk-W6AV3GHC.js';
3
3
  export { RIBBON_ADD_IN_EVENT } from './chunk-W6AV3GHC.js';
4
4
  import { defineSmartArt } from './chunk-PXIYHFZ5.js';
5
- import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-7US5GCXF.js';
6
- export { XLSX_EDITOR_EVENTS } from './chunk-7US5GCXF.js';
5
+ import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-SUHT5S2P.js';
6
+ export { XLSX_EDITOR_EVENTS } from './chunk-SUHT5S2P.js';
7
7
  import './chunk-SNV6YKPC.js';
8
- import { shadcnBridge } from './chunk-BCH2ZLWI.js';
8
+ import { shadcnBridge } from './chunk-S6ZXU442.js';
9
9
  import { range_control_default, createRibbonOverflow, defineBackstage, defineRibbon, defineRibbonActions, defineTitleBar, defineStatusBar, defineZoomSlider, rangeControl, defineDialog, runKeyTips, assignKeyTips, defineCheckbox, defineGallery, defineColorGrid, defineContextMenu, defineCommentsPane, parseSvgPreview } from './chunk-O7APCA5N.js';
10
10
  import { getIcon, registerIcon } from './chunk-M6GF5ED2.js';
11
11
  import { definePresence } from './chunk-L7JV5FVE.js';
@@ -8929,7 +8929,8 @@ function createGradientStopTrack(doc) {
8929
8929
  const previous = drag;
8930
8930
  drag = void 0;
8931
8931
  paintStops(current.stops);
8932
- element.querySelectorAll("button")[previous.index]?.style.setProperty("left", `calc(${previous.origin}% - 7px)`);
8932
+ const buttons = element.querySelectorAll("button");
8933
+ buttons[previous.index]?.style.setProperty("left", `calc(${previous.origin}% - 7px)`);
8933
8934
  current.onPreview?.(previous.index, void 0);
8934
8935
  if (element.hasPointerCapture?.(previous.pointer))
8935
8936
  element.releasePointerCapture(previous.pointer);
@@ -8994,7 +8995,8 @@ function createGradientStopTrack(doc) {
8994
8995
  );
8995
8996
  if (value === drag.value) return;
8996
8997
  drag.value = value;
8997
- element.querySelectorAll("button")[drag.index]?.style.setProperty("left", `calc(${value}% - 7px)`);
8998
+ const buttons = element.querySelectorAll("button");
8999
+ buttons[drag.index]?.style.setProperty("left", `calc(${value}% - 7px)`);
8998
9000
  paintStops(
8999
9001
  current.stops.map(
9000
9002
  (stop, index) => index === drag.index ? { ...stop, position: value } : stop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ooxml-ui",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "Shared, format-neutral web components and styles for the Office viewers (Word, PowerPoint, Excel)",
5
5
  "keywords": [
6
6
  "custom-elements",
@@ -140,13 +140,13 @@
140
140
  "test": "vitest run",
141
141
  "test:package": "node scripts/package-smoke.mjs",
142
142
  "gen:manifest": "node scripts/gen-manifest.mjs",
143
- "test:pptx": "vitest run --project pptx --project pptx-isolated"
143
+ "test:pptx": "vitest run --project 'pptx*'"
144
144
  },
145
145
  "dependencies": {
146
146
  "dompurify": "^3.4.16",
147
147
  "emf-converter": "4.11.2",
148
148
  "lit": "^3.3.3",
149
- "ooxml-core": "^1.8.1",
149
+ "ooxml-core": "^1.8.2",
150
150
  "opentype.js": "^2.0.0",
151
151
  "prosemirror-collab": "^1.3.1",
152
152
  "prosemirror-commands": "^1.7.2",