@photoroom/ui 0.1.284 → 0.1.286

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.
@@ -22,11 +22,12 @@ export type ImageWidgetProps = {
22
22
  }>;
23
23
  onButtonClick?: () => void;
24
24
  buttonLabel?: string;
25
+ leadingBottom?: React.ReactNode;
25
26
  className?: string;
26
27
  imgClassName?: string;
27
28
  } & React.RefAttributes<HTMLDivElement>;
28
29
  export declare const ImageWidget: {
29
- ({ src, alt, width: widthProp, height: heightProp, flexibleWidth, fill, isLoading, selected, disabled, buttonIcon, onButtonClick, buttonLabel, className, imgClassName, ref, }: ImageWidgetProps): import("react").JSX.Element;
30
+ ({ src, alt, width: widthProp, height: heightProp, flexibleWidth, fill, isLoading, selected, disabled, buttonIcon, onButtonClick, buttonLabel, leadingBottom, className, imgClassName, ref, }: ImageWidgetProps): import("react").JSX.Element;
30
31
  displayName: string;
31
32
  };
32
33
  //# sourceMappingURL=ImageWidget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageWidget.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ImageWidget/ImageWidget.tsx"],"names":[],"mappings":"AAYA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAKxC,eAAO,MAAM,WAAW;oLAgBrB,gBAAgB;;CA+ElB,CAAC"}
1
+ {"version":3,"file":"ImageWidget.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ImageWidget/ImageWidget.tsx"],"names":[],"mappings":"AAYA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAKxC,eAAO,MAAM,WAAW;mMAiBrB,gBAAgB;;CAiFlB,CAAC"}
@@ -9,6 +9,8 @@ export type ComparisonTableProps = Readonly<{
9
9
  photoroomIcon: React.ReactNode;
10
10
  otherAppIcon: React.ReactNode;
11
11
  features: ComparisonFeatureRow[];
12
+ includedLabel: string;
13
+ excludedLabel: string;
12
14
  }> & Omit<React.ComponentProps<"div">, "children">;
13
- export declare const ComparisonTable: ({ title, otherAppName, photoroomIcon, otherAppIcon, features, className, ...rest }: ComparisonTableProps) => import("react").JSX.Element;
15
+ export declare const ComparisonTable: ({ title, otherAppName, photoroomIcon, otherAppIcon, features, includedLabel, excludedLabel, className, ...rest }: ComparisonTableProps) => import("react").JSX.Element;
14
16
  //# sourceMappingURL=ComparisonTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTable.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ComparisonBlock/ComparisonTable.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC,GACA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAYhD,eAAO,MAAM,eAAe,GAAI,oFAQ7B,oBAAoB,gCA+DtB,CAAC"}
1
+ {"version":3,"file":"ComparisonTable.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ComparisonBlock/ComparisonTable.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,GACA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAahD,eAAO,MAAM,eAAe,GAAI,kHAU7B,oBAAoB,gCAqEtB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  export type ApiPricingFeaturesSectionItemBadgeProps = Readonly<{
2
2
  isChecked?: boolean;
3
3
  planName?: string;
4
+ includedLabel: string;
5
+ excludedLabel: string;
4
6
  }>;
5
- export declare const ApiPricingFeaturesSectionItemBadge: ({ isChecked, planName, }: ApiPricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
7
+ export declare const ApiPricingFeaturesSectionItemBadge: ({ isChecked, planName, includedLabel, excludedLabel, }: ApiPricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
6
8
  //# sourceMappingURL=ApiPricingFeaturesSectionItemBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApiPricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/ApiPricing/ApiPricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,0BAGhD,uCAAuC,gCAEzC,CAAC"}
1
+ {"version":3,"file":"ApiPricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/ApiPricing/ApiPricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,wDAKhD,uCAAuC,gCASzC,CAAC"}
@@ -2,6 +2,8 @@ export type AppPricingFeaturesSectionItemBadgeProps = Readonly<{
2
2
  isChecked?: boolean;
3
3
  description?: string;
4
4
  planName?: string;
5
+ includedLabel: string;
6
+ excludedLabel: string;
5
7
  }>;
6
- export declare const AppPricingFeaturesSectionItemBadge: ({ isChecked, description, planName, }: AppPricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
8
+ export declare const AppPricingFeaturesSectionItemBadge: ({ isChecked, description, planName, includedLabel, excludedLabel, }: AppPricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
7
9
  //# sourceMappingURL=AppPricingFeaturesSectionItemBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppPricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,uCAIhD,uCAAuC,gCAQzC,CAAC"}
1
+ {"version":3,"file":"AppPricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/AppPricing/AppPricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,kCAAkC,GAAI,qEAMhD,uCAAuC,gCAUzC,CAAC"}
@@ -2,6 +2,8 @@ export type PricingFeaturesSectionItemBadgeProps = Readonly<{
2
2
  isChecked?: boolean;
3
3
  planName?: string;
4
4
  description?: string;
5
+ includedLabel: string;
6
+ excludedLabel: string;
5
7
  }>;
6
- export declare const PricingFeaturesSectionItemBadge: ({ isChecked, planName, description, }: PricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
8
+ export declare const PricingFeaturesSectionItemBadge: ({ isChecked, planName, description, includedLabel, excludedLabel, }: PricingFeaturesSectionItemBadgeProps) => import("react").JSX.Element;
7
9
  //# sourceMappingURL=PricingFeaturesSectionItemBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC,CAAC;AAEH,eAAO,MAAM,+BAA+B,GAAI,uCAI7C,oCAAoC,gCAsBtC,CAAC"}
1
+ {"version":3,"file":"PricingFeaturesSectionItemBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/website/PricingHeroBlock/PricingFeatures/PricingFeaturesSectionItemBadge.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,+BAA+B,GAAI,qEAM7C,oCAAoC,gCAgCtC,CAAC"}
package/index.mjs CHANGED
@@ -47917,56 +47917,63 @@ var C3 = ({ icon: e, className: n, ref: r, ...i }) => /* @__PURE__ */ t("button"
47917
47917
  C3.displayName = "ImageWidgetButton";
47918
47918
  //#endregion
47919
47919
  //#region src/components/input/ImageWidget/ImageWidget.tsx
47920
- var w3 = .5, T3 = 2, efe = 80, tfe = 80, E3 = ({ src: e, alt: r, width: i = tfe, height: a = efe, flexibleWidth: o = !1, fill: s = !1, isLoading: c = !1, selected: l = !1, disabled: u = !1, buttonIcon: d, onButtonClick: f, buttonLabel: p, className: m, imgClassName: h, ref: g }) => {
47921
- let [_, v] = Me(null), y = B((e) => {
47920
+ var w3 = .5, T3 = 2, efe = 80, tfe = 80, E3 = ({ src: e, alt: r, width: i = tfe, height: a = efe, flexibleWidth: o = !1, fill: s = !1, isLoading: c = !1, selected: l = !1, disabled: u = !1, buttonIcon: d, onButtonClick: f, buttonLabel: p, leadingBottom: m, className: h, imgClassName: g, ref: _ }) => {
47921
+ let [v, y] = Me(null), b = B((e) => {
47922
47922
  let t = e.currentTarget;
47923
- t.naturalWidth && t.naturalHeight && v(t.naturalWidth / t.naturalHeight);
47924
- }, []), { width: b, height: x, isClamped: S } = Ae(() => o && _ !== null ? {
47925
- width: Math.round(a * Math.min(T3, Math.max(w3, _))),
47923
+ t.naturalWidth && t.naturalHeight && y(t.naturalWidth / t.naturalHeight);
47924
+ }, []), { width: x, height: S, isClamped: C } = Ae(() => o && v !== null ? {
47925
+ width: Math.round(a * Math.min(T3, Math.max(w3, v))),
47926
47926
  height: a,
47927
- isClamped: _ < w3 || _ > T3
47927
+ isClamped: v < w3 || v > T3
47928
47928
  } : {
47929
47929
  width: i,
47930
47930
  height: a,
47931
47931
  isClamped: !1
47932
47932
  }, [
47933
47933
  o,
47934
- _,
47934
+ v,
47935
47935
  a,
47936
47936
  i
47937
- ]), C = !c && d && f;
47937
+ ]), w = !c && d && f, T = !c && !!m;
47938
47938
  return /* @__PURE__ */ n("div", {
47939
- ref: g,
47940
- className: U("group", s ? "absolute inset-0" : "relative shrink-0", m),
47939
+ ref: _,
47940
+ className: U("group", s ? "absolute inset-0" : "relative shrink-0", h),
47941
47941
  style: s ? void 0 : {
47942
- width: b,
47943
- height: x
47942
+ width: x,
47943
+ height: S
47944
47944
  },
47945
- children: [/* @__PURE__ */ n("div", {
47946
- className: H("rounded-400 bg-surface-default relative h-full w-full overflow-hidden", "after:rounded-400 after:pointer-events-none after:absolute after:inset-0 after:content-['']", l ? "after:shadow-[inset_0_0_0_2px_var(--color-content-accent)]" : "after:shadow-[inset_0_0_0_1px_var(--color-misc-border)]"),
47947
- children: [c ? /* @__PURE__ */ t("div", {
47948
- className: "flex h-full w-full items-center justify-center",
47949
- children: /* @__PURE__ */ t(tG, { className: "size-6" })
47950
- }) : /* @__PURE__ */ t("img", {
47951
- src: e,
47952
- alt: r,
47953
- className: U("h-full w-full", S ? "object-contain" : "object-cover", h),
47954
- onLoad: o ? y : void 0
47955
- }), !u && /* @__PURE__ */ t("div", { className: "rounded-400 interaction-transition group-hover:bg-misc-visual-hover group-active:bg-misc-visual-down absolute inset-0 transition-colors" })]
47956
- }), C && /* @__PURE__ */ t("div", {
47957
- className: "absolute inset-e-1 top-1 opacity-0 transition-opacity group-focus-within:opacity-100 group-hover:opacity-100 focus-within:opacity-100",
47958
- children: /* @__PURE__ */ t(vs, {
47959
- content: p,
47960
- side: "top",
47961
- children: /* @__PURE__ */ t(C3, {
47962
- icon: d,
47963
- onClick: (e) => {
47964
- e.stopPropagation(), f();
47965
- },
47966
- "aria-label": p
47945
+ children: [
47946
+ /* @__PURE__ */ n("div", {
47947
+ className: H("rounded-400 bg-surface-default relative h-full w-full overflow-hidden", "after:rounded-400 after:pointer-events-none after:absolute after:inset-0 after:content-['']", l ? "after:shadow-[inset_0_0_0_2px_var(--color-content-accent)]" : "after:shadow-[inset_0_0_0_1px_var(--color-misc-border)]"),
47948
+ children: [c ? /* @__PURE__ */ t("div", {
47949
+ className: "flex h-full w-full items-center justify-center",
47950
+ children: /* @__PURE__ */ t(tG, { className: "size-6" })
47951
+ }) : /* @__PURE__ */ t("img", {
47952
+ src: e,
47953
+ alt: r,
47954
+ className: U("h-full w-full", C ? "object-contain" : "object-cover", g),
47955
+ onLoad: o ? b : void 0
47956
+ }), !u && /* @__PURE__ */ t("div", { className: "rounded-400 interaction-transition group-hover:bg-misc-visual-hover group-active:bg-misc-visual-down absolute inset-0 transition-colors" })]
47957
+ }),
47958
+ w && /* @__PURE__ */ t("div", {
47959
+ className: "absolute inset-e-1 top-1 opacity-0 transition-opacity group-focus-within:opacity-100 group-hover:opacity-100 focus-within:opacity-100",
47960
+ children: /* @__PURE__ */ t(vs, {
47961
+ content: p,
47962
+ side: "top",
47963
+ children: /* @__PURE__ */ t(C3, {
47964
+ icon: d,
47965
+ onClick: (e) => {
47966
+ e.stopPropagation(), f();
47967
+ },
47968
+ "aria-label": p
47969
+ })
47967
47970
  })
47971
+ }),
47972
+ T && /* @__PURE__ */ t("div", {
47973
+ className: "absolute inset-s-1.5 bottom-1.5",
47974
+ children: m
47968
47975
  })
47969
- })]
47976
+ ]
47970
47977
  });
47971
47978
  };
47972
47979
  E3.displayName = "ImageWidget";
@@ -54980,18 +54987,18 @@ var Pge = ({ titleBlock: e, children: r, ...i }) => /* @__PURE__ */ n("div", {
54980
54987
  children: r
54981
54988
  })]
54982
54989
  })
54983
- }), d9 = ({ isFeatured: e }) => /* @__PURE__ */ t("span", {
54984
- "aria-label": String(e),
54985
- children: e ? /* @__PURE__ */ t(u, {
54986
- className: "text-content-primary icon-size-500",
54987
- "aria-hidden": "true"
54988
- }) : /* @__PURE__ */ t(g, {
54989
- className: "text-content-secondary icon-size-500",
54990
- "aria-hidden": "true"
54991
- })
54992
- }), zge = ({ title: e, otherAppName: r, photoroomIcon: i, otherAppIcon: a, features: o, className: s, ...c }) => /* @__PURE__ */ n("div", {
54993
- ...c,
54994
- className: U("rounded-500 bg-background-subdued w-full p-4 sm:p-6", s),
54990
+ }), d9 = ({ isFeatured: e, label: r }) => /* @__PURE__ */ n("span", { children: [e ? /* @__PURE__ */ t(u, {
54991
+ className: "text-content-primary icon-size-500",
54992
+ "aria-hidden": "true"
54993
+ }) : /* @__PURE__ */ t(g, {
54994
+ className: "text-content-secondary icon-size-500",
54995
+ "aria-hidden": "true"
54996
+ }), /* @__PURE__ */ t("span", {
54997
+ className: "sr-only",
54998
+ children: r
54999
+ })] }), zge = ({ title: e, otherAppName: r, photoroomIcon: i, otherAppIcon: a, features: o, includedLabel: s, excludedLabel: c, className: l, ...u }) => /* @__PURE__ */ n("div", {
55000
+ ...u,
55001
+ className: U("rounded-500 bg-background-subdued w-full p-4 sm:p-6", l),
54995
55002
  role: "table",
54996
55003
  "aria-label": e,
54997
55004
  children: [/* @__PURE__ */ t("div", {
@@ -55034,12 +55041,18 @@ var Pge = ({ titleBlock: e, children: r, ...i }) => /* @__PURE__ */ n("div", {
55034
55041
  /* @__PURE__ */ t("div", {
55035
55042
  className: "flex w-12 shrink-0 items-center justify-center self-stretch",
55036
55043
  role: "cell",
55037
- children: /* @__PURE__ */ t(d9, { isFeatured: e.isOtherAppFeature })
55044
+ children: /* @__PURE__ */ t(d9, {
55045
+ isFeatured: e.isOtherAppFeature,
55046
+ label: e.isOtherAppFeature ? s : c
55047
+ })
55038
55048
  }),
55039
55049
  /* @__PURE__ */ t("div", {
55040
55050
  className: "flex w-12 shrink-0 items-center justify-center self-stretch",
55041
55051
  role: "cell",
55042
- children: /* @__PURE__ */ t(d9, { isFeatured: e.isPhotoroomFeature })
55052
+ children: /* @__PURE__ */ t(d9, {
55053
+ isFeatured: e.isPhotoroomFeature,
55054
+ label: e.isPhotoroomFeature ? s : c
55055
+ })
55043
55056
  })
55044
55057
  ]
55045
55058
  }, e.featureName)), /* @__PURE__ */ t("div", {
@@ -56304,21 +56317,32 @@ var N_e = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
56304
56317
  className: "flex flex-wrap gap-2 xl:gap-4",
56305
56318
  children: i
56306
56319
  })]
56307
- }), j9 = ({ isChecked: e, planName: r, description: i }) => /* @__PURE__ */ t(k9, { children: /* @__PURE__ */ n("div", {
56320
+ }), j9 = ({ isChecked: r, planName: i, description: a, includedLabel: o, excludedLabel: s }) => /* @__PURE__ */ t(k9, { children: /* @__PURE__ */ n("div", {
56308
56321
  className: H("h-8 px-2", "inline-flex items-center gap-1.5", "rounded-400 border-misc-hairline misc-border-size-hairline", "xl:h-auto xl:border-none xl:px-0", "component-500 text-content-primary"),
56309
- children: [!!r && /* @__PURE__ */ n("span", {
56322
+ children: [!!i && /* @__PURE__ */ n("span", {
56310
56323
  className: "text-content-secondary xl:hidden",
56311
- children: [r, ":"]
56312
- }), i || /* @__PURE__ */ t("div", {
56324
+ children: [i, ":"]
56325
+ }), a || /* @__PURE__ */ t("div", {
56313
56326
  className: "flex h-6 w-6 items-center justify-center",
56314
- children: e ? /* @__PURE__ */ t(u, { className: "icon-size-400" }) : ""
56327
+ children: r ? /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t(u, { className: "icon-size-400" }), /* @__PURE__ */ t("span", {
56328
+ className: "sr-only",
56329
+ children: o
56330
+ })] }) : /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
56331
+ "aria-hidden": !0,
56332
+ children: "—"
56333
+ }), /* @__PURE__ */ t("span", {
56334
+ className: "sr-only",
56335
+ children: s
56336
+ })] })
56315
56337
  })]
56316
56338
  }) }), V_e = ({ planName: e, planShortName: n }) => /* @__PURE__ */ t(A9, {
56317
56339
  planName: e,
56318
56340
  planShortName: n
56319
- }), H_e = ({ isChecked: e, planName: n }) => /* @__PURE__ */ t(j9, {
56341
+ }), H_e = ({ isChecked: e, planName: n, includedLabel: r, excludedLabel: i }) => /* @__PURE__ */ t(j9, {
56320
56342
  isChecked: e,
56321
- planName: n
56343
+ planName: n,
56344
+ includedLabel: r,
56345
+ excludedLabel: i
56322
56346
  });
56323
56347
  //#endregion
56324
56348
  //#region src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/utils.ts
@@ -56607,10 +56631,12 @@ var U_e = ({ lang: e, billingPeriod: r = "yearly", items: i, userCountryCode: a,
56607
56631
  }, q_e = ({ planName: e, planShortName: n }) => /* @__PURE__ */ t(A9, {
56608
56632
  planName: e,
56609
56633
  planShortName: n
56610
- }), J_e = ({ isChecked: e, description: n, planName: r }) => /* @__PURE__ */ t(j9, {
56634
+ }), J_e = ({ isChecked: e, description: n, planName: r, includedLabel: i, excludedLabel: a }) => /* @__PURE__ */ t(j9, {
56611
56635
  isChecked: e,
56612
56636
  description: n,
56613
- planName: r
56637
+ planName: r,
56638
+ includedLabel: i,
56639
+ excludedLabel: a
56614
56640
  }), Y_e = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
56615
56641
  className: "rounded-400 bg-background-subdued inline-flex gap-0.5 p-0.5",
56616
56642
  ...n,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.284",
3
+ "version": "0.1.286",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [