@zag-js/color-utils 1.47.0 → 1.48.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.
Files changed (50) hide show
  1. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/defineProperty.js +11 -0
  2. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/defineProperty.mjs +11 -0
  3. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPrimitive.js +13 -0
  4. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPrimitive.mjs +13 -0
  5. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPropertyKey.js +8 -0
  6. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPropertyKey.mjs +8 -0
  7. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/typeof.js +15 -0
  8. package/dist/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/typeof.mjs +10 -0
  9. package/dist/area-gradient.d.mts +9 -11
  10. package/dist/area-gradient.d.ts +9 -11
  11. package/dist/area-gradient.js +53 -84
  12. package/dist/area-gradient.mjs +49 -71
  13. package/dist/color-format-gradient.d.mts +58 -60
  14. package/dist/color-format-gradient.d.ts +58 -60
  15. package/dist/color-format-gradient.js +93 -154
  16. package/dist/color-format-gradient.mjs +81 -123
  17. package/dist/color.d.mts +20 -23
  18. package/dist/color.d.ts +20 -23
  19. package/dist/color.js +57 -83
  20. package/dist/color.mjs +53 -60
  21. package/dist/hsb-color.d.mts +32 -35
  22. package/dist/hsb-color.d.ts +32 -35
  23. package/dist/hsb-color.js +135 -163
  24. package/dist/hsb-color.mjs +129 -138
  25. package/dist/hsl-color.d.mts +33 -36
  26. package/dist/hsl-color.d.ts +33 -36
  27. package/dist/hsl-color.js +137 -165
  28. package/dist/hsl-color.mjs +130 -139
  29. package/dist/index.d.mts +5 -4
  30. package/dist/index.d.ts +5 -4
  31. package/dist/index.js +10 -37
  32. package/dist/index.mjs +1 -9
  33. package/dist/native-color.d.mts +1 -3
  34. package/dist/native-color.d.ts +1 -3
  35. package/dist/native-color.js +16 -39
  36. package/dist/native-color.mjs +12 -16
  37. package/dist/parse-color.d.mts +3 -6
  38. package/dist/parse-color.d.ts +3 -6
  39. package/dist/parse-color.js +21 -47
  40. package/dist/parse-color.mjs +13 -20
  41. package/dist/rgb-color.d.mts +33 -36
  42. package/dist/rgb-color.d.ts +33 -36
  43. package/dist/rgb-color.js +174 -211
  44. package/dist/rgb-color.mjs +168 -186
  45. package/dist/types.d.mts +82 -84
  46. package/dist/types.d.ts +82 -84
  47. package/dist/types.js +4 -18
  48. package/dist/types.mjs +1 -0
  49. package/package.json +4 -4
  50. package/dist/chunk-QZ7TP4HQ.mjs +0 -7
@@ -0,0 +1,11 @@
1
+ const require_toPropertyKey = require("./toPropertyKey.js");
2
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/defineProperty.js
3
+ function _defineProperty(e, r, t) {
4
+ return (r = require_toPropertyKey.default(r)) in e ? Object.defineProperty(e, r, {
5
+ value: t,
6
+ enumerable: !0,
7
+ configurable: !0,
8
+ writable: !0
9
+ }) : e[r] = t, e;
10
+ }
11
+ exports.default = _defineProperty;
@@ -0,0 +1,11 @@
1
+ import toPropertyKey from "./toPropertyKey.mjs";
2
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/defineProperty.js
3
+ function _defineProperty(e, r, t) {
4
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
5
+ value: t,
6
+ enumerable: !0,
7
+ configurable: !0,
8
+ writable: !0
9
+ }) : e[r] = t, e;
10
+ }
11
+ export { _defineProperty as default };
@@ -0,0 +1,13 @@
1
+ const require_typeof = require("./typeof.js");
2
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/toPrimitive.js
3
+ function toPrimitive(t, e) {
4
+ if ("object" != require_typeof.default(t) || !t) return t;
5
+ var r;
6
+ if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
7
+ var i = r.call(t, e || "default");
8
+ if ("object" != require_typeof.default(i)) return i;
9
+ throw new TypeError("@@toPrimitive must return a primitive value.");
10
+ }
11
+ return ("string" === e ? String : Number)(t);
12
+ }
13
+ exports.default = toPrimitive;
@@ -0,0 +1,13 @@
1
+ import _typeof from "./typeof.mjs";
2
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/toPrimitive.js
3
+ function toPrimitive(t, e) {
4
+ if ("object" != _typeof(t) || !t) return t;
5
+ var r;
6
+ if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
7
+ var i = r.call(t, e || "default");
8
+ if ("object" != _typeof(i)) return i;
9
+ throw new TypeError("@@toPrimitive must return a primitive value.");
10
+ }
11
+ return ("string" === e ? String : Number)(t);
12
+ }
13
+ export { toPrimitive as default };
@@ -0,0 +1,8 @@
1
+ const require_typeof = require("./typeof.js");
2
+ const require_toPrimitive = require("./toPrimitive.js");
3
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/toPropertyKey.js
4
+ function toPropertyKey(t) {
5
+ var i = require_toPrimitive.default(t, "string");
6
+ return "symbol" == require_typeof.default(i) ? i : i + "";
7
+ }
8
+ exports.default = toPropertyKey;
@@ -0,0 +1,8 @@
1
+ import _typeof from "./typeof.mjs";
2
+ import toPrimitive from "./toPrimitive.mjs";
3
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/toPropertyKey.js
4
+ function toPropertyKey(t) {
5
+ var i = toPrimitive(t, "string");
6
+ return "symbol" == _typeof(i) ? i : i + "";
7
+ }
8
+ export { toPropertyKey as default };
@@ -0,0 +1,15 @@
1
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/typeof.js
2
+ function _typeof(o) {
3
+ "@babel/helpers - typeof";
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
5
+ return typeof o;
6
+ } : function(o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
10
+ Object.defineProperty(exports, "default", {
11
+ enumerable: true,
12
+ get: function() {
13
+ return _typeof;
14
+ }
15
+ });
@@ -0,0 +1,10 @@
1
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/typeof.js
2
+ function _typeof(o) {
3
+ "@babel/helpers - typeof";
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
5
+ return typeof o;
6
+ } : function(o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
10
+ export { _typeof as default };
@@ -1,15 +1,13 @@
1
- import { Color } from './color.mjs';
2
- import { ColorChannel } from './types.mjs';
3
-
1
+ import { Color } from "./color.mjs";
2
+ import { ColorChannel } from "./types.mjs";
4
3
  interface GradientOptions {
5
- xChannel: ColorChannel;
6
- yChannel: ColorChannel;
7
- dir?: "rtl" | "ltr" | undefined;
4
+ xChannel: ColorChannel;
5
+ yChannel: ColorChannel;
6
+ dir?: "rtl" | "ltr" | undefined;
8
7
  }
9
8
  interface GradientStyles {
10
- areaStyles: Record<string, string>;
11
- areaGradientStyles: Record<string, string>;
9
+ areaStyles: Record<string, string>;
10
+ areaGradientStyles: Record<string, string>;
12
11
  }
13
- declare function getColorAreaGradient(color: Color, options: GradientOptions): GradientStyles;
14
-
15
- export { getColorAreaGradient };
12
+ export declare function getColorAreaGradient(color: Color, options: GradientOptions): GradientStyles;
13
+ export {};
@@ -1,15 +1,13 @@
1
- import { Color } from './color.js';
2
- import { ColorChannel } from './types.js';
3
-
1
+ import { Color } from "./color.js";
2
+ import { ColorChannel } from "./types.js";
4
3
  interface GradientOptions {
5
- xChannel: ColorChannel;
6
- yChannel: ColorChannel;
7
- dir?: "rtl" | "ltr" | undefined;
4
+ xChannel: ColorChannel;
5
+ yChannel: ColorChannel;
6
+ dir?: "rtl" | "ltr" | undefined;
8
7
  }
9
8
  interface GradientStyles {
10
- areaStyles: Record<string, string>;
11
- areaGradientStyles: Record<string, string>;
9
+ areaStyles: Record<string, string>;
10
+ areaGradientStyles: Record<string, string>;
12
11
  }
13
- declare function getColorAreaGradient(color: Color, options: GradientOptions): GradientStyles;
14
-
15
- export { getColorAreaGradient };
12
+ export declare function getColorAreaGradient(color: Color, options: GradientOptions): GradientStyles;
13
+ export {};
@@ -1,87 +1,56 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/area-gradient.ts
21
- var area_gradient_exports = {};
22
- __export(area_gradient_exports, {
23
- getColorAreaGradient: () => getColorAreaGradient
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
24
4
  });
25
- module.exports = __toCommonJS(area_gradient_exports);
26
- var import_color_format_gradient = require("./color-format-gradient.js");
5
+ const require_color_format_gradient = require("./color-format-gradient.js");
6
+ // src/area-gradient.ts
27
7
  function getColorAreaGradient(color, options) {
28
- const { xChannel, yChannel, dir: dirProp = "ltr" } = options;
29
- const { zChannel } = color.getColorAxes({ xChannel, yChannel });
30
- const zValue = color.getChannelValue(zChannel);
31
- const { minValue: zMin, maxValue: zMax } = color.getChannelRange(zChannel);
32
- const orientation = ["top", dirProp === "rtl" ? "left" : "right"];
33
- let dir = false;
34
- let background = { areaStyles: {}, areaGradientStyles: {} };
35
- let alphaValue = (zValue - zMin) / (zMax - zMin);
36
- let isHSL = color.getFormat() === "hsla";
37
- switch (zChannel) {
38
- case "red": {
39
- dir = xChannel === "green";
40
- background = (0, import_color_format_gradient.generateRGB_R)(orientation, dir, zValue);
41
- break;
42
- }
43
- case "green": {
44
- dir = xChannel === "red";
45
- background = (0, import_color_format_gradient.generateRGB_G)(orientation, dir, zValue);
46
- break;
47
- }
48
- case "blue": {
49
- dir = xChannel === "red";
50
- background = (0, import_color_format_gradient.generateRGB_B)(orientation, dir, zValue);
51
- break;
52
- }
53
- case "hue": {
54
- dir = xChannel !== "saturation";
55
- if (isHSL) {
56
- background = (0, import_color_format_gradient.generateHSL_H)(orientation, dir, zValue);
57
- } else {
58
- background = (0, import_color_format_gradient.generateHSB_H)(orientation, dir, zValue);
59
- }
60
- break;
61
- }
62
- case "saturation": {
63
- dir = xChannel === "hue";
64
- if (isHSL) {
65
- background = (0, import_color_format_gradient.generateHSL_S)(orientation, dir, alphaValue);
66
- } else {
67
- background = (0, import_color_format_gradient.generateHSB_S)(orientation, dir, alphaValue);
68
- }
69
- break;
70
- }
71
- case "brightness": {
72
- dir = xChannel === "hue";
73
- background = (0, import_color_format_gradient.generateHSB_B)(orientation, dir, alphaValue);
74
- break;
75
- }
76
- case "lightness": {
77
- dir = xChannel === "hue";
78
- background = (0, import_color_format_gradient.generateHSL_L)(orientation, dir, zValue);
79
- break;
80
- }
81
- }
82
- return background;
8
+ const { xChannel, yChannel, dir: dirProp = "ltr" } = options;
9
+ const { zChannel } = color.getColorAxes({
10
+ xChannel,
11
+ yChannel
12
+ });
13
+ const zValue = color.getChannelValue(zChannel);
14
+ const { minValue: zMin, maxValue: zMax } = color.getChannelRange(zChannel);
15
+ const orientation = ["top", dirProp === "rtl" ? "left" : "right"];
16
+ let dir = false;
17
+ let background = {
18
+ areaStyles: {},
19
+ areaGradientStyles: {}
20
+ };
21
+ let alphaValue = (zValue - zMin) / (zMax - zMin);
22
+ let isHSL = color.getFormat() === "hsla";
23
+ switch (zChannel) {
24
+ case "red":
25
+ dir = xChannel === "green";
26
+ background = require_color_format_gradient.generateRGB_R(orientation, dir, zValue);
27
+ break;
28
+ case "green":
29
+ dir = xChannel === "red";
30
+ background = require_color_format_gradient.generateRGB_G(orientation, dir, zValue);
31
+ break;
32
+ case "blue":
33
+ dir = xChannel === "red";
34
+ background = require_color_format_gradient.generateRGB_B(orientation, dir, zValue);
35
+ break;
36
+ case "hue":
37
+ dir = xChannel !== "saturation";
38
+ if (isHSL) background = require_color_format_gradient.generateHSL_H(orientation, dir, zValue);
39
+ else background = require_color_format_gradient.generateHSB_H(orientation, dir, zValue);
40
+ break;
41
+ case "saturation":
42
+ dir = xChannel === "hue";
43
+ if (isHSL) background = require_color_format_gradient.generateHSL_S(orientation, dir, alphaValue);
44
+ else background = require_color_format_gradient.generateHSB_S(orientation, dir, alphaValue);
45
+ break;
46
+ case "brightness":
47
+ dir = xChannel === "hue";
48
+ background = require_color_format_gradient.generateHSB_B(orientation, dir, alphaValue);
49
+ break;
50
+ case "lightness":
51
+ dir = xChannel === "hue";
52
+ background = require_color_format_gradient.generateHSL_L(orientation, dir, zValue);
53
+ }
54
+ return background;
83
55
  }
84
- // Annotate the CommonJS export names for ESM import in node:
85
- 0 && (module.exports = {
86
- getColorAreaGradient
87
- });
56
+ exports.getColorAreaGradient = getColorAreaGradient;
@@ -1,74 +1,52 @@
1
- import "./chunk-QZ7TP4HQ.mjs";
2
-
1
+ import { generateHSB_B, generateHSB_H, generateHSB_S, generateHSL_H, generateHSL_L, generateHSL_S, generateRGB_B, generateRGB_G, generateRGB_R } from "./color-format-gradient.mjs";
3
2
  // src/area-gradient.ts
4
- import {
5
- generateRGB_R,
6
- generateRGB_G,
7
- generateRGB_B,
8
- generateHSL_H,
9
- generateHSB_H,
10
- generateHSL_S,
11
- generateHSB_S,
12
- generateHSB_B,
13
- generateHSL_L
14
- } from "./color-format-gradient.mjs";
15
3
  function getColorAreaGradient(color, options) {
16
- const { xChannel, yChannel, dir: dirProp = "ltr" } = options;
17
- const { zChannel } = color.getColorAxes({ xChannel, yChannel });
18
- const zValue = color.getChannelValue(zChannel);
19
- const { minValue: zMin, maxValue: zMax } = color.getChannelRange(zChannel);
20
- const orientation = ["top", dirProp === "rtl" ? "left" : "right"];
21
- let dir = false;
22
- let background = { areaStyles: {}, areaGradientStyles: {} };
23
- let alphaValue = (zValue - zMin) / (zMax - zMin);
24
- let isHSL = color.getFormat() === "hsla";
25
- switch (zChannel) {
26
- case "red": {
27
- dir = xChannel === "green";
28
- background = generateRGB_R(orientation, dir, zValue);
29
- break;
30
- }
31
- case "green": {
32
- dir = xChannel === "red";
33
- background = generateRGB_G(orientation, dir, zValue);
34
- break;
35
- }
36
- case "blue": {
37
- dir = xChannel === "red";
38
- background = generateRGB_B(orientation, dir, zValue);
39
- break;
40
- }
41
- case "hue": {
42
- dir = xChannel !== "saturation";
43
- if (isHSL) {
44
- background = generateHSL_H(orientation, dir, zValue);
45
- } else {
46
- background = generateHSB_H(orientation, dir, zValue);
47
- }
48
- break;
49
- }
50
- case "saturation": {
51
- dir = xChannel === "hue";
52
- if (isHSL) {
53
- background = generateHSL_S(orientation, dir, alphaValue);
54
- } else {
55
- background = generateHSB_S(orientation, dir, alphaValue);
56
- }
57
- break;
58
- }
59
- case "brightness": {
60
- dir = xChannel === "hue";
61
- background = generateHSB_B(orientation, dir, alphaValue);
62
- break;
63
- }
64
- case "lightness": {
65
- dir = xChannel === "hue";
66
- background = generateHSL_L(orientation, dir, zValue);
67
- break;
68
- }
69
- }
70
- return background;
4
+ const { xChannel, yChannel, dir: dirProp = "ltr" } = options;
5
+ const { zChannel } = color.getColorAxes({
6
+ xChannel,
7
+ yChannel
8
+ });
9
+ const zValue = color.getChannelValue(zChannel);
10
+ const { minValue: zMin, maxValue: zMax } = color.getChannelRange(zChannel);
11
+ const orientation = ["top", dirProp === "rtl" ? "left" : "right"];
12
+ let dir = false;
13
+ let background = {
14
+ areaStyles: {},
15
+ areaGradientStyles: {}
16
+ };
17
+ let alphaValue = (zValue - zMin) / (zMax - zMin);
18
+ let isHSL = color.getFormat() === "hsla";
19
+ switch (zChannel) {
20
+ case "red":
21
+ dir = xChannel === "green";
22
+ background = generateRGB_R(orientation, dir, zValue);
23
+ break;
24
+ case "green":
25
+ dir = xChannel === "red";
26
+ background = generateRGB_G(orientation, dir, zValue);
27
+ break;
28
+ case "blue":
29
+ dir = xChannel === "red";
30
+ background = generateRGB_B(orientation, dir, zValue);
31
+ break;
32
+ case "hue":
33
+ dir = xChannel !== "saturation";
34
+ if (isHSL) background = generateHSL_H(orientation, dir, zValue);
35
+ else background = generateHSB_H(orientation, dir, zValue);
36
+ break;
37
+ case "saturation":
38
+ dir = xChannel === "hue";
39
+ if (isHSL) background = generateHSL_S(orientation, dir, alphaValue);
40
+ else background = generateHSB_S(orientation, dir, alphaValue);
41
+ break;
42
+ case "brightness":
43
+ dir = xChannel === "hue";
44
+ background = generateHSB_B(orientation, dir, alphaValue);
45
+ break;
46
+ case "lightness":
47
+ dir = xChannel === "hue";
48
+ background = generateHSL_L(orientation, dir, zValue);
49
+ }
50
+ return background;
71
51
  }
72
- export {
73
- getColorAreaGradient
74
- };
52
+ export { getColorAreaGradient };
@@ -1,68 +1,66 @@
1
- declare const generateRGB_R: (orientation: [string, string], dir: boolean, zValue: number) => {
2
- areaStyles: {
3
- backgroundImage: string;
4
- };
5
- areaGradientStyles: {
6
- backgroundImage: string;
7
- WebkitMaskImage: string;
8
- maskImage: string;
9
- };
1
+ export declare const generateRGB_R: (orientation: [string, string], dir: boolean, zValue: number) => {
2
+ areaStyles: {
3
+ backgroundImage: string;
4
+ };
5
+ areaGradientStyles: {
6
+ backgroundImage: string;
7
+ WebkitMaskImage: string;
8
+ maskImage: string;
9
+ };
10
10
  };
11
- declare const generateRGB_G: (orientation: [string, string], dir: boolean, zValue: number) => {
12
- areaStyles: {
13
- backgroundImage: string;
14
- };
15
- areaGradientStyles: {
16
- backgroundImage: string;
17
- WebkitMaskImage: string;
18
- maskImage: string;
19
- };
11
+ export declare const generateRGB_G: (orientation: [string, string], dir: boolean, zValue: number) => {
12
+ areaStyles: {
13
+ backgroundImage: string;
14
+ };
15
+ areaGradientStyles: {
16
+ backgroundImage: string;
17
+ WebkitMaskImage: string;
18
+ maskImage: string;
19
+ };
20
20
  };
21
- declare const generateRGB_B: (orientation: [string, string], dir: boolean, zValue: number) => {
22
- areaStyles: {
23
- backgroundImage: string;
24
- };
25
- areaGradientStyles: {
26
- backgroundImage: string;
27
- WebkitMaskImage: string;
28
- maskImage: string;
29
- };
21
+ export declare const generateRGB_B: (orientation: [string, string], dir: boolean, zValue: number) => {
22
+ areaStyles: {
23
+ backgroundImage: string;
24
+ };
25
+ areaGradientStyles: {
26
+ backgroundImage: string;
27
+ WebkitMaskImage: string;
28
+ maskImage: string;
29
+ };
30
30
  };
31
- declare const generateHSL_H: (orientation: [string, string], dir: boolean, zValue: number) => {
32
- areaStyles: {};
33
- areaGradientStyles: {
34
- background: string;
35
- };
31
+ export declare const generateHSL_H: (orientation: [string, string], dir: boolean, zValue: number) => {
32
+ areaStyles: {};
33
+ areaGradientStyles: {
34
+ background: string;
35
+ };
36
36
  };
37
- declare const generateHSL_S: (orientation: [string, string], dir: boolean, alphaValue: number) => {
38
- areaStyles: {};
39
- areaGradientStyles: {
40
- background: string;
41
- };
37
+ export declare const generateHSL_S: (orientation: [string, string], dir: boolean, alphaValue: number) => {
38
+ areaStyles: {};
39
+ areaGradientStyles: {
40
+ background: string;
41
+ };
42
42
  };
43
- declare const generateHSL_L: (orientation: [string, string], dir: boolean, zValue: number) => {
44
- areaStyles: {};
45
- areaGradientStyles: {
46
- backgroundImage: string;
47
- };
43
+ export declare const generateHSL_L: (orientation: [string, string], dir: boolean, zValue: number) => {
44
+ areaStyles: {};
45
+ areaGradientStyles: {
46
+ backgroundImage: string;
47
+ };
48
48
  };
49
- declare const generateHSB_H: (orientation: [string, string], dir: boolean, zValue: number) => {
50
- areaStyles: {};
51
- areaGradientStyles: {
52
- background: string;
53
- };
49
+ export declare const generateHSB_H: (orientation: [string, string], dir: boolean, zValue: number) => {
50
+ areaStyles: {};
51
+ areaGradientStyles: {
52
+ background: string;
53
+ };
54
54
  };
55
- declare const generateHSB_S: (orientation: [string, string], dir: boolean, alphaValue: number) => {
56
- areaStyles: {};
57
- areaGradientStyles: {
58
- background: string;
59
- };
55
+ export declare const generateHSB_S: (orientation: [string, string], dir: boolean, alphaValue: number) => {
56
+ areaStyles: {};
57
+ areaGradientStyles: {
58
+ background: string;
59
+ };
60
60
  };
61
- declare const generateHSB_B: (orientation: [string, string], dir: boolean, alphaValue: number) => {
62
- areaStyles: {};
63
- areaGradientStyles: {
64
- background: string;
65
- };
66
- };
67
-
68
- export { generateHSB_B, generateHSB_H, generateHSB_S, generateHSL_H, generateHSL_L, generateHSL_S, generateRGB_B, generateRGB_G, generateRGB_R };
61
+ export declare const generateHSB_B: (orientation: [string, string], dir: boolean, alphaValue: number) => {
62
+ areaStyles: {};
63
+ areaGradientStyles: {
64
+ background: string;
65
+ };
66
+ };