-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(titles): improve naming, remove unused & detect primitive consta…
…nt values (#59) * feat: improve title names * docs: fix playground script * refactor(parse/entities): getAttributeEntityData * feat(parse): improve Momoa primitive types * chore: update pnpm-lock file * chore(parse): update lottie-types * feat(last, parse): find unique titiles for primitive const nodes * refactor: dont create blendMode for layer and shape * test(last): update snapshot * feat: rename closed to bezier-closed * feat: add more time titles * fix: v and np property titles; remove unused effect parent titles * refactor: remove unused ind titles for effectList and effectParams * feat: improve effect related titles * refactor(parse): use CT.assets title * feat: remove unused OT.effect title * feat: detect and add textType constant titles * refactor(titles): remove -type text from lineCap & lineJoin * refactor(titles): remove -value text from fillRule title * feat(titles): add & detect rangeUnits types * chore: update pnpm-lock.yaml * chore(github): add registry in setup node for validate job * chore(github): create npmrc for validate job * chore(github): fix setup node for validate job * chore(github): fix env in node setup for validate job * style(last/titles): fix prettier format * chore(github): fix bundle_size github token * chore(github): move bundle report to the end
- Loading branch information
Showing
71 changed files
with
9,872 additions
and
9,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@lottiefiles/last": minor | ||
"@lottiefiles/relottie-parse": minor | ||
--- | ||
|
||
feat: find unique titles for string and number constant nodes: blendMode, composite, fillRule, lineCap, lineJoin, shapeDirection, trimMultipleShapes, matteMode & maskMode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@lottiefiles/last": patch | ||
"@lottiefiles/last-builder": patch | ||
"@lottiefiles/relottie-parse": patch | ||
"@lottiefiles/relottie-stringify": patch | ||
--- | ||
|
||
chore: bump lottie-types to v1.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
--- | ||
"@lottiefiles/last": minor | ||
"@lottiefiles/relottie-parse": minor | ||
--- | ||
- feat(titles): add constant blendMode titles | ||
|
||
- feat(titles): add keyframe, keyframeList, keyframeValue, positionKeyframe, positionKeyframeList, keyframeBezierHandle prefixes to xAxisValue & yAxisValue | ||
|
||
- feat(titles): add bezier prefix to inTangents, outTangents and vertices | ||
|
||
- feat(titles): add keyframe, keyframeList, keyframeValue, positionKeyframe, positionKeyframeList, keyframeBezierHandle, shapeKeyframe to inTangent and outTangent | ||
|
||
- feat(titles): add text- prefix to fillBrightness, fillColor, fillHue, fillOpacity, fillSaturation | ||
|
||
- feat(titles): add shapeFillOpacity, shapeGradientFillOpacity, shapeGradientStrokeOpacity, layerStyleOpacity, shapeStrokeOpacity prefixes to opacity | ||
|
||
- feat(titles): add audio prefix to level | ||
|
||
- feat(titles): add text prefix to maxAmount, maxEase, minEase | ||
|
||
- feat(titles): add shapeTrim prefix to offset | ||
|
||
- feat(titles): add layerTransform, shapeTransform, transformRepeater, textStyle prefix to orientation | ||
|
||
- feat(titles): add shapeRectangleSize,layerStyleStrokeSize prefixes to size | ||
|
||
- feat(titles): rename valueOutTangent to positionKeyframeOutTangents | ||
|
||
- feat(titles): rename valueInTangent to positionKeyframeInTangents | ||
|
||
- feat(titles): add layerTransform, shapeTransform, transformRepeater, textStyle prefixes to skew & skewAxis | ||
|
||
- feat(titles): add layerTransforms, shapeTransforms, transformRepeaters, textStyles prefixes to scale | ||
|
||
- feat(titles): add shapePolygon & shapeStar prefixes to outerRoundness & outerRadius | ||
|
||
- feat(titles): add shapeGradientFill, shapeGradientStroke prefixes to startPoint & endPoint | ||
|
||
- feat(titles): add assetImage, assetPrecomposition, assetDataSource, assetFile prefixes to id | ||
|
||
- feat(titles): rename blur to textBlur | ||
|
||
- feat(titles): rename center to shapeTrimCenter | ||
|
||
- feat(titles): add shapePolygon, shapeStar, shapeZigZags prefixes to points | ||
|
||
- feat(titles): rename multiple to trimMultipleShapes | ||
|
||
- feat(titles): rename closed to bezierClosed | ||
|
||
- feat: add time titles for keyframe, keyframeList, keyframeValue, positionKeyframe, positionKeyframeList, keyframeBezierHandle, shapeKeyframe | ||
|
||
- fix: effectIgnoredValue.v title and placement | ||
|
||
- fix: numberOfProperties parent titles | ||
|
||
- fix: rename effectList numberOfProperties title to effectPropertyCount | ||
|
||
- refactor: remove unused ind titles for effectList and effectParams | ||
|
||
- feat: rename effectValueAngle, effectValueCheckbox, effectValueColor, effectValueDropdown, effectValueLayer, effectValuePoint, effectValueSlider to effectParamAngle, effectParamCheckbox, effectParamColor, effectParamDropdown, effectParamLayer, effectParamPoint, effectParamSlider | ||
|
||
- feat: rename effectParameters to effectParamList | ||
|
||
- feat: add effectPropertyCount title | ||
|
||
- feat(titles): rename effectValueAngleValue, effectValueCheckboxValue, effectValueColorValue, effectValueDropdownValue, effectValueLayerValue, effectValuePointValue, effectValueSliderValue to effectValueAngle, effectValueCheckbox, effectValueColor, effectValueDropdown, effectValueLayer, effectValuePoint, effectValueSlider | ||
|
||
- feat: remove unused OT.effect title | ||
|
||
- feat(titles): replace textTypeCaps with textCaps, textCapsRegular, textCapsAll, textCapsSmall | ||
|
||
- feat(titles): add textBasedCharacters, | ||
textBasedCharacterExcludingSpaces, textBasedWords, textBasedLines | ||
|
||
- feat(titles): replace textTypeGrouping with textGrouping, textGroupingCharacters, textGroupingWords, textGroupingLine, textGroupingAll | ||
|
||
- feat(titles): replace textTypeJustify with textJustityLeft, textJustityRight, textJustityCenter, textJustityWithLastLineLeft, textJustityWithLastLineRight, textJustityWithLastLineCenter, textJustityWithLastLineFull | ||
|
||
- feat(titles): replace textTypeShape with textShape, textShapeSquare, textShapeRampUp, textShapeRampDown, textShapeTriangle, textShapeRound, textShapeSmooth | ||
|
||
- feat(titles): replace textType with fontPathOrigin, fontPathOriginLocal, fontPathOriginCssUrl, fontPathOriginScriptUrl, fontPathOriginFonturl | ||
|
||
- feat(titles): replace textTypeVerticalJustify with textVerticalJustify, textVerticalJustifyTop, textVerticalJustifyCenter, textVerticalJustifyBottom | ||
|
||
- feat(titles): detect & add rangeUnitsPercent & rangeUnitsIndex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lottiefiles/relottie-parse": patch | ||
--- | ||
|
||
feat: improve Momoa primitive types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.