@ckeditor/ckeditor5-widget 0.0.0-nightly-20250617.0 → 0.0.0-nightly-20250619.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.

Potentially problematic release.


This version of @ckeditor/ckeditor5-widget might be problematic. Click here for more details.

package/dist/index.js CHANGED
@@ -2335,7 +2335,7 @@ function isWidgetSelected(selection) {
2335
2335
 
2336
2336
  /**
2337
2337
  * Stores the internal state of a single resizable object.
2338
- */ class ResizeState extends /* #__PURE__ */ ObservableMixin() {
2338
+ */ class WidgetResizeState extends /* #__PURE__ */ ObservableMixin() {
2339
2339
  /**
2340
2340
  * The reference point of the resizer where the dragging started. It is used to measure the distance the user cursor
2341
2341
  * traveled, so how much the image should be enlarged.
@@ -2639,7 +2639,7 @@ function isWidgetSelected(selection) {
2639
2639
  * @fires begin
2640
2640
  * @param domResizeHandle Clicked handle.
2641
2641
  */ begin(domResizeHandle) {
2642
- this._state = new ResizeState(this._options);
2642
+ this._state = new WidgetResizeState(this._options);
2643
2643
  this._sizeView._bindToState(this._options, this.state);
2644
2644
  this._initialViewWidth = this._options.viewElement.getStyle('width');
2645
2645
  this.state.begin(domResizeHandle, this._getHandleHost(), this._getResizeHost());
@@ -3063,5 +3063,5 @@ function existsInDom(element) {
3063
3063
  }
3064
3064
  }
3065
3065
 
3066
- export { WIDGET_CLASS_NAME, WIDGET_SELECTED_CLASS_NAME, Widget, WidgetHighlightStack, WidgetResize, WidgetResizer, WidgetToolbarRepository, WidgetTypeAround, TYPE_AROUND_SELECTION_ATTRIBUTE as _WIDGET_TYPE_AROUND_SELECTION_ATTRIBUTE, SizeView as _WidgetSizeView, getClosestTypeAroundDomButton as _getClosestWidgetTypeAroundDomButton, getClosestWidgetViewElement as _getClosestWidgetViewElement, getTypeAroundButtonPosition as _getWidgetTypeAroundButtonPosition, getTypeAroundFakeCaretPosition as _getWidgetTypeAroundFakeCaretPosition, calculateResizeHostAncestorWidth, calculateResizeHostPercentageWidth, findOptimalInsertionRange, getLabel, isTypeAroundWidget, isWidget, setHighlightHandling, setLabel, toWidget, toWidgetEditable, verticalWidgetNavigationHandler, viewToModelPositionOutsideModelElement };
3066
+ export { WIDGET_CLASS_NAME, WIDGET_SELECTED_CLASS_NAME, Widget, WidgetHighlightStack, WidgetResize, WidgetResizeState, WidgetResizer, WidgetToolbarRepository, WidgetTypeAround, TYPE_AROUND_SELECTION_ATTRIBUTE as _WIDGET_TYPE_AROUND_SELECTION_ATTRIBUTE, SizeView as _WidgetSizeView, getClosestTypeAroundDomButton as _getClosestWidgetTypeAroundDomButton, getClosestWidgetViewElement as _getClosestWidgetViewElement, getTypeAroundButtonPosition as _getWidgetTypeAroundButtonPosition, getTypeAroundFakeCaretPosition as _getWidgetTypeAroundFakeCaretPosition, calculateResizeHostAncestorWidth, calculateResizeHostPercentageWidth, findOptimalInsertionRange, getLabel, isTypeAroundWidget, isWidget, setHighlightHandling, setLabel, toWidget, toWidgetEditable, verticalWidgetNavigationHandler, viewToModelPositionOutsideModelElement };
3067
3067
  //# sourceMappingURL=index.js.map