@fluidattacks/design 1.2.9 → 1.2.11
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/design.js +141 -62
- package/dist/design.mjs +772 -685
- package/dist/node_modules/@cloudinary/react/index.d.ts +4 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/By3dLutAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/FillLightAction.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ImproveAction.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/OpacityAdjustAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/RecolorAction.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ReplaceColorAction.d.ts +36 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/simple/ViesusCorrectAdjustAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust.d.ts +263 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/animated.d.ts +54 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/border.d.ts +101 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/CustomFunctionAction.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/RemoteAction.d.ts +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction.d.ts +25 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceFromICCAction.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryDPRAction.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryQualityAction.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery.d.ts +156 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/AssistColorBlind.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/BackgroundRemoval.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Blur.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Cartoonify.d.ts +38 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Colorize.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Dither.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/DropShadow.d.ts +40 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithBlend.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithLevel.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithStrength.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/LeveledEffectAction.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/SimpleEffectAction.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Extract.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeBackgroundReplace.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRecolor.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRemove.d.ts +25 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeReplace.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GradientFade.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Outline.d.ts +48 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/RemoveBackgroundAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Shadow.d.ts +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/SimulateColorBlind.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/StyleTransfer.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Theme.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Vectorize.d.ts +51 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Accelerate.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Blackwhite.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Deshake.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeIn.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeOut.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Loop.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/MakeTransparent.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/pixelate/Pixelate.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect.d.ts +516 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/layer/LayerAction.d.ts +75 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation/NamedTransformationAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/overlay.d.ts +48 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/ClipAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/GetLayerAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/SmartObjectAction.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools.d.ts +78 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAdvancedAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAutoPadAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeCropAction.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeFillAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFillAction.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFitAction.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitPadAction.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeMinimumPadAction.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizePadAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeScaleAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeSimpleAction.d.ts +52 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ThumbnailAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize.d.ts +234 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate/RotateAction.d.ts +34 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners/RoundCornersAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioCodecAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioFrequencyAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/BitRateAction.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSRangeAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/KeyframeIntervalsAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/StreamingProfile.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/ToAnimatedAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/VideoCodecAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode.d.ts +197 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/underlay.d.ts +50 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/ConcatenateAction.d.ts +56 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/PreviewAction.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/TrimAction.d.ts +50 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/VolumeAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit.d.ts +117 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/createCloudinaryLegacyURL.d.ts +2 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/expression.d.ts +160 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/transformation.d.ts +191 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/index.d.ts +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.d.ts +45 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IAudioSourceModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.d.ts +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IFetchSourceModel.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IImageSourceModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IStrokeModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ITextSourceModel.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/createGravityModel.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/GradientFade.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat/AnimatedFormatQualifierValue.d.ts +8 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat.d.ts +39 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/artisticFilter.d.ts +136 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio/AspectRatioQualifierValue.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio.d.ts +68 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioCodec.d.ts +40 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioFrequency.d.ts +100 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/autoFocus.d.ts +58 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BackgroundGenerativeFillQualifier.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BlurredBackgroundAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoBorderQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoPredominantQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BackgroundQualifier.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseCommonBackground.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseGradientBackground.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundBorderGradientQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundPredominantGradientQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background.d.ts +85 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/blendMode/BlendModeQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/chromaSubSampling.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/color.d.ts +685 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/colorSpace.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dither.d.ts +123 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dpr.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression/ExpressionQualifier.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/focusOn.d.ts +256 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontHinting.d.ts +35 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontStyle.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontWeight.d.ts +35 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format.d.ts +522 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection/GradientDirectionQualifierValue.d.ts +8 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection.d.ts +41 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/GravityQualifier.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/autoGravity/AutoGravity.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/compassGravity/CompassGravity.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/focusOnGravity/FocusOnGravity.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/compass/CompassQualifier.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/focusOn/FocusOnValue.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/xyCenterGravity/XYCenterGravity.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity.d.ts +97 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/improveMode.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/outlineMode.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position/PositionQualifier.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/quality.d.ts +81 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/CustomRegion.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/NamedRegion.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/RectangleRegion.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region.d.ts +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotate/RotationModeQualifierValue.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotationMode.d.ts +45 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/simulateColorBlind.d.ts +59 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/BaseSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/AudioSource.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/BaseTextSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/FetchSource.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/ImageSource.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/SubtitlesSource.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/TextSource.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/VideoSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source.d.ts +72 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/streamingProfile.d.ts +51 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textAlignment.d.ts +47 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textDecoration.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStroke.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStyle.d.ts +71 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/video/TimelinePosition.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/videoCodecType/VideoCodecType.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.d.ts +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.d.ts +196 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.d.ts +9 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/adjust.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/animated.d.ts +8 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/border.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/customFunction.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/delivery.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/effect.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/namedTransformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/overlay.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/psdTools.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/resize.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/rotate.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/roundCorners.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/transcode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/underlay.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/videoEdit.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions.d.ts +15 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.d.ts +112 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.d.ts +12 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryMedia.d.ts +33 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.d.ts +179 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.d.ts +26 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/createCloudinaryLegacyURL.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/expression.d.ts +160 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/generateTransformationString.d.ts +14 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/transformation.d.ts +191 -0
- package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.d.ts +4 -0
- package/dist/node_modules/@cloudinary/url-gen/config/CloudConfig.d.ts +26 -0
- package/dist/node_modules/@cloudinary/url-gen/config/CloudinaryConfig.d.ts +22 -0
- package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.d.ts +61 -0
- package/dist/node_modules/@cloudinary/url-gen/index.d.ts +16 -0
- package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.d.ts +13 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/GradientFade.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/animatedFormat.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/artisticFilter.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/aspectRatio.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioCodec.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioFrequency.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/background.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/chromaSubSampling.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/color.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/colorSpace.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/dither.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/dpr.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/expression.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontHinting.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontStyle.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontWeight.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/format.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/gradientDirection.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/gravity.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/improveMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/outlineMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/position.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/quality.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/region.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/rotationMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/simulateColorBlind.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/source.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/streamingProfile.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textAlignment.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textDecoration.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textStroke.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers.d.ts +31 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/ImageTransformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/Transformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/VideoTransformation.d.ts +2 -0
- package/dist/src/components/accordion/styles.d.ts +6 -0
- package/dist/src/components/accordion/types.d.ts +29 -0
- package/dist/src/components/accordion/utils.d.ts +11 -0
- package/dist/src/components/button/styles.d.ts +1 -0
- package/dist/src/components/button/types.d.ts +7 -3
- package/dist/src/components/button/utils.d.ts +3 -0
- package/dist/src/components/cloud-image/index.d.ts +3 -3
- package/dist/src/components/cloud-image/types.d.ts +2 -2
- package/dist/src/components/grid-layout/styles.d.ts +8 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/button/index.stories.d.ts +0 -10
- package/dist/src/components/container/index.stories.d.ts +0 -7
- package/dist/src/components/grid-layout/index.stories.d.ts +0 -5
- package/dist/src/components/tooltip/index.stories.d.ts +0 -8
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/ClipAction.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Defines the clipping path to use when trimming pixels.
|
|
4
|
+
* @extends SDK.Action
|
|
5
|
+
* @memberOf Actions.PSDTools
|
|
6
|
+
* @see Visit {@link Actions.PSDTools| PSDTools} for an example
|
|
7
|
+
*/
|
|
8
|
+
declare class ClipAction extends Action {
|
|
9
|
+
private path;
|
|
10
|
+
private isEvenOdd;
|
|
11
|
+
constructor();
|
|
12
|
+
/**
|
|
13
|
+
* @description The name of the path to clip by
|
|
14
|
+
* @param {string} path
|
|
15
|
+
* @return {this}
|
|
16
|
+
*/
|
|
17
|
+
byName(path: string): this;
|
|
18
|
+
/**
|
|
19
|
+
* @description The index of the path to clip by
|
|
20
|
+
* @param {number} path
|
|
21
|
+
* @return {this}
|
|
22
|
+
*/
|
|
23
|
+
byIndex(path: number): this;
|
|
24
|
+
/**
|
|
25
|
+
* @description Trims pixels according to a clipping path included in the original image using an evenodd clipping rule.
|
|
26
|
+
* @return {this}
|
|
27
|
+
*/
|
|
28
|
+
evenOdd(): this;
|
|
29
|
+
protected prepareQualifiers(): this;
|
|
30
|
+
}
|
|
31
|
+
export { ClipAction };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Represents a layer in a Photoshop document.
|
|
4
|
+
* </br><b>Learn more:</b> {@link https://cloudinary.com/documentation/paged_and_layered_media#deliver_selected_layers_of_a_psd_image|Deliver selected layers of a PSD image}
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
* @memberOf Actions.PSDTools
|
|
7
|
+
* @see Visit {@link Actions.PSDTools| PSDTools} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class GetLayerAction extends Action {
|
|
10
|
+
private name;
|
|
11
|
+
private qualifierValue;
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* @description deliver an image containing only specified layer of a Photoshop image from The layer index
|
|
15
|
+
* @param {string|number} from the index of the layer
|
|
16
|
+
*/
|
|
17
|
+
byIndex(from: string | number): this;
|
|
18
|
+
/**
|
|
19
|
+
* @description deliver an image containing only specified range of layers of a Photoshop image
|
|
20
|
+
* @param {string|number} from The layer number
|
|
21
|
+
* @param {string|number} to The layer number
|
|
22
|
+
*/
|
|
23
|
+
byRange(from: string | number, to: string | number): this;
|
|
24
|
+
/**
|
|
25
|
+
* @description deliver an image containing only specified layer by name of a Photoshop image
|
|
26
|
+
* @param {string|number} name The layer by name
|
|
27
|
+
*/
|
|
28
|
+
byName(name: string): this;
|
|
29
|
+
protected prepareQualifiers(): this;
|
|
30
|
+
}
|
|
31
|
+
export { GetLayerAction };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Represents an embedded smart object in a Photoshop document.
|
|
4
|
+
* </br><b>Learn more:</b> {@link https://cloudinary.com/documentation/paged_and_layered_media#extract_the_original_content_of_an_embedded_object|Extract the original content of an embedded Photoshop object}
|
|
5
|
+
* @extends SDK.Action
|
|
6
|
+
* @memberOf Actions.PSDTools
|
|
7
|
+
* @see Visit {@link Actions.PSDTools| PSDTools} for an example
|
|
8
|
+
*/
|
|
9
|
+
declare class SmartObjectAction extends Action {
|
|
10
|
+
private smartObjectValue;
|
|
11
|
+
private qualifierValue;
|
|
12
|
+
private useName;
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* @description Creates a new instance using the specified number.
|
|
16
|
+
* @param index The number.
|
|
17
|
+
*/
|
|
18
|
+
byIndex(index: string | number): this;
|
|
19
|
+
/**
|
|
20
|
+
* @description Creates an instance using the name.
|
|
21
|
+
* @param {string} layerName The name of the layer
|
|
22
|
+
*/
|
|
23
|
+
byLayerName(layerName: string): this;
|
|
24
|
+
protected prepareQualifiers(): void;
|
|
25
|
+
}
|
|
26
|
+
export { SmartObjectAction };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ClipAction } from './psdTools/ClipAction.js';
|
|
2
|
+
import { GetLayerAction } from './psdTools/GetLayerAction.js';
|
|
3
|
+
import { SmartObjectAction } from './psdTools/SmartObjectAction.js';
|
|
4
|
+
/**
|
|
5
|
+
* @namespace PSDTools
|
|
6
|
+
* @description Represents a layer in a Photoshop document.
|
|
7
|
+
* </br><b>Learn more:</b> {@link https://cloudinary.com/documentation/paged_and_layered_media#deliver_selected_layers_of_a_psd_image|Deliver selected layers of a PSD image}
|
|
8
|
+
* @memberOf Actions
|
|
9
|
+
* @example
|
|
10
|
+
* // See examples under each method
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @summary action
|
|
14
|
+
* @description Trims the pixels of a PSD image according to a Photoshop clipping path that is stored in the image's metadata.
|
|
15
|
+
* @memberOf Actions.PSDTools
|
|
16
|
+
* @return {Actions.PSDTools.ClipAction}
|
|
17
|
+
* @example
|
|
18
|
+
* import {Cloudinary} from '@cloudinary/url-gen';
|
|
19
|
+
* import {clip} from '@cloudinary/url-gen/actions/psdTools';
|
|
20
|
+
*
|
|
21
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
22
|
+
* const image = yourCldInstance.image('woman');
|
|
23
|
+
*
|
|
24
|
+
* image.psdTools(
|
|
25
|
+
* clip()
|
|
26
|
+
* .byName('foo') // either name, or number
|
|
27
|
+
* .byNumber(2) // either name, or number
|
|
28
|
+
* .evenOdd() // Use the evenodd clipping rule
|
|
29
|
+
* );
|
|
30
|
+
*/
|
|
31
|
+
declare function clip(): ClipAction;
|
|
32
|
+
/**
|
|
33
|
+
* @summary action
|
|
34
|
+
* @description Delivers an image containing only specified layers of a Photoshop image.
|
|
35
|
+
*
|
|
36
|
+
* <b>Learn more:</b> {@link https://cloudinary.com/documentation/paged_and_layered_media#deliver_selected_layers_of_a_psd_image|Deliver selected layers of a PSD image}
|
|
37
|
+
* @memberOf Actions.PSDTools
|
|
38
|
+
* @return {Actions.PSDTools.GetLayerAction}
|
|
39
|
+
* @example
|
|
40
|
+
* import {Cloudinary} from '@cloudinary/url-gen';
|
|
41
|
+
* import {getLayer} from '@cloudinary/url-gen/actions/psdTools';
|
|
42
|
+
*
|
|
43
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
44
|
+
* const image = yourCldInstance.image('woman');
|
|
45
|
+
*
|
|
46
|
+
* image.psdTools(
|
|
47
|
+
* getLayer()
|
|
48
|
+
* .byName('foo') // One of the three
|
|
49
|
+
* .byIndex(2) // One of the three
|
|
50
|
+
* .byRange(1, 3) // One of the three
|
|
51
|
+
* );
|
|
52
|
+
*/
|
|
53
|
+
declare function getLayer(): GetLayerAction;
|
|
54
|
+
/**
|
|
55
|
+
* @summary action
|
|
56
|
+
* @description Extracts the original content of an embedded object of a Photoshop image.
|
|
57
|
+
* @memberOf Actions.PSDTools
|
|
58
|
+
* @return {Actions.PSDTools.SmartObjectAction}
|
|
59
|
+
* @example
|
|
60
|
+
* import {Cloudinary} from '@cloudinary/url-gen';
|
|
61
|
+
* import {smartObject} from '@cloudinary/url-gen/actions/psdTools';
|
|
62
|
+
*
|
|
63
|
+
* const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
|
|
64
|
+
* const image = yourCldInstance.image('woman');
|
|
65
|
+
*
|
|
66
|
+
* image.psdTools(
|
|
67
|
+
* smartObject()
|
|
68
|
+
* .byLayerName('foo') // either name, or number
|
|
69
|
+
* .byIndex(2) // either name, or number
|
|
70
|
+
* );
|
|
71
|
+
*/
|
|
72
|
+
declare function smartObject(): SmartObjectAction;
|
|
73
|
+
declare const PSDTools: {
|
|
74
|
+
clip: typeof clip;
|
|
75
|
+
getLayer: typeof getLayer;
|
|
76
|
+
smartObject: typeof smartObject;
|
|
77
|
+
};
|
|
78
|
+
export { PSDTools, clip, getLayer, smartObject };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ResizeSimpleAction } from './ResizeSimpleAction.js';
|
|
2
|
+
import { IGravity } from '../../qualifiers/gravity/GravityQualifier.js';
|
|
3
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
4
|
+
import { IResizeAdvancedActionModel } from '../../internal/models/IResizeAdvancedActionModel.js';
|
|
5
|
+
/**
|
|
6
|
+
* @description Defines an advanced resize.
|
|
7
|
+
* @extends Actions.Resize.ResizeSimpleAction
|
|
8
|
+
* @memberOf Actions.Resize
|
|
9
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
10
|
+
*/
|
|
11
|
+
declare class ResizeAdvancedAction extends ResizeSimpleAction {
|
|
12
|
+
protected _actionModel: IResizeAdvancedActionModel;
|
|
13
|
+
/**
|
|
14
|
+
* @description Which part of the original image to include.
|
|
15
|
+
* @param {Qualifiers.Gravity} gravity
|
|
16
|
+
*/
|
|
17
|
+
gravity(gravity: IGravity): this;
|
|
18
|
+
static fromJson(actionModel: IActionModel): ResizeAdvancedAction;
|
|
19
|
+
}
|
|
20
|
+
export { ResizeAdvancedAction };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BackgroundQualifier } from '../../qualifiers/background/shared/base/BackgroundQualifier.js';
|
|
2
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
3
|
+
import { ResizeSimpleAction } from './ResizeSimpleAction.js';
|
|
4
|
+
import { IGravity } from '../../qualifiers/gravity/GravityQualifier.js';
|
|
5
|
+
/**
|
|
6
|
+
* @description Tries to prevent a "bad crop" by first attempting to use the auto cropping mode, but adding some padding if the algorithm determines that more of the original image needs to be included in the final image.
|
|
7
|
+
* @extends Actions.Resize.autoPad
|
|
8
|
+
* @memberOf Actions.Resize
|
|
9
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
10
|
+
*/
|
|
11
|
+
declare class ResizeAutoPadAction extends ResizeSimpleAction {
|
|
12
|
+
constructor(cropType: string, cropWidth: number | string, cropHeight?: number | string);
|
|
13
|
+
/**
|
|
14
|
+
* @description Sets the background.
|
|
15
|
+
* @param {Qualifiers.Background} backgroundQualifier Defines the background color to use instead of
|
|
16
|
+
* transparent background areas or when resizing with padding.
|
|
17
|
+
*/
|
|
18
|
+
background(backgroundQualifier: BackgroundQualifier | string): this;
|
|
19
|
+
gravity(gravity: IGravity): this;
|
|
20
|
+
static fromJson(actionModel: IActionModel): ResizeAutoPadAction;
|
|
21
|
+
}
|
|
22
|
+
export { ResizeAutoPadAction };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ResizeAdvancedAction } from './ResizeAdvancedAction.js';
|
|
2
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Defines how to crop an asset
|
|
5
|
+
* @extends Actions.Resize.ResizeAdvancedAction
|
|
6
|
+
* @memberOf Actions.Resize
|
|
7
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
8
|
+
*/
|
|
9
|
+
declare class ResizeCropAction extends ResizeAdvancedAction {
|
|
10
|
+
/**
|
|
11
|
+
* @description Horizontal position for custom-coordinates based cropping.
|
|
12
|
+
* @param {number} x The x position.
|
|
13
|
+
*/
|
|
14
|
+
x(x: number | string): this;
|
|
15
|
+
/**
|
|
16
|
+
* @description Vertical position for custom-coordinates based cropping
|
|
17
|
+
* @param {number} y The y position.
|
|
18
|
+
*/
|
|
19
|
+
y(y: number | string): this;
|
|
20
|
+
/**
|
|
21
|
+
* @description Controls how much of the original image surrounding the face to keep when using either the 'crop' or 'thumb' cropping modes with face detection.
|
|
22
|
+
* @param {number | string} z The zoom factor. (Default: 1.0)
|
|
23
|
+
*/
|
|
24
|
+
zoom(z: number | string): this;
|
|
25
|
+
static fromJson(actionModel: IActionModel): ResizeCropAction;
|
|
26
|
+
}
|
|
27
|
+
export { ResizeCropAction };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ResizeAdvancedAction } from './ResizeAdvancedAction.js';
|
|
2
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Defines how to crop-fill an asset
|
|
5
|
+
* @extends Actions.Resize.ResizeAdvancedAction
|
|
6
|
+
* @memberOf Actions.Resize
|
|
7
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
8
|
+
*/
|
|
9
|
+
declare class ResizeFillAction extends ResizeAdvancedAction {
|
|
10
|
+
/**
|
|
11
|
+
* @description Absolute X position when used with Gravity.xyCenter {@link Qualifiers.Gravity.GravityQualifier}}
|
|
12
|
+
* @param {number} x The x position.
|
|
13
|
+
*/
|
|
14
|
+
x(x: number | string): this;
|
|
15
|
+
/**
|
|
16
|
+
* @description Absolute Y position when used with Gravity.xyCenter {@link Qualifiers.Gravity.GravityQualifier}}
|
|
17
|
+
* @param {number} y The y position.
|
|
18
|
+
*/
|
|
19
|
+
y(y: number | string): this;
|
|
20
|
+
static fromJson(actionModel: IActionModel): ResizeFillAction;
|
|
21
|
+
}
|
|
22
|
+
export { ResizeFillAction };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ResizeFillAction } from './ResizeFillAction.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Defines how to crop-limit-fill an asset
|
|
4
|
+
* @extends Actions.Resize.ResizeFillAction
|
|
5
|
+
* @memberOf Actions.Resize
|
|
6
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
7
|
+
*/
|
|
8
|
+
declare class ResizeLimitFillAction extends ResizeFillAction {
|
|
9
|
+
}
|
|
10
|
+
export { ResizeLimitFillAction };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ResizeSimpleAction } from './ResizeSimpleAction.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Defines a limit fitting resize action.
|
|
4
|
+
* @extends Actions.Resize.ResizeSimpleAction
|
|
5
|
+
* @memberOf Actions.Resize
|
|
6
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
7
|
+
*/
|
|
8
|
+
declare class ResizeLimitFitAction extends ResizeSimpleAction {
|
|
9
|
+
}
|
|
10
|
+
export { ResizeLimitFitAction };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IGravity } from '../../qualifiers/gravity/GravityQualifier.js';
|
|
2
|
+
import { ResizePadAction } from './ResizePadAction.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Defines an advanced resize with limit padding.
|
|
5
|
+
* @extends Actions.Resize.ResizePadAction
|
|
6
|
+
* @memberOf Actions.Resize
|
|
7
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
8
|
+
*/
|
|
9
|
+
declare class ResizeLimitPadAction<GravityType extends IGravity> extends ResizePadAction<GravityType> {
|
|
10
|
+
}
|
|
11
|
+
export { ResizeLimitPadAction };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IGravity } from '../../qualifiers/gravity/GravityQualifier.js';
|
|
2
|
+
import { ResizePadAction } from './ResizePadAction.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Defines an advanced resize with minimum padding.
|
|
5
|
+
* @extends Actions.Resize.ResizePadAction
|
|
6
|
+
* @memberOf Actions.Resize
|
|
7
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
8
|
+
*/
|
|
9
|
+
declare class ResizeMinimumPadAction<GravityType extends IGravity> extends ResizePadAction<GravityType> {
|
|
10
|
+
}
|
|
11
|
+
export { ResizeMinimumPadAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizePadAction.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BackgroundQualifier } from '../../qualifiers/background/shared/base/BackgroundQualifier.js';
|
|
2
|
+
import { IGravity } from '../../qualifiers/gravity/GravityQualifier.js';
|
|
3
|
+
import { ResizeAdvancedAction } from './ResizeAdvancedAction.js';
|
|
4
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
5
|
+
import { CompassGravity } from '../../qualifiers/gravity/compassGravity/CompassGravity.js';
|
|
6
|
+
/**
|
|
7
|
+
* @description Defines an advanced resize with padding.
|
|
8
|
+
* @extends Actions.Resize.ResizeAdvancedAction
|
|
9
|
+
* @memberOf Actions.Resize
|
|
10
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
11
|
+
*/
|
|
12
|
+
declare class ResizePadAction<GravityType extends IGravity> extends ResizeAdvancedAction {
|
|
13
|
+
/**
|
|
14
|
+
* @description Sets the background.
|
|
15
|
+
* @param {Qualifiers.Background} backgroundQualifier Defines the background color to use instead of
|
|
16
|
+
* transparent background areas or when resizing with padding.
|
|
17
|
+
*/
|
|
18
|
+
background(backgroundQualifier: BackgroundQualifier | string): this;
|
|
19
|
+
/**
|
|
20
|
+
* @description Horizontal position for custom-coordinates based padding.
|
|
21
|
+
* @param {number} x The x position.
|
|
22
|
+
*/
|
|
23
|
+
offsetX(x: number | string): this;
|
|
24
|
+
/**
|
|
25
|
+
* @description Vertical position for custom-coordinates based padding
|
|
26
|
+
* @param {number} y The y position.
|
|
27
|
+
*/
|
|
28
|
+
offsetY(y: number | string): this;
|
|
29
|
+
static fromJson(actionModel: IActionModel): ResizePadAction<CompassGravity>;
|
|
30
|
+
}
|
|
31
|
+
export { ResizePadAction };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ResizeSimpleAction } from './ResizeSimpleAction.js';
|
|
2
|
+
/**
|
|
3
|
+
* @description Defines a scaling resize action.
|
|
4
|
+
* @extends Actions.Resize.ResizeSimpleAction
|
|
5
|
+
* @memberOf Actions.Resize
|
|
6
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
7
|
+
*/
|
|
8
|
+
declare class ResizeScaleAction extends ResizeSimpleAction {
|
|
9
|
+
/**
|
|
10
|
+
* @description Changes the aspect ratio of an image while retaining all important content and avoiding unnatural
|
|
11
|
+
* distortions.
|
|
12
|
+
* @return {this}
|
|
13
|
+
*/
|
|
14
|
+
liquidRescaling(): this;
|
|
15
|
+
}
|
|
16
|
+
export { ResizeScaleAction };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Action } from '../../internal/Action.js';
|
|
2
|
+
import { AspectRatioQualifierValue } from '../../qualifiers/aspectRatio/AspectRatioQualifierValue.js';
|
|
3
|
+
import { FlagQualifier } from '../../qualifiers/flag/FlagQualifier.js';
|
|
4
|
+
import { ExpressionQualifier } from '../../qualifiers/expression/ExpressionQualifier.js';
|
|
5
|
+
import { AspectRatioType } from '../../types/types.js';
|
|
6
|
+
import { IResizeSimpleActionModel } from '../../internal/models/IResizeSimpleActionModel.js';
|
|
7
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
8
|
+
/**
|
|
9
|
+
* @description Defines a resize using width and height.
|
|
10
|
+
* @extends SDK.Action
|
|
11
|
+
* @memberOf Actions.Resize
|
|
12
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
13
|
+
*/
|
|
14
|
+
declare class ResizeSimpleAction extends Action {
|
|
15
|
+
protected _actionModel: IResizeSimpleActionModel;
|
|
16
|
+
/**
|
|
17
|
+
* @param {string} cropType
|
|
18
|
+
* @param {number | string} cropWidth The required width of a transformed asset.
|
|
19
|
+
* @param {number | string} cropHeight The required height of a transformed asset.
|
|
20
|
+
*/
|
|
21
|
+
constructor(cropType: string, cropWidth: number | string, cropHeight?: number | string);
|
|
22
|
+
/**
|
|
23
|
+
* @description Sets the height of the resize
|
|
24
|
+
* @param {string | number} x The height in pixels (if an integer is specified) or as a percentage (if a float is specified).
|
|
25
|
+
*/
|
|
26
|
+
height(x: number | string | ExpressionQualifier): this;
|
|
27
|
+
/**
|
|
28
|
+
* @description Sets the width of the resize
|
|
29
|
+
* @param {string | number} x The width in pixels (if an integer is specified) or as a percentage (if a float is specified).
|
|
30
|
+
*/
|
|
31
|
+
width(x: number | string | ExpressionQualifier): this;
|
|
32
|
+
/**
|
|
33
|
+
* @description Sets the aspect ratio of the asset.
|
|
34
|
+
* For a list of supported types see {@link Qualifiers.AspectRatio|
|
|
35
|
+
* AspectRatio values}
|
|
36
|
+
* @param {AspectRatioType|number|string} ratio The new aspect ratio, specified as a percentage or ratio.
|
|
37
|
+
* @return {this}
|
|
38
|
+
*/
|
|
39
|
+
aspectRatio(ratio: AspectRatioType | AspectRatioQualifierValue | FlagQualifier | number | string): this;
|
|
40
|
+
/**
|
|
41
|
+
* @description Modifies percentage-based width & height parameters of overlays and underlays (e.g., 1.0) to be relative to the containing image instead of the added layer.
|
|
42
|
+
* @return {this}
|
|
43
|
+
*/
|
|
44
|
+
relative(): this;
|
|
45
|
+
/**
|
|
46
|
+
* @description Modifies percentage-based width & height parameters of overlays and underlays (e.g., 1.0) to be relative to the overlaid region
|
|
47
|
+
* @return {this}
|
|
48
|
+
*/
|
|
49
|
+
regionRelative(): this;
|
|
50
|
+
static fromJson(actionModel: IActionModel): ResizeSimpleAction;
|
|
51
|
+
}
|
|
52
|
+
export { ResizeSimpleAction };
|
package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ThumbnailAction.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ResizeAdvancedAction } from './ResizeAdvancedAction.js';
|
|
2
|
+
import { IActionModel } from '../../internal/models/IActionModel.js';
|
|
3
|
+
/**
|
|
4
|
+
* @description Defines a thumbnail resize action.
|
|
5
|
+
* @extends Actions.Resize.ResizeAdvancedAction
|
|
6
|
+
* @memberOf Actions.Resize
|
|
7
|
+
* @see Visit {@link Actions.Resize| Resize} for examples
|
|
8
|
+
*/
|
|
9
|
+
declare class ThumbResizeAction extends ResizeAdvancedAction {
|
|
10
|
+
/**
|
|
11
|
+
* @description Controls how much of the original image surrounding the face to keep when using either the 'crop' or 'thumb' cropping modes with face detection.
|
|
12
|
+
* @param {number | string} z The zoom factor. (Default: 1.0)
|
|
13
|
+
*/
|
|
14
|
+
zoom(z: number | string): this;
|
|
15
|
+
static fromJson(actionModel: IActionModel): ThumbResizeAction;
|
|
16
|
+
}
|
|
17
|
+
export { ThumbResizeAction };
|