@photoroom/ui 0.1.36 → 0.1.37

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SellScoreGauge.d.ts","sourceRoot":"","sources":["../../../../src/components/status/SellScore/SellScoreGauge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAW9C,eAAO,MAAM,cAAc,GAAI,iCAAqC,mBAAmB,4CA8CtF,CAAC"}
1
+ {"version":3,"file":"SellScoreGauge.d.ts","sourceRoot":"","sources":["../../../../src/components/status/SellScore/SellScoreGauge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAW9C,eAAO,MAAM,cAAc,GAAI,iCAAiC,mBAAmB,4CA8ClF,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare function useFocusKeyNav<E extends HTMLElement = HTMLButtonElement>(selector?: string, orientation?: "horizontal" | "vertical"): (e: React.KeyboardEvent) => void;
1
+ export declare function useFocusKeyNav(selector?: string, orientation?: "horizontal" | "vertical"): (e: React.KeyboardEvent) => void;
2
2
  //# sourceMappingURL=useFocusKeyNav.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFocusKeyNav.d.ts","sourceRoot":"","sources":["../../src/hooks/useFocusKeyNav.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,iBAAiB,EACtE,QAAQ,SAAW,EACnB,WAAW,GAAE,YAAY,GAAG,UAAuB,OAG7C,KAAK,CAAC,aAAa,UAgB1B"}
1
+ {"version":3,"file":"useFocusKeyNav.d.ts","sourceRoot":"","sources":["../../src/hooks/useFocusKeyNav.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAC5B,QAAQ,SAAW,EACnB,WAAW,GAAE,YAAY,GAAG,UAAuB,OAG7C,KAAK,CAAC,aAAa,UAgB1B"}
package/index.mjs CHANGED
@@ -19526,10 +19526,10 @@ Ly();
19526
19526
  //#region ../shared/lib/ampli/index.ts
19527
19527
  var Ry = { production: "0cc38251f8841c0d84d11fd20b400b07" }, zy = {
19528
19528
  plan: {
19529
- version: "311",
19529
+ version: "312",
19530
19530
  branch: "main",
19531
19531
  source: "web",
19532
- versionId: "4889633c-0a21-4055-8810-f7896a7a1770"
19532
+ versionId: "da24e661-f8f0-4c27-8333-39f6e139ac9b"
19533
19533
  },
19534
19534
  ingestionMetadata: {
19535
19535
  sourceName: "browser-typescript-ampli",
@@ -32170,7 +32170,7 @@ var zW = ({ checkerboard: e, cover: t, imageUrl: n, loading: r, bottomRightIcon:
32170
32170
  radius: r,
32171
32171
  circumference: 2 * Math.PI * r
32172
32172
  };
32173
- }, KW = ({ score: e, max: t = 1, size: n, className: r }) => {
32173
+ }, KW = ({ score: e, max: t, size: n, className: r }) => {
32174
32174
  let i = Math.min(Math.max(e / t, 0), 1), { origin: a, strokeWidth: o, radius: s, circumference: c } = GW(n), l = c * i, u = UW(e, t);
32175
32175
  return /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("meter", {
32176
32176
  value: e,
@@ -45824,7 +45824,7 @@ var Zle = (e) => e.isFile === !0, Qle = (e) => e.isDirectory === !0, k3 = async
45824
45824
  M3.displayName = "FolderListButton";
45825
45825
  //#endregion
45826
45826
  //#region src/components/status/SelectionBadge/SelectionBadge.tsx
45827
- var N3 = l(({ className: e, variant: t = "square", selected: n, loading: r, invisible: i, ...a }, o) => /* @__PURE__ */ T("div", {
45827
+ var N3 = l(({ className: e, variant: t, selected: n, loading: r, invisible: i, ...a }, o) => /* @__PURE__ */ T("div", {
45828
45828
  role: "presentation",
45829
45829
  "data-state": n || r ? "checked" : "unchecked",
45830
45830
  "aria-busy": r,
@@ -49746,7 +49746,7 @@ var k5 = l(({ isSelected: e = !1, label: t, variant: n = "default", disabled: r,
49746
49746
  });
49747
49747
  });
49748
49748
  k5.displayName = "SideNavigationItem";
49749
- var A5 = ({ variant: e = "default", label: t, isActive: n = !1, activeIcon: r, icon: i }) => {
49749
+ var A5 = ({ variant: e = "default", label: t, isActive: n, activeIcon: r, icon: i }) => {
49750
49750
  let a = n ? r : i;
49751
49751
  return /* @__PURE__ */ E("span", {
49752
49752
  className: H("flex w-full flex-row items-center gap-3 py-[10px] pr-3", "group-focus-visible:ring-accent-alpha-5 group-focus-visible:misc-border-size-focus-ring group-disabled:opacity-30", "cursor-pointer rounded-500 outline-none transition duration-200", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [