@flux-ui/visuals 3.3.1 → 3.4.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.js CHANGED
@@ -910,7 +910,7 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
910
910
  };
911
911
  //#endregion
912
912
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
913
- var k$5 = Math.pow(29, 3) / Math.pow(3, 3);
913
+ var k$4 = Math.pow(29, 3) / Math.pow(3, 3);
914
914
  var e$4 = Math.pow(6, 3) / Math.pow(29, 3);
915
915
  //#endregion
916
916
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
@@ -928,7 +928,7 @@ Math.pow(29, 3) / Math.pow(3, 3);
928
928
  Math.pow(6, 3) / Math.pow(29, 3);
929
929
  //#endregion
930
930
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
931
- var fn$2 = (v) => Math.pow(v, 3) > e$4 ? Math.pow(v, 3) : (116 * v - 16) / k$5;
931
+ var fn$2 = (v) => Math.pow(v, 3) > e$4 ? Math.pow(v, 3) : (116 * v - 16) / k$4;
932
932
  var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
933
933
  if (l === void 0) l = 0;
934
934
  if (a === void 0) a = 0;
@@ -950,7 +950,7 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
950
950
  var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
951
951
  //#endregion
952
952
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
953
- var f$3 = (value) => value > e$4 ? Math.cbrt(value) : (k$5 * value + 16) / 116;
953
+ var f$3 = (value) => value > e$4 ? Math.cbrt(value) : (k$4 * value + 16) / 116;
954
954
  var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
955
955
  if (x === void 0) x = 0;
956
956
  if (y === void 0) y = 0;
@@ -1812,11 +1812,11 @@ var definition$16 = {
1812
1812
  };
1813
1813
  //#endregion
1814
1814
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
1815
- var k$3 = Math.pow(29, 3) / Math.pow(3, 3);
1815
+ var k$2 = Math.pow(29, 3) / Math.pow(3, 3);
1816
1816
  var e$2 = Math.pow(6, 3) / Math.pow(29, 3);
1817
1817
  //#endregion
1818
1818
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
1819
- var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$3;
1819
+ var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$2;
1820
1820
  var convertLabToXyz50 = ({ l, a, b, alpha }) => {
1821
1821
  if (l === void 0) l = 0;
1822
1822
  if (a === void 0) a = 0;
@@ -1865,7 +1865,7 @@ var convertRgbToXyz50 = (rgb) => {
1865
1865
  };
1866
1866
  //#endregion
1867
1867
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
1868
- var f$2 = (value) => value > e$2 ? Math.cbrt(value) : (k$3 * value + 16) / 116;
1868
+ var f$2 = (value) => value > e$2 ? Math.cbrt(value) : (k$2 * value + 16) / 116;
1869
1869
  var convertXyz50ToLab = ({ x, y, z, alpha }) => {
1870
1870
  if (x === void 0) x = 0;
1871
1871
  if (y === void 0) y = 0;
@@ -2071,7 +2071,7 @@ var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
2071
2071
  var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
2072
2072
  var un$2 = u_fn$1(D50.X, D50.Y, D50.Z);
2073
2073
  var vn$2 = v_fn$1(D50.X, D50.Y, D50.Z);
2074
- var l_fn = (value) => value <= e$2 ? k$3 * value : 116 * Math.cbrt(value) - 16;
2074
+ var l_fn = (value) => value <= e$2 ? k$2 * value : 116 * Math.cbrt(value) - 16;
2075
2075
  var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
2076
2076
  if (x === void 0) x = 0;
2077
2077
  if (y === void 0) y = 0;
@@ -2111,7 +2111,7 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
2111
2111
  if (v === void 0) v = 0;
2112
2112
  let up = u / (13 * l) + un$1;
2113
2113
  let vp = v / (13 * l) + vn$1;
2114
- let y = D50.Y * (l <= 8 ? l / k$3 : Math.pow((l + 16) / 116, 3));
2114
+ let y = D50.Y * (l <= 8 ? l / k$2 : Math.pow((l + 16) / 116, 3));
2115
2115
  let res = {
2116
2116
  mode: "xyz50",
2117
2117
  x: y * (9 * up) / (4 * vp),
@@ -9261,7 +9261,7 @@ function friendlyDateTime(dateTimeish) {
9261
9261
  else throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
9262
9262
  }
9263
9263
  //#endregion
9264
- //#region ../../node_modules/.bun/@basmilius+utils@3.50.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
9264
+ //#region ../../node_modules/.bun/@basmilius+utils@3.52.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
9265
9265
  function x$1(e) {
9266
9266
  let t = {};
9267
9267
  do {
@@ -9311,7 +9311,7 @@ function K$1(e, t, n) {
9311
9311
  Object.defineProperty(e, t, { value: n });
9312
9312
  }
9313
9313
  //#endregion
9314
- //#region ../../node_modules/.bun/@basmilius+http-client@3.50.0+2111c3e180df0f85/node_modules/@basmilius/http-client/dist/index.mjs
9314
+ //#region ../../node_modules/.bun/@basmilius+http-client@3.52.0+9129bae305b09d14/node_modules/@basmilius/http-client/dist/index.mjs
9315
9315
  function adapter_default(Parent) {
9316
9316
  return class extends Parent {
9317
9317
  constructor(...args) {