@sketch-hq/sketch-file-format-ts
Advanced tools
Comparing version 6.1.1 to 6.2.0-next.0
# @sketch-hq/sketch-file-format-ts | ||
## 6.2.0-next.0 | ||
### Minor Changes | ||
- e22c7f3: Add a new export prefix naming scheme | ||
- 4ca5853: Add `strikethroughStyle` property to text style. | ||
- 91a0f47: Add `cornerStyle` to curve point | ||
### Patch Changes | ||
- bc328f6: Bump Sketch document version. | ||
- 28270c7: Update dependencies | ||
## 6.1.1 | ||
@@ -4,0 +17,0 @@ |
@@ -323,3 +323,3 @@ /** | ||
underlineStyle?: UnderlineStyle; | ||
strikethroughStyle?: {}; | ||
strikethroughStyle?: StrikethroughStyle; | ||
kerning?: number; | ||
@@ -376,2 +376,9 @@ MSAttributedStringFontAttribute: FontDescriptor; | ||
/** | ||
* Enumeration of the text style strikethrough options | ||
*/ | ||
export declare enum StrikethroughStyle { | ||
None = 0, | ||
Strikethrough = 1 | ||
} | ||
/** | ||
* Defines a font selection | ||
@@ -534,3 +541,4 @@ */ | ||
Suffix = 0, | ||
Prefix = 1 | ||
SecondaryPrefix = 1, | ||
PrimaryPrefix = 2 | ||
} | ||
@@ -750,2 +758,3 @@ /** | ||
cornerRadius: number; | ||
cornerStyle: CornerStyle; | ||
curveFrom: PointString; | ||
@@ -759,2 +768,11 @@ curveTo: PointString; | ||
/** | ||
* Enumeration of the corner styles that can be applied to vector points | ||
*/ | ||
export declare enum CornerStyle { | ||
Rounded = 0, | ||
RoundedInverted = 1, | ||
Angled = 2, | ||
Squared = 3 | ||
} | ||
/** | ||
* Enumeration of the curve modes that can be applied to vector points | ||
@@ -1371,3 +1389,3 @@ */ | ||
}; | ||
version: 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136; | ||
version: 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139; | ||
compatibilityVersion: 99; | ||
@@ -1374,0 +1392,0 @@ coeditCompatibilityVersion?: number; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.InferredLayoutAnchor = exports.InferredLayoutAxis = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0; | ||
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.CornerStyle = exports.PointsRadiusBehaviour = exports.InferredLayoutAnchor = exports.InferredLayoutAxis = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.StrikethroughStyle = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0; | ||
/** | ||
@@ -161,2 +161,10 @@ * Enumeration of the gradient types | ||
/** | ||
* Enumeration of the text style strikethrough options | ||
*/ | ||
var StrikethroughStyle; | ||
(function (StrikethroughStyle) { | ||
StrikethroughStyle[StrikethroughStyle["None"] = 0] = "None"; | ||
StrikethroughStyle[StrikethroughStyle["Strikethrough"] = 1] = "Strikethrough"; | ||
})(StrikethroughStyle = exports.StrikethroughStyle || (exports.StrikethroughStyle = {})); | ||
/** | ||
* Enumeration of the boolean operations that can be applied to combine shapes | ||
@@ -191,3 +199,4 @@ */ | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["Suffix"] = 0] = "Suffix"; | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["Prefix"] = 1] = "Prefix"; | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["SecondaryPrefix"] = 1] = "SecondaryPrefix"; | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["PrimaryPrefix"] = 2] = "PrimaryPrefix"; | ||
})(ExportFormatNamingScheme = exports.ExportFormatNamingScheme || (exports.ExportFormatNamingScheme = {})); | ||
@@ -261,2 +270,12 @@ /** | ||
/** | ||
* Enumeration of the corner styles that can be applied to vector points | ||
*/ | ||
var CornerStyle; | ||
(function (CornerStyle) { | ||
CornerStyle[CornerStyle["Rounded"] = 0] = "Rounded"; | ||
CornerStyle[CornerStyle["RoundedInverted"] = 1] = "RoundedInverted"; | ||
CornerStyle[CornerStyle["Angled"] = 2] = "Angled"; | ||
CornerStyle[CornerStyle["Squared"] = 3] = "Squared"; | ||
})(CornerStyle = exports.CornerStyle || (exports.CornerStyle = {})); | ||
/** | ||
* Enumeration of the curve modes that can be applied to vector points | ||
@@ -263,0 +282,0 @@ */ |
@@ -323,3 +323,3 @@ /** | ||
underlineStyle?: UnderlineStyle; | ||
strikethroughStyle?: {}; | ||
strikethroughStyle?: StrikethroughStyle; | ||
kerning?: number; | ||
@@ -376,2 +376,9 @@ MSAttributedStringFontAttribute: FontDescriptor; | ||
/** | ||
* Enumeration of the text style strikethrough options | ||
*/ | ||
export declare enum StrikethroughStyle { | ||
None = 0, | ||
Strikethrough = 1 | ||
} | ||
/** | ||
* Defines a font selection | ||
@@ -534,3 +541,4 @@ */ | ||
Suffix = 0, | ||
Prefix = 1 | ||
SecondaryPrefix = 1, | ||
PrimaryPrefix = 2 | ||
} | ||
@@ -750,2 +758,3 @@ /** | ||
cornerRadius: number; | ||
cornerStyle: CornerStyle; | ||
curveFrom: PointString; | ||
@@ -759,2 +768,11 @@ curveTo: PointString; | ||
/** | ||
* Enumeration of the corner styles that can be applied to vector points | ||
*/ | ||
export declare enum CornerStyle { | ||
Rounded = 0, | ||
RoundedInverted = 1, | ||
Angled = 2, | ||
Squared = 3 | ||
} | ||
/** | ||
* Enumeration of the curve modes that can be applied to vector points | ||
@@ -1371,3 +1389,3 @@ */ | ||
}; | ||
version: 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136; | ||
version: 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139; | ||
compatibilityVersion: 99; | ||
@@ -1374,0 +1392,0 @@ coeditCompatibilityVersion?: number; |
@@ -158,2 +158,10 @@ /** | ||
/** | ||
* Enumeration of the text style strikethrough options | ||
*/ | ||
export var StrikethroughStyle; | ||
(function (StrikethroughStyle) { | ||
StrikethroughStyle[StrikethroughStyle["None"] = 0] = "None"; | ||
StrikethroughStyle[StrikethroughStyle["Strikethrough"] = 1] = "Strikethrough"; | ||
})(StrikethroughStyle || (StrikethroughStyle = {})); | ||
/** | ||
* Enumeration of the boolean operations that can be applied to combine shapes | ||
@@ -188,3 +196,4 @@ */ | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["Suffix"] = 0] = "Suffix"; | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["Prefix"] = 1] = "Prefix"; | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["SecondaryPrefix"] = 1] = "SecondaryPrefix"; | ||
ExportFormatNamingScheme[ExportFormatNamingScheme["PrimaryPrefix"] = 2] = "PrimaryPrefix"; | ||
})(ExportFormatNamingScheme || (ExportFormatNamingScheme = {})); | ||
@@ -258,2 +267,12 @@ /** | ||
/** | ||
* Enumeration of the corner styles that can be applied to vector points | ||
*/ | ||
export var CornerStyle; | ||
(function (CornerStyle) { | ||
CornerStyle[CornerStyle["Rounded"] = 0] = "Rounded"; | ||
CornerStyle[CornerStyle["RoundedInverted"] = 1] = "RoundedInverted"; | ||
CornerStyle[CornerStyle["Angled"] = 2] = "Angled"; | ||
CornerStyle[CornerStyle["Squared"] = 3] = "Squared"; | ||
})(CornerStyle || (CornerStyle = {})); | ||
/** | ||
* Enumeration of the curve modes that can be applied to vector points | ||
@@ -260,0 +279,0 @@ */ |
{ | ||
"name": "@sketch-hq/sketch-file-format-ts", | ||
"description": "TypeScript types for the Sketch File Format", | ||
"version": "6.1.1", | ||
"version": "6.2.0-next.0", | ||
"main": "dist/cjs/index", | ||
@@ -23,4 +23,4 @@ "types": "dist/cjs/index", | ||
"devDependencies": { | ||
"@sketch-hq/sketch-file-format": "6.1.1", | ||
"@types/humps": "2.0.0", | ||
"@sketch-hq/sketch-file-format": "6.2.0-next.0", | ||
"@types/humps": "2.0.1", | ||
"humps": "2.0.1" | ||
@@ -27,0 +27,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
136016
4135
2