From 5f2ce822fc176e73cabcfbfbc4387ea8bbc1948b Mon Sep 17 00:00:00 2001 From: Andrey Kernichniy Date: Sat, 14 Mar 2026 17:33:21 +0700 Subject: [PATCH] Release package version 0.0.4 Change fill/stroke --- lib/src/interfaces/fill.ts | 4 ++-- lib/src/interfaces/stroke.ts | 4 ++-- lib/src/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/interfaces/fill.ts b/lib/src/interfaces/fill.ts index 46a8ec8..379af5d 100644 --- a/lib/src/interfaces/fill.ts +++ b/lib/src/interfaces/fill.ts @@ -1,4 +1,4 @@ -import { IColor } from "./color"; +import { IRgbColor } from "./color"; export type FillType = "solid" | "texture"; export type GradientType = "liner" | "radial" | "conic"; @@ -9,7 +9,7 @@ export interface IBaseFill { export interface ISolidFill extends IBaseFill { type: "solid"; - color: IColor; + color: IRgbColor; } export interface ITextureFill extends IBaseFill { diff --git a/lib/src/interfaces/stroke.ts b/lib/src/interfaces/stroke.ts index 324fb9e..7b4d818 100644 --- a/lib/src/interfaces/stroke.ts +++ b/lib/src/interfaces/stroke.ts @@ -1,7 +1,7 @@ -import { IColor } from "./color"; +import { IRgbColor } from "./color"; export interface IStroke { width: number; - color: IColor; + color: IRgbColor; dash: number[]; } diff --git a/lib/src/package.json b/lib/src/package.json index 8fc3248..fed4822 100644 --- a/lib/src/package.json +++ b/lib/src/package.json @@ -1,6 +1,6 @@ { "name": "@gxc-solutions/model-base", - "version": "0.0.3", + "version": "0.0.4", "main": "index.js", "author": "GXC Solutions", "publishConfig": {