@weasel-js/paint 1.16.0 → 1.16.2
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/index.d.ts +2 -1
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -1001,4 +1001,5 @@ declare function cssColorLiteral(css: string): ColorLiteral;
|
|
|
1001
1001
|
/** `#rrggbb` or `#rrggbbaa` as an `srgb` literal; `null` for anything else. */
|
|
1002
1002
|
declare function hexToColorLiteral(hex: string): ColorLiteral | null;
|
|
1003
1003
|
|
|
1004
|
-
export {
|
|
1004
|
+
export { INHERIT, MAX_DASH_RUNS, STROKE_DASH_RATIOS, TILE_KINDS, alignedStrokeRect, colorLiteralToCss, colorLiteralToHex, composePatternTransform, contrastLineColor, contrastRatio, cssColorLiteral, dashForStrokeStyle, dashPattern, decomposePatternTransform, fillHasInk, gradientForBounds, gradientGeometry, hexToColorLiteral, hexToOklchDeg, hexToRgbBytes, hexToRgba, hslToSrgb, interpolateSrgb, isGradientPaint, isImagePatternPaint, isPatternPaint, isSolidPaint, isTileKind, isTilePaint, lerpColorArray, lerpFill, lerpOklab, lerpOklch, lerpPaint, lerpStroke, linearSrgbToOklab, linearToSrgb, luminanceContrast, mixOklab, normalizeHex, oklabToLinearSrgb, oklabToOklch, oklabToSrgbU8, oklchDegToHex, oklchToOklab, paintKey, parseColor, parseColorToRgba255, parseHexBytes, patternPlacementOf, relativeLuminance, resolveColor, resolveFill, resolveGradientStops, resolvePaletteColor, resolvePaletteColors, resolveScreenLength, resolveStroke, rgbaToHex, sampleGradientStops, sampleResolvedStops, scaleVertexWidth, srgbFloatToOklab, srgbToHsl, srgbToLinear, srgbU8ToOklab, strokeDashStyleOf, strokeHasInk, strokeKey, strokeTrimKey, tileSpecOf, tryNormalizeHex, vertexHalfWidths, vertexWidthFromSides, wcagLevels, widestHalfWidth, withGradientKind };
|
|
1005
|
+
export type { ColorFn, ColorFnContext, ColorInterpolationSpace, ColorLiteral, ColorRef, ColorSeqFn, ColorSource, ColorSpace, CommandFill, CommandPaint, CommandPaintUnits, CommandStroke, ExternalColors, Fill, GradStop, GradientKind, GradientPaint, HalfWidths, HexForm, HueInterpolation, ImagePatternPaint, InCommandUnits, Inherit, KitMarkerKey, MarkerKey, MarkerRef, OklchDeg, Paint, PaintUnits, PaintedFill, PaintedStroke, Palette, PaletteEntry, PatternPaint, PatternPlacement, PatternTransform, PatternTransformParts, PosedPaint, Region, ResolvablePatternKind, ResolvedGradientStop, ScreenLength, SolidPaint, Stroke, StrokeAlign, StrokeDashStyle, StrokeNib, StrokeTrim, TextureHandle, TexturePaint, TileExtent, TileKind, TilePaint, TilePatternSpec, TrimAt, TrimPace, VertexWidth, VertexWidthSides };
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weasel-js/paint",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "Paint vocabulary for weasel: Paint, Stroke, gradients, dashes. Plain data, no renderer.",
|
|
5
|
+
"weasel": {
|
|
6
|
+
"tier": "base"
|
|
7
|
+
},
|
|
5
8
|
"license": "MIT",
|
|
6
9
|
"type": "module",
|
|
7
10
|
"sideEffects": false,
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
"url": "https://github.com/orochi235/weasel/issues"
|
|
31
34
|
},
|
|
32
35
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
36
|
+
"node": ">=24"
|
|
34
37
|
},
|
|
35
38
|
"files": [
|
|
36
39
|
"dist",
|