@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. 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 { type ColorFn, type ColorFnContext, type ColorInterpolationSpace, type ColorLiteral, type ColorRef, type ColorSeqFn, type ColorSource, type ColorSpace, type CommandFill, type CommandPaint, type CommandPaintUnits, type CommandStroke, type ExternalColors, type Fill, type GradStop, type GradientKind, type GradientPaint, type HalfWidths, type HexForm, type HueInterpolation, INHERIT, type ImagePatternPaint, type InCommandUnits, type Inherit, type KitMarkerKey, MAX_DASH_RUNS, type MarkerKey, type MarkerRef, type OklchDeg, type Paint, type PaintUnits, type PaintedFill, type PaintedStroke, type Palette, type PaletteEntry, type PatternPaint, type PatternPlacement, type PatternTransform, type PatternTransformParts, type PosedPaint, type Region, type ResolvablePatternKind, type ResolvedGradientStop, STROKE_DASH_RATIOS, type ScreenLength, type SolidPaint, type Stroke, type StrokeAlign, type StrokeDashStyle, type StrokeNib, type StrokeTrim, TILE_KINDS, type TextureHandle, type TexturePaint, type TileExtent, type TileKind, type TilePaint, type TilePatternSpec, type TrimAt, type TrimPace, type VertexWidth, type VertexWidthSides, 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 };
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.0",
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": ">=22"
36
+ "node": ">=24"
34
37
  },
35
38
  "files": [
36
39
  "dist",