@photoroom/ui 0.1.610 → 0.1.612

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 (2) hide show
  1. package/index.mjs +4 -4
  2. package/package.json +2 -2
package/index.mjs CHANGED
@@ -37526,7 +37526,7 @@ var jY = function(e) {
37526
37526
  return e instanceof JY ? e : new JY(e);
37527
37527
  };
37528
37528
  //#endregion
37529
- //#region ../../node_modules/.pnpm/react-colorful@5.8.0_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-colorful/dist/index.mjs
37529
+ //#region ../../node_modules/.pnpm/react-colorful@5.8.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-colorful/dist/index.mjs
37530
37530
  function XY() {
37531
37531
  return (XY = Object.assign || function(e) {
37532
37532
  for (var t = 1; t < arguments.length; t++) {
@@ -37709,9 +37709,9 @@ var cX = function(e) {
37709
37709
  }, gX = function(e) {
37710
37710
  var t = e.r, n = e.g, r = e.b, i = e.a, a = Math.max(t, n, r), o = a - Math.min(t, n, r), s = o ? a === t ? (n - r) / o : a === n ? 2 + (r - t) / o : 4 + (t - n) / o : 0;
37711
37711
  return {
37712
- h: sX(60 * (s < 0 ? s + 6 : s)),
37713
- s: sX(a ? o / a * 100 : 0),
37714
- v: sX(a / 255 * 100),
37712
+ h: 60 * (s < 0 ? s + 6 : s),
37713
+ s: a ? o / a * 100 : 0,
37714
+ v: a / 255 * 100,
37715
37715
  a: i
37716
37716
  };
37717
37717
  }, _X = z.memo(function(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.610",
3
+ "version": "0.1.612",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
@@ -64,7 +64,7 @@
64
64
  "fuse.js": "7.5.0",
65
65
  "lodash-es": "4.18.1",
66
66
  "motion": "13.1.1",
67
- "react-colorful": "5.8.0",
67
+ "react-colorful": "5.8.1",
68
68
  "react-device-detect": "2.2.3",
69
69
  "react-intersection-observer": "11.0.1",
70
70
  "react-moveable": "0.56.0",