@embededitor/free 1.0.1 → 1.1.1

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/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*! Embed Editor Free 1.0.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
1
+ /*! Embed Editor Free 1.1.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
2
2
  import { ForwardRefExoticComponent } from 'react';
3
3
  import { RefAttributes } from 'react';
4
4
 
@@ -815,11 +815,11 @@ export declare type EmbedEditorHandle = {
815
815
  }) => Promise<null>;
816
816
  /**
817
817
  * The ratio, by its name in the Aspect section, as a tap on it there: its largest window, where Focus places it.
818
- * `null` frees it, the window as it is (with the Aspect section open, the one it opened on, as Free there gives
819
- * back). The ratio in effect changes nothing. `NOT_AVAILABLE` while the host locks the ratio.
818
+ * `'ORIGINAL'` is the photo's own ratio as it is turned. `null` frees it, the window as it is, as Free there does.
819
+ * The ratio in effect changes nothing. `NOT_AVAILABLE` while the host locks the ratio.
820
820
  */
821
821
  setRatio: (input: {
822
- ratio: '1:1' | '1:2' | '16:9' | '2:1' | '3:4' | '4:3' | '9:16' | null;
822
+ ratio: '1:1' | '1:2' | '16:9' | '2:1' | '3:4' | '4:3' | '9:16' | 'ORIGINAL' | null;
823
823
  }) => Promise<null>;
824
824
  /** The image straightened to the angle Adjust's ruler shows, −45…45 degrees, the photo turning under the window. */
825
825
  straighten: (input: {
@@ -1460,7 +1460,7 @@ export declare type LangTexts = Partial<Record<MessageKey, string>>;
1460
1460
  * each with its English text. Written out here (the d.ts carries no JSON), and held equal to the dictionary's keys by
1461
1461
  * src/types.spec.ts.
1462
1462
  */
1463
- export declare type MessageKey = 'annotateAddArrow' | 'annotateAddGuide' | 'annotateArrow' | 'annotateAttachText' | 'annotateBeside' | 'annotateBox' | 'annotateBringToFront' | 'annotateCapArrow' | 'annotateCapBar' | 'annotateCapDot' | 'annotateCapNone' | 'annotateCapTriangle' | 'annotateColorDefault' | 'annotateCorners' | 'annotateCornersRound' | 'annotateCornersSoft' | 'annotateCornersSquare' | 'annotateDetach' | 'annotateDraw' | 'annotateDuplicate' | 'annotateEnd' | 'annotateEnds' | 'annotateFieldDescription' | 'annotateFieldTitle' | 'annotateFill' | 'annotateFillMedium' | 'annotateFillOpaque' | 'annotateFillOutline' | 'annotateFillSoft' | 'annotateFont' | 'annotateFormat' | 'annotateInList' | 'annotateLens' | 'annotateLensCircle' | 'annotateLensRounded' | 'annotateLine' | 'annotateLineDashed' | 'annotateLineDotted' | 'annotateLineSketch' | 'annotateLineSolid' | 'annotateLineTransparent' | 'annotateList' | 'annotateListTitle' | 'annotateLook' | 'annotateLookBox' | 'annotateLookCaption' | 'annotateLookPlain' | 'annotateMark' | 'annotateMarkDot' | 'annotateMenuValue' | 'annotateMenuValues' | 'annotateNumber' | 'annotateOpenFailed' | 'annotatePadding' | 'annotatePaddingLoose' | 'annotatePaddingNormal' | 'annotatePaddingTight' | 'annotatePath' | 'annotatePathCurve' | 'annotatePathElbow' | 'annotatePathFree' | 'annotatePathRoundedElbow' | 'annotatePathStraight' | 'annotateRemove' | 'annotateRuler' | 'annotateRulerLabel' | 'annotateRulerPlaceholder' | 'annotateShape' | 'annotateShapeEllipse' | 'annotateShapeLine' | 'annotateShapeRect' | 'annotateShapeRounded' | 'annotateSize' | 'annotateSizeL' | 'annotateSizeM' | 'annotateSizeNameL' | 'annotateSizeNameM' | 'annotateSizeNameS' | 'annotateSizeS' | 'annotateStart' | 'annotateStroke' | 'annotateStrokeDashed' | 'annotateStrokeDotted' | 'annotateStrokeMarker' | 'annotateStrokeSketch' | 'annotateStrokeSolid' | 'annotateText' | 'annotateTextPlaceholder' | 'annotateTheme' | 'annotateThemeAccent' | 'annotateThemeDark' | 'annotateThemeLight' | 'annotateTools' | 'annotateType' | 'annotateTypeArrow' | 'annotateTypeCustom' | 'annotateTypeDashed' | 'annotateTypeDouble' | 'annotateTypeLeader' | 'annotateTypeLine' | 'annotateTypeTrail' | 'annotateWeight' | 'annotateWeightExtraThick' | 'annotateWeightExtraThin' | 'annotateWeightMedium' | 'annotateWeightMediumThick' | 'annotateWeightMediumThin' | 'annotateWeightThick' | 'annotateWeightThin' | 'annotateZoom' | 'annotateZoomValue' | 'aspectFree' | 'autoFailed' | 'autoTimedOut' | 'autoTurnOn' | 'browserUnsupported' | 'buttonAnnotate' | 'buttonCancel' | 'buttonChooseAnother' | 'buttonChooseFile' | 'buttonClose' | 'buttonCopy' | 'buttonDone' | 'buttonFlip' | 'buttonFocus' | 'buttonRecenter' | 'buttonRedo' | 'buttonReset' | 'buttonResetConfirm' | 'buttonRotateLeft' | 'buttonSave' | 'buttonSaved' | 'buttonShare' | 'buttonUndo' | 'color' | 'colorBlack' | 'colorBlue' | 'colorCode' | 'colorCream' | 'colorCustom' | 'colorGreen' | 'colorKraft' | 'colorLavender' | 'colorMint' | 'colorMore' | 'colorNavy' | 'colorOchre' | 'colorOlive' | 'colorPaper' | 'colorPhoto' | 'colorPick' | 'colorPickFailed' | 'colorRed' | 'colorRose' | 'colorShades' | 'colorSky' | 'colorViolet' | 'colorWhite' | 'colorYellow' | 'compareOriginal' | 'cropAspectRatio' | 'cropScale' | 'dialogLabel' | 'errorCopyFailed' | 'errorExportFailed' | 'errorInvalidProps' | 'errorInvalidState' | 'errorLoadFailed' | 'errorMarkFailed' | 'errorShareFailed' | 'errorUnsupportedFormat' | 'errorWebglUnavailable' | 'filterDramatic' | 'filterDramaticCool' | 'filterDramaticWarm' | 'filterIntensity' | 'filterMono' | 'filterNoir' | 'filterOriginal' | 'filterSilvertone' | 'filterVivid' | 'filterVividCool' | 'filterVividWarm' | 'finetuneAuto' | 'finetuneBlackPoint' | 'finetuneBrightness' | 'finetuneBrilliance' | 'finetuneContrast' | 'finetuneExposure' | 'finetuneHighlights' | 'finetuneSaturation' | 'finetuneShadows' | 'finetuneSharpness' | 'finetuneVibrance' | 'finetuneVignette' | 'finetuneWarmth' | 'focusCenter' | 'focusFailed' | 'focusSubject' | 'frameCornerHooks' | 'frameEdgeCross' | 'frameEdgeOverlap' | 'frameEdgeSeparate' | 'frameFilm' | 'frameGallery' | 'frameLineMultiple' | 'frameLineSingle' | 'frameMatRound' | 'frameMatSharp' | 'frameNone' | 'framePhotoCorners' | 'framePolaroid' | 'frameRoundCorners' | 'imageCopied' | 'markAdjustment' | 'markAngle' | 'markColor' | 'markColorAuto' | 'markEditText' | 'markFailedSignature' | 'markFailedWatermark' | 'markFont' | 'markFontValue' | 'markGrid' | 'markLayout' | 'markMargin' | 'markOpacity' | 'markRetry' | 'markShow' | 'markSignature' | 'markSingle' | 'markSize' | 'markSkippedSignature' | 'markSkippedWatermark' | 'markSpacing' | 'markText' | 'markWatermark' | 'noticeAreasVisible' | 'noticeClose' | 'noticeDropped' | 'noticeDroppedAnnotations' | 'noticeDroppedAuto' | 'noticeDroppedFilter' | 'noticeDroppedFinetune' | 'noticeDroppedFrame' | 'noticeDroppedHiddenAreas' | 'noticeDroppedSignature' | 'noticeDroppedWatermark' | 'obfuscateDelete' | 'obfuscateHint' | 'obfuscateLimit' | 'obfuscateShape' | 'obfuscateShapeRound' | 'obfuscateShapeRounded' | 'obfuscateShapeSquare' | 'obfuscateStyle' | 'obfuscateStyleBlur' | 'obfuscateStylePixelate' | 'obfuscateStyleSolid' | 'palette' | 'paletteEarth' | 'palettePastel' | 'palettePhoto' | 'palettePhotoPastel' | 'palettePhotoVivid' | 'paletteVibrant' | 'pickerDescription' | 'pickerFormats' | 'pickerTitle' | 'pickerTitleTouch' | 'resetConfirmHint' | 'resizeHeight' | 'resizeWidth' | 'shareReady' | 'statusLoading' | 'toolAdjust' | 'toolFilter' | 'toolFrame' | 'toolObfuscate' | 'toolResize' | 'toolsLabel';
1463
+ export declare type MessageKey = 'annotateAddArrow' | 'annotateAddGuide' | 'annotateArrow' | 'annotateAttachText' | 'annotateBeside' | 'annotateBox' | 'annotateBringToFront' | 'annotateCapArrow' | 'annotateCapBar' | 'annotateCapDot' | 'annotateCapNone' | 'annotateCapTriangle' | 'annotateColorDefault' | 'annotateCorners' | 'annotateCornersRound' | 'annotateCornersSoft' | 'annotateCornersSquare' | 'annotateDetach' | 'annotateDraw' | 'annotateDuplicate' | 'annotateEnd' | 'annotateEnds' | 'annotateFieldDescription' | 'annotateFieldTitle' | 'annotateFill' | 'annotateFillMedium' | 'annotateFillOpaque' | 'annotateFillOutline' | 'annotateFillSoft' | 'annotateFont' | 'annotateFormat' | 'annotateInList' | 'annotateLens' | 'annotateLensCircle' | 'annotateLensRounded' | 'annotateLine' | 'annotateLineDashed' | 'annotateLineDotted' | 'annotateLineSketch' | 'annotateLineSolid' | 'annotateLineTransparent' | 'annotateList' | 'annotateListTitle' | 'annotateLook' | 'annotateLookBox' | 'annotateLookCaption' | 'annotateLookPlain' | 'annotateMark' | 'annotateMarkDot' | 'annotateMenuValue' | 'annotateMenuValues' | 'annotateNumber' | 'annotateOpenFailed' | 'annotatePadding' | 'annotatePaddingLoose' | 'annotatePaddingNormal' | 'annotatePaddingTight' | 'annotatePath' | 'annotatePathCurve' | 'annotatePathElbow' | 'annotatePathFree' | 'annotatePathRoundedElbow' | 'annotatePathStraight' | 'annotateRemove' | 'annotateRuler' | 'annotateRulerLabel' | 'annotateRulerPlaceholder' | 'annotateShape' | 'annotateShapeEllipse' | 'annotateShapeLine' | 'annotateShapeRect' | 'annotateShapeRounded' | 'annotateSize' | 'annotateSizeL' | 'annotateSizeM' | 'annotateSizeNameL' | 'annotateSizeNameM' | 'annotateSizeNameS' | 'annotateSizeS' | 'annotateStart' | 'annotateStroke' | 'annotateStrokeDashed' | 'annotateStrokeDotted' | 'annotateStrokeMarker' | 'annotateStrokeSketch' | 'annotateStrokeSolid' | 'annotateText' | 'annotateTextPlaceholder' | 'annotateTheme' | 'annotateThemeAccent' | 'annotateThemeDark' | 'annotateThemeLight' | 'annotateTools' | 'annotateType' | 'annotateTypeArrow' | 'annotateTypeCustom' | 'annotateTypeDashed' | 'annotateTypeDouble' | 'annotateTypeLeader' | 'annotateTypeLine' | 'annotateTypeTrail' | 'annotateWeight' | 'annotateWeightExtraThick' | 'annotateWeightExtraThin' | 'annotateWeightMedium' | 'annotateWeightMediumThick' | 'annotateWeightMediumThin' | 'annotateWeightThick' | 'annotateWeightThin' | 'annotateZoom' | 'annotateZoomValue' | 'aspectFree' | 'aspectOriginal' | 'autoFailed' | 'autoTimedOut' | 'autoTurnOn' | 'browserUnsupported' | 'buttonAnnotate' | 'buttonCancel' | 'buttonChooseAnother' | 'buttonChooseFile' | 'buttonClose' | 'buttonCopy' | 'buttonDone' | 'buttonFlip' | 'buttonFocus' | 'buttonRecenter' | 'buttonRedo' | 'buttonReset' | 'buttonResetConfirm' | 'buttonRotateLeft' | 'buttonSave' | 'buttonSaved' | 'buttonShare' | 'buttonUndo' | 'color' | 'colorBlack' | 'colorBlue' | 'colorCode' | 'colorCream' | 'colorCustom' | 'colorGreen' | 'colorKraft' | 'colorLavender' | 'colorMint' | 'colorMore' | 'colorNavy' | 'colorOchre' | 'colorOlive' | 'colorPaper' | 'colorPhoto' | 'colorPick' | 'colorPickFailed' | 'colorRed' | 'colorRose' | 'colorShades' | 'colorSky' | 'colorViolet' | 'colorWhite' | 'colorYellow' | 'compareOriginal' | 'cropAspectRatio' | 'cropScale' | 'dialogLabel' | 'errorCopyFailed' | 'errorExportFailed' | 'errorInvalidProps' | 'errorInvalidState' | 'errorLoadFailed' | 'errorMarkFailed' | 'errorShareFailed' | 'errorUnsupportedFormat' | 'errorWebglUnavailable' | 'filterDramatic' | 'filterDramaticCool' | 'filterDramaticWarm' | 'filterIntensity' | 'filterMono' | 'filterNoir' | 'filterOriginal' | 'filterSilvertone' | 'filterVivid' | 'filterVividCool' | 'filterVividWarm' | 'finetuneAuto' | 'finetuneBlackPoint' | 'finetuneBrightness' | 'finetuneBrilliance' | 'finetuneContrast' | 'finetuneExposure' | 'finetuneHighlights' | 'finetuneSaturation' | 'finetuneShadows' | 'finetuneSharpness' | 'finetuneVibrance' | 'finetuneVignette' | 'finetuneWarmth' | 'focusCenter' | 'focusFailed' | 'focusSubject' | 'frameCornerHooks' | 'frameEdgeCross' | 'frameEdgeOverlap' | 'frameEdgeSeparate' | 'frameFilm' | 'frameGallery' | 'frameLineMultiple' | 'frameLineSingle' | 'frameMatRound' | 'frameMatSharp' | 'frameNone' | 'framePhotoCorners' | 'framePolaroid' | 'frameRoundCorners' | 'imageCopied' | 'markAdjustment' | 'markAngle' | 'markColor' | 'markColorAuto' | 'markEditText' | 'markFailedSignature' | 'markFailedWatermark' | 'markFont' | 'markFontValue' | 'markGrid' | 'markLayout' | 'markMargin' | 'markOpacity' | 'markRetry' | 'markShow' | 'markSignature' | 'markSingle' | 'markSize' | 'markSkippedSignature' | 'markSkippedWatermark' | 'markSpacing' | 'markText' | 'markWatermark' | 'noticeAreasVisible' | 'noticeClose' | 'noticeDropped' | 'noticeDroppedAnnotations' | 'noticeDroppedAuto' | 'noticeDroppedFilter' | 'noticeDroppedFinetune' | 'noticeDroppedFrame' | 'noticeDroppedHiddenAreas' | 'noticeDroppedSignature' | 'noticeDroppedWatermark' | 'obfuscateDelete' | 'obfuscateHint' | 'obfuscateLimit' | 'obfuscateShape' | 'obfuscateShapeRound' | 'obfuscateShapeRounded' | 'obfuscateShapeSquare' | 'obfuscateStyle' | 'obfuscateStyleBlur' | 'obfuscateStylePixelate' | 'obfuscateStyleSolid' | 'palette' | 'paletteEarth' | 'palettePastel' | 'palettePhoto' | 'palettePhotoPastel' | 'palettePhotoVivid' | 'paletteVibrant' | 'pickerDescription' | 'pickerFormats' | 'pickerTitle' | 'pickerTitleTouch' | 'resetConfirmHint' | 'resizeHeight' | 'resizeWidth' | 'shareReady' | 'statusLoading' | 'toolAdjust' | 'toolFilter' | 'toolFrame' | 'toolObfuscate' | 'toolResize' | 'toolsLabel';
1464
1464
 
1465
1465
  export declare const openEditor: (options?: Omit< EmbedEditorProps, "layout">) => EmbedEditorHandle & {
1466
1466
  close: () => void;
package/react.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Embed Editor Free 1.0.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
1
+ /*! Embed Editor Free 1.1.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
2
2
  "use client";
3
- import { i as e, n as t, r as n, t as r } from "./react-DghRlaED.js";
3
+ import { i as e, n as t, r as n, t as r } from "./react-BGWJgOK5.js";
4
4
  export { n as EmbedEditor, e as EmbedEditorError, r as openEditor, t as processImage };
@@ -1,4 +1,4 @@
1
- /*! Embed Editor Free 1.0.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
1
+ /*! Embed Editor Free 1.1.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
2
2
  var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {
3
3
  if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
4
4
  get: ((e) => i[e]).bind(null, d),