kritzel-stencil 0.3.29 → 0.3.30

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.
@@ -22893,6 +22893,7 @@ class KritzelObjectMap {
22893
22893
  undo() {
22894
22894
  if (this._undoManager && this._undoManager.canUndo()) {
22895
22895
  this._undoManager.undo();
22896
+ this._core?.anchorManager.rebuildIndex();
22896
22897
  this._core?.engine.emitObjectsChange();
22897
22898
  }
22898
22899
  }
@@ -22903,6 +22904,7 @@ class KritzelObjectMap {
22903
22904
  redo() {
22904
22905
  if (this._undoManager && this._undoManager.canRedo()) {
22905
22906
  this._undoManager.redo();
22907
+ this._core?.anchorManager.rebuildIndex();
22906
22908
  this._core?.engine.emitObjectsChange();
22907
22909
  }
22908
22910
  }
@@ -31235,7 +31237,7 @@ const KritzelPortal = class {
31235
31237
  * This file is auto-generated by the version bump scripts.
31236
31238
  * Do not modify manually.
31237
31239
  */
31238
- const KRITZEL_VERSION = '0.3.29';
31240
+ const KRITZEL_VERSION = '0.3.30';
31239
31241
 
31240
31242
  const kritzelSettingsCss = () => `:host{display:contents}kritzel-dialog{--kritzel-dialog-body-padding:0;--kritzel-dialog-width-large:800px;--kritzel-dialog-height-large:500px}.footer-button{padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px}.cancel-button{border:1px solid #ebebeb;background:#fff;color:inherit}.cancel-button:hover{background:#f5f5f5}.settings-content{padding:0}.settings-content h3{margin:0 0 16px 0;font-size:18px;font-weight:600;color:var(--kritzel-settings-content-heading-color, #333333)}.settings-content p{margin:0;font-size:14px;color:var(--kritzel-settings-content-text-color, #666666);line-height:1.5}.settings-group{display:flex;flex-direction:column;gap:24px}.settings-item{display:flex;flex-direction:column;gap:8px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-label{font-size:14px;font-weight:600;color:var(--kritzel-settings-label-color, #333333);margin:0 0 4px 0}.settings-description{font-size:12px;color:var(--kritzel-settings-description-color, #888888);margin:0;line-height:1.4}.shortcuts-list{display:flex;flex-direction:column;gap:24px}.shortcuts-category{display:flex;flex-direction:column;gap:8px}.shortcuts-category-title{font-size:14px;font-weight:600;color:var(--kritzel-settings-label-color, #333333);margin:0 0 4px 0}.shortcuts-group{display:flex;flex-direction:column;gap:4px}.shortcut-item{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;border-radius:4px;background:var(--kritzel-settings-shortcut-item-bg, rgba(0, 0, 0, 0.02))}.shortcut-label{font-size:14px;color:var(--kritzel-settings-content-text-color, #666666)}.shortcut-key{font-family:monospace;font-size:12px;padding:2px 8px;border-radius:4px;background:var(--kritzel-settings-shortcut-key-bg, #f0f0f0);color:var(--kritzel-settings-shortcut-key-color, #333333);border:1px solid var(--kritzel-settings-shortcut-key-border, #ddd)}`;
31241
31243