@ckeditor/ckeditor5-utils 47.1.0 → 47.2.0-alpha.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/README.md +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/dom/position.d.ts +4 -0
- package/src/dom/position.js +4 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/version.d.ts +1 -1
- package/src/version.js +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@ CKEditor 5 utilities
|
|
|
2
2
|
========================================
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils)
|
|
5
|
-
[](https://codecov.io/gh/ckeditor/ckeditor5)
|
|
6
6
|
[](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5?branch=master)
|
|
7
7
|
|
|
8
8
|
Various utilities used by CKEditor 5 and its features. This is a sort of CKEditor 5's standard library.
|
package/dist/index.js
CHANGED
|
@@ -987,9 +987,9 @@ function isObject(structure) {
|
|
|
987
987
|
];
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
-
const version = '47.
|
|
990
|
+
const version = '47.2.0-alpha.0';
|
|
991
991
|
// The second argument is not a month. It is `monthIndex` and starts from `0`.
|
|
992
|
-
const releaseDate = new Date(2025, 9,
|
|
992
|
+
const releaseDate = new Date(2025, 9, 29);
|
|
993
993
|
/* istanbul ignore next -- @preserve */ if (globalThis.CKEDITOR_VERSION) {
|
|
994
994
|
/**
|
|
995
995
|
* This error is thrown when, due to a mistake in the way CKEditor 5 was installed,
|
|
@@ -3744,6 +3744,9 @@ const rectProperties = [
|
|
|
3744
3744
|
viewportRect.height -= viewportOffsetConfig.top;
|
|
3745
3745
|
viewportRect.bottom -= viewportOffsetConfig.bottom;
|
|
3746
3746
|
viewportRect.height -= viewportOffsetConfig.bottom;
|
|
3747
|
+
viewportRect.left += viewportOffsetConfig.left;
|
|
3748
|
+
viewportRect.right -= viewportOffsetConfig.right;
|
|
3749
|
+
viewportRect.width -= viewportOffsetConfig.left + viewportOffsetConfig.right;
|
|
3747
3750
|
return viewportRect;
|
|
3748
3751
|
}
|
|
3749
3752
|
/**
|
|
@@ -6590,5 +6593,5 @@ function getLicenseKeyPayload(licenseKey) {
|
|
|
6590
6593
|
return blockedFeatures.includes(licenseFeatureCode);
|
|
6591
6594
|
}
|
|
6592
6595
|
|
|
6593
|
-
export { CKEditorError, Collection, Config, DOCUMENTATION_URL, DomEmitterMixin, ElementReplacer, EmitterMixin, EventInfo, FocusTracker, KeystrokeHandler, Locale, ObservableMixin, Rect, ResizeObserver, _clear as _clearTranslations, _getEmitterId, _getEmitterListenedTo, getUserAgent as _getUserAgent, isAndroid as _isAndroid, isBlink as _isBlink, isGecko as _isGecko, isMac as _isMac, isMediaForcedColors as _isMediaForcedColors, isMotionReduced as _isMotionReduced, isRegExpUnicodePropertySupported as _isRegExpUnicodePropertySupported, isSafari as _isSafari, isWindows as _isWindows, isiOS as _isiOS, _setEmitterId, _translate, _unifyTranslations, abortableDebounce, add, areConnectedThroughProperties, collectStylesheets, compareArrays, count, crc32, createElement, decodeLicenseKey, delay, diff, diffToChanges, env, exponentialDelay, fastDiff, findClosestScrollableAncestor, first, formatHtml, getAncestors, getBorderWidths, getCode, getCommonAncestor, getDataFromElement, getEnvKeystrokeText, getLanguageDirection, getLocalizedArrowKeyCodeDirection, getOptimalPosition, getPositionedAncestor, getRangeFromMouseEvent, getVisualViewportOffset, globalVar as global, indexOf, insertAt, insertToPriorityArray, isArrowKeyCode, isCombiningMark, isComment, isFeatureBlockedByLicenseKey, isForwardArrowKeyCode, isHighSurrogateHalf, isInsideCombinedSymbol, isInsideEmojiSequence, isInsideSurrogatePair, isIterable, isLowSurrogateHalf, isNode, isRange, isText, isValidAttributeName, isViewWithFocusTracker, isVisible, isWindow, keyCodes, logError, logWarning, mapsEqual, nth, objectToMap, parseBase64EncodedObject, parseKeystroke, priorities, releaseDate, remove, retry, scrollAncestorsToShowTarget, scrollViewportToShowTarget, setDataInElement, spliceArray, spy, toArray, toMap, toUnit, uid, version, wait };
|
|
6596
|
+
export { CKEditorError, Collection, Config, DOCUMENTATION_URL, DomEmitterMixin, ElementReplacer, EmitterMixin, EventInfo, FocusTracker, KeystrokeHandler, Locale, ObservableMixin, Rect, ResizeObserver, _clear as _clearTranslations, _getEmitterId, _getEmitterListenedTo, getUserAgent as _getUserAgent, isAndroid as _isAndroid, isBlink as _isBlink, isGecko as _isGecko, isMac as _isMac, isMediaForcedColors as _isMediaForcedColors, isMotionReduced as _isMotionReduced, isRegExpUnicodePropertySupported as _isRegExpUnicodePropertySupported, isSafari as _isSafari, isWindows as _isWindows, isiOS as _isiOS, _setEmitterId, _translate, _unifyTranslations, abortableDebounce, add, areConnectedThroughProperties, collectStylesheets, compareArrays, count, crc32, createElement, decodeLicenseKey, delay, diff, diffToChanges, env, exponentialDelay, fastDiff, findClosestScrollableAncestor, first, formatHtml, getAncestors, getBorderWidths, getCode, getCommonAncestor, getConstrainedViewportRect, getDataFromElement, getEnvKeystrokeText, getLanguageDirection, getLocalizedArrowKeyCodeDirection, getOptimalPosition, getPositionedAncestor, getRangeFromMouseEvent, getVisualViewportOffset, globalVar as global, indexOf, insertAt, insertToPriorityArray, isArrowKeyCode, isCombiningMark, isComment, isFeatureBlockedByLicenseKey, isForwardArrowKeyCode, isHighSurrogateHalf, isInsideCombinedSymbol, isInsideEmojiSequence, isInsideSurrogatePair, isIterable, isLowSurrogateHalf, isNode, isRange, isText, isValidAttributeName, isViewWithFocusTracker, isVisible, isWindow, keyCodes, logError, logWarning, mapsEqual, nth, objectToMap, parseBase64EncodedObject, parseKeystroke, priorities, releaseDate, remove, retry, scrollAncestorsToShowTarget, scrollViewportToShowTarget, setDataInElement, spliceArray, spy, toArray, toMap, toUnit, uid, version, wait };
|
|
6594
6597
|
//# sourceMappingURL=index.js.map
|