@cssints/gradient 0.6.0 → 0.7.0

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.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { CSSImageValue } from "cssints";
2
- //#region src/index.d.ts
3
2
  declare const eased: import("cssints/plugin").Scope<"gradient", {
4
3
  readonly linear: "linear [ <angle> | to <side-or-corner> ]";
5
4
  readonly radial: "radial [ [ <radial-shape> || <radial-size> ] [ at <position> ]? | at <position> ]";
@@ -17,4 +16,4 @@ declare const eased: import("cssints/plugin").Scope<"gradient", {
17
16
  * stops are computed at build time in oklab; a token or `currentColor` endpoint gives `color-mix()` stops instead. An `<image>`.
18
17
  */
19
18
  export declare const gradient: ReturnType<typeof eased.export>["gradient"];
20
- //#endregion
19
+ export {};
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CSSImageValue } from "cssints";
2
2
  import { scope } from "cssints/plugin";
3
3
  import { formatHex, formatHex8, interpolateWithPremultipliedAlpha, parse } from "culori";
4
- //#region src/stops.ts
4
+ // src/stops.ts
5
5
  const NAMED = /* @__PURE__ */ new Map([
6
6
  ["linear", [
7
7
  0,
@@ -92,5 +92,4 @@ const gradient = scope("gradient", {
92
92
  }
93
93
  }
94
94
  }).export().gradient;
95
- //#endregion
96
95
  export { gradient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssints/gradient",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Eased gradients for cssints: an easing curve expanded into colour stops (mixed in oklab) at build time",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "culori": "^4.0.2"
25
25
  },
26
26
  "peerDependencies": {
27
- "cssints": "^0.6.0"
27
+ "cssints": "^0.7.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=22"