gant-core 0.1.14 → 0.1.15

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/lib/cli/index.js CHANGED
@@ -51294,7 +51294,7 @@ const createCwdConfig = (cwd, name, vue) => {
51294
51294
  };
51295
51295
 
51296
51296
  var name = "gant-core";
51297
- var version = "0.1.14";
51297
+ var version = "0.1.15";
51298
51298
  var description = "";
51299
51299
  var main = "lib/index.js";
51300
51300
  var bin = {
package/lib/index.d.ts CHANGED
@@ -7,7 +7,6 @@ export * from 'axios';
7
7
  import * as mitt from 'mitt';
8
8
  import * as i18next from 'i18next';
9
9
  import { InitOptions, Callback } from 'i18next';
10
- import { TinyColor } from '@ctrl/tinycolor';
11
10
 
12
11
  declare const PresetColors: readonly ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
13
12
  type PresetColorKey = (typeof PresetColors)[number];
@@ -266,7 +265,7 @@ interface SeedToken extends PresetColorType {
266
265
  * @default 40
267
266
  */
268
267
  layoutNavHeight: number;
269
- gradientColors: string[];
268
+ gradientColors: (string | number)[];
270
269
  }
271
270
 
272
271
  interface ColorNeutralMapToken {
@@ -1645,7 +1644,7 @@ declare function getTokenCssVar(data: any, prefix?: string): any;
1645
1644
  declare const getAlphaColor: (baseColor: string, alpha: number) => string;
1646
1645
  declare const getDarkenSolidColor: (baseColor: string, brightness: number) => string;
1647
1646
  declare const getLightenSolidColor: (baseColor: string, brightness: number) => string;
1648
- declare const getBackgroundColor: (baseColor: string, bgBaseColor: string) => TinyColor;
1647
+ declare const getBackgroundColor: (baseColor: string, bgBaseColor: string) => string;
1649
1648
 
1650
1649
  declare const token: AliasToken;
1651
1650