@photoroom/ui 0.1.846 → 0.1.847
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/components/dropdown/DropdownMenuDivider/DropdownMenuDivider.d.ts +1 -1
- package/components/dropdown/DropdownMenuDivider/DropdownMenuDivider.d.ts.map +1 -1
- package/components/website/FooterBlockV2/FooterV2Block.d.ts +1 -1
- package/components/website/FooterBlockV2/FooterV2Block.d.ts.map +1 -1
- package/components/website/FooterBlockV2/FooterV2LinkBlock.d.ts.map +1 -1
- package/components/website/Glossary/GlossaryLetterLink.d.ts +1 -1
- package/components/website/Glossary/GlossaryLetterLink.d.ts.map +1 -1
- package/components/website/StepsBlock/StepsBlock.d.ts +1 -1
- package/components/website/StepsBlock/StepsBlock.d.ts.map +1 -1
- package/components/website/ToolCard/ToolCard.d.ts.map +1 -1
- package/components/website/ToolSmallCard/ToolSmallCard.d.ts.map +1 -1
- package/index.mjs +34 -34
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as RadixDropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
2
2
|
export type DropdownMenuDividerProps = RadixDropdownMenu.DropdownMenuSeparatorProps;
|
|
3
|
-
export declare const DropdownMenuDivider: (props: DropdownMenuDividerProps) => import("react").JSX.Element;
|
|
3
|
+
export declare const DropdownMenuDivider: ({ className, ...props }: DropdownMenuDividerProps) => import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=DropdownMenuDivider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuDivider.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenuDivider/DropdownMenuDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownMenuDivider.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenuDivider/DropdownMenuDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AAInE,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,0BAA0B,CAAC;AAEpF,eAAO,MAAM,mBAAmB,4BAA6B,wBAAwB,gCAOpF,CAAC"}
|
|
@@ -8,7 +8,7 @@ export type FooterV2BlockProps = Omit<React.ComponentProps<"footer">, "children"
|
|
|
8
8
|
legalLinks?: React.ReactNode;
|
|
9
9
|
languageSelector?: React.ReactNode;
|
|
10
10
|
}>;
|
|
11
|
-
export declare function FooterV2Block({ appsSectionTitle, appButtons, linksSections, socialLinks, legalLinks, languageSelector, ...rest }: FooterV2BlockProps): import("react").JSX.Element;
|
|
11
|
+
export declare function FooterV2Block({ appsSectionTitle, appButtons, linksSections, socialLinks, legalLinks, languageSelector, className, ...rest }: FooterV2BlockProps): import("react").JSX.Element;
|
|
12
12
|
export declare namespace FooterV2Block {
|
|
13
13
|
export { FooterV2LinksSectionBlock as LinksSection };
|
|
14
14
|
export { FooterV2LinkBlock as Link };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterV2Block.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FooterBlockV2/FooterV2Block.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FooterV2Block.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FooterBlockV2/FooterV2Block.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAC/E,QAAQ,CAAC;IACP,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACpC,CAAC,CAAC;AAEL,wBAAgB,aAAa,CAAC,EAC5B,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,kBAAkB,+BAwCpB;yBAjDe,aAAa;aAmDA,yBAAyB;aACjC,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterV2LinkBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FooterBlockV2/FooterV2LinkBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FooterV2LinkBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FooterBlockV2/FooterV2LinkBlock.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAG3E,KAAK,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GACrD,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC,CAAC;AAEL,eAAO,MAAM,iBAAiB,EAiCzB,oBAAoB,CAAC,GAAG,EAAE,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type GlossaryLetterLinkProps = Readonly<{
|
|
2
2
|
letter: string;
|
|
3
3
|
}> & Omit<React.ComponentProps<"a">, "children">;
|
|
4
|
-
export declare function GlossaryLetterLink({ letter, href, ref, ...rest }: GlossaryLetterLinkProps): import("react").JSX.Element;
|
|
4
|
+
export declare function GlossaryLetterLink({ letter, href, className, ref, ...rest }: GlossaryLetterLinkProps): import("react").JSX.Element;
|
|
5
5
|
export declare namespace GlossaryLetterLink {
|
|
6
6
|
var displayName: string;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlossaryLetterLink.d.ts","sourceRoot":"","sources":["../../../../src/components/website/Glossary/GlossaryLetterLink.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,GACA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;2CAEX,
|
|
1
|
+
{"version":3,"file":"GlossaryLetterLink.d.ts","sourceRoot":"","sources":["../../../../src/components/website/Glossary/GlossaryLetterLink.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,GACA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;2CAEX,EACjC,MAAM,EACN,IAAI,EACJ,SAAS,EACT,GAAG,EACH,GAAG,IAAI,EACR,EAAE,uBAAuB"}
|
|
@@ -3,5 +3,5 @@ export type StepsBlockProps = Readonly<{
|
|
|
3
3
|
titleBlock?: React.ReactNode;
|
|
4
4
|
cta?: React.ReactNode;
|
|
5
5
|
}> & React.ComponentProps<"div">;
|
|
6
|
-
export declare const StepsBlock: ({ titleBlock, children, cta, ...rest }: StepsBlockProps) => React.JSX.Element;
|
|
6
|
+
export declare const StepsBlock: ({ titleBlock, children, cta, className, ...rest }: StepsBlockProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=StepsBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StepsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,eAAO,MAAM,UAAU,sDAAuD,eAAe,sBA2B5F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ToolCard/ToolCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ToolCard/ToolCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAE3E,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GACnD,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC,CAAC;AAEL,eAAO,MAAM,QAAQ,EAyCf,oBAAoB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSmallCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ToolSmallCard/ToolSmallCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolSmallCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ToolSmallCard/ToolSmallCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAE3E,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GACxD,QAAQ,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC,CAAC;AAEL,eAAO,MAAM,aAAa,EAkCpB,oBAAoB,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -38899,9 +38899,9 @@ var HY = ({ label: e, selected: t, badge: n, thumbnail: r, icon: i, multiline: a
|
|
|
38899
38899
|
HY.displayName = "DropdownMenuSingleSelectionItem";
|
|
38900
38900
|
//#endregion
|
|
38901
38901
|
//#region src/components/dropdown/DropdownMenuDivider/DropdownMenuDivider.tsx
|
|
38902
|
-
var hhe = (e) => /* @__PURE__ */ L(dU, {
|
|
38903
|
-
className: "border-misc-divider mx-3 my-1 border-t",
|
|
38904
|
-
...
|
|
38902
|
+
var hhe = ({ className: e, ...t }) => /* @__PURE__ */ L(dU, {
|
|
38903
|
+
className: W("border-misc-divider mx-3 my-1 border-t", e),
|
|
38904
|
+
...t
|
|
38905
38905
|
}), UY = ({ selected: e, className: t, children: n, ...r }) => /* @__PURE__ */ R("button", {
|
|
38906
38906
|
...r,
|
|
38907
38907
|
type: "button",
|
|
@@ -60045,12 +60045,12 @@ var O7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
|
|
|
60045
60045
|
})]
|
|
60046
60046
|
})
|
|
60047
60047
|
});
|
|
60048
|
-
}, aEe = function({ as: e = "a", label: t, isNew: n,
|
|
60048
|
+
}, aEe = function({ as: e = "a", label: t, isNew: n, className: r, ref: i, ...a }) {
|
|
60049
60049
|
return /* @__PURE__ */ R(e, {
|
|
60050
|
-
ref:
|
|
60051
|
-
className:
|
|
60052
|
-
...
|
|
60053
|
-
...
|
|
60050
|
+
ref: i,
|
|
60051
|
+
className: W("inline-flex items-center gap-1.5", "rounded-200 cursor-pointer outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-light-500 text-content-subdued-primary", "hover:text-content-primary focus-visible:text-content-primary active:text-content-primary", "interaction-transition transition-colors", r),
|
|
60052
|
+
...a,
|
|
60053
|
+
...a.href?.toString().startsWith("http") ? {
|
|
60054
60054
|
target: "_blank",
|
|
60055
60055
|
rel: "noopener noreferrer"
|
|
60056
60056
|
} : {},
|
|
@@ -60109,10 +60109,10 @@ function oEe({ title: e, className: t, children: n, ...r }) {
|
|
|
60109
60109
|
}
|
|
60110
60110
|
//#endregion
|
|
60111
60111
|
//#region src/components/website/FooterBlockV2/FooterV2Block.tsx
|
|
60112
|
-
function M7({ appsSectionTitle: e, appButtons: t, linksSections: n, socialLinks: r, legalLinks: i, languageSelector: a,
|
|
60112
|
+
function M7({ appsSectionTitle: e, appButtons: t, linksSections: n, socialLinks: r, legalLinks: i, languageSelector: a, className: o, ...s }) {
|
|
60113
60113
|
return /* @__PURE__ */ L("footer", {
|
|
60114
|
-
className: "bg-surface-primary px-4 py-6 sm:px-6 sm:pt-20 md:px-8 lg:pt-24 lg:pb-10",
|
|
60115
|
-
...
|
|
60114
|
+
className: W("bg-surface-primary px-4 py-6 sm:px-6 sm:pt-20 md:px-8 lg:pt-24 lg:pb-10", o),
|
|
60115
|
+
...s,
|
|
60116
60116
|
children: /* @__PURE__ */ R("div", {
|
|
60117
60117
|
className: "mx-auto flex max-w-[1200px] flex-col gap-12 md:gap-16 lg:gap-32",
|
|
60118
60118
|
children: [/* @__PURE__ */ R("div", {
|
|
@@ -60201,11 +60201,11 @@ var sEe = ({ image: e, title: t, description: n, className: r, ...i }) => /* @__
|
|
|
60201
60201
|
children: n
|
|
60202
60202
|
})]
|
|
60203
60203
|
})
|
|
60204
|
-
}), N7 = ({ letter: e, href: t,
|
|
60205
|
-
ref:
|
|
60204
|
+
}), N7 = ({ letter: e, href: t, className: n, ref: r, ...i }) => /* @__PURE__ */ L("a", {
|
|
60205
|
+
ref: r,
|
|
60206
60206
|
href: t,
|
|
60207
|
-
className:
|
|
60208
|
-
...
|
|
60207
|
+
className: W("component-700 rounded-500 flex size-500 items-center justify-center", "outline-hidden", t ? "hover:bg-background-subdued-hover active:bg-background-subdued-down" : "opacity-30", "interaction-transition focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring transition-all", n),
|
|
60208
|
+
...i,
|
|
60209
60209
|
children: e
|
|
60210
60210
|
});
|
|
60211
60211
|
N7.displayName = "GlossaryLetterLink";
|
|
@@ -62014,17 +62014,17 @@ var fDe = Object.assign(r9, {
|
|
|
62014
62014
|
className: "heading-thin-700 max-w-[600px] text-balance",
|
|
62015
62015
|
children: e
|
|
62016
62016
|
})]
|
|
62017
|
-
}), ODe = ({ titleBlock: e, children: t, cta: n,
|
|
62018
|
-
let
|
|
62017
|
+
}), ODe = ({ titleBlock: e, children: t, cta: n, className: r, ...i }) => {
|
|
62018
|
+
let a = Se.count(t);
|
|
62019
62019
|
return /* @__PURE__ */ R("div", {
|
|
62020
|
-
className:
|
|
62021
|
-
...
|
|
62020
|
+
className: W("px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i600 flex flex-col items-stretch", r),
|
|
62021
|
+
...i,
|
|
62022
62022
|
children: [e, /* @__PURE__ */ R("div", {
|
|
62023
62023
|
className: "gap-i500 mx-auto flex w-full max-w-[1200px] flex-col",
|
|
62024
62024
|
children: [/* @__PURE__ */ L("div", {
|
|
62025
62025
|
className: U("grid w-full grid-cols-1 gap-6", {
|
|
62026
|
-
"lg:grid-cols-2":
|
|
62027
|
-
"lg:grid-cols-3":
|
|
62026
|
+
"lg:grid-cols-2": a < 3,
|
|
62027
|
+
"lg:grid-cols-3": a >= 3
|
|
62028
62028
|
}),
|
|
62029
62029
|
children: t
|
|
62030
62030
|
}), n && /* @__PURE__ */ L("div", {
|
|
@@ -62412,24 +62412,24 @@ var kDe = ({ titleBlock: e, children: t, className: n, ...r }) => {
|
|
|
62412
62412
|
className: U("bg-surface-primary border-misc-border absolute size-3 rounded-full border", "start-0 top-3", "lg:start-1/2 lg:top-14 lg:-translate-x-1/2 lg:rtl:translate-x-1/2")
|
|
62413
62413
|
})
|
|
62414
62414
|
]
|
|
62415
|
-
}), s9 = (({ as: e = "a",
|
|
62416
|
-
ref:
|
|
62417
|
-
className: "group inline-flex w-full flex-col gap-3 outline-hidden",
|
|
62418
|
-
...
|
|
62415
|
+
}), s9 = (({ as: e = "a", className: t, icon: n, title: r, description: i, image: a, ref: o, ...s }) => s.href ? /* @__PURE__ */ R(e, {
|
|
62416
|
+
ref: o,
|
|
62417
|
+
className: W("group inline-flex w-full flex-col gap-3 outline-hidden", t),
|
|
62418
|
+
...s,
|
|
62419
62419
|
children: [/* @__PURE__ */ R("div", {
|
|
62420
62420
|
className: U("relative flex", "rounded-500 aspect-video overflow-hidden", "group-focus-visible:ring-misc-focus-indicator group-focus-visible:misc-border-size-focus-ring", "transition-all"),
|
|
62421
|
-
children: [
|
|
62421
|
+
children: [a, /* @__PURE__ */ L("div", { className: "rounded-500 ring-misc-border pointer-events-none absolute inset-0 ring-1 ring-inset" })]
|
|
62422
62422
|
}), /* @__PURE__ */ R("div", {
|
|
62423
62423
|
className: "flex flex-col gap-1",
|
|
62424
62424
|
children: [/* @__PURE__ */ R("div", {
|
|
62425
62425
|
className: "flex items-center",
|
|
62426
|
-
children: [
|
|
62426
|
+
children: [n, /* @__PURE__ */ L("span", {
|
|
62427
62427
|
className: "component-600 ms-1.25",
|
|
62428
|
-
children:
|
|
62428
|
+
children: r
|
|
62429
62429
|
})]
|
|
62430
|
-
}),
|
|
62430
|
+
}), i && /* @__PURE__ */ L("p", {
|
|
62431
62431
|
className: "component-light-500 text-content-secondary",
|
|
62432
|
-
children:
|
|
62432
|
+
children: i
|
|
62433
62433
|
})]
|
|
62434
62434
|
})]
|
|
62435
62435
|
}) : null);
|
|
@@ -62596,10 +62596,10 @@ var d9 = ({ title: e, subtitle: t, image: n, form: r, cta: i, dismiss: a, classN
|
|
|
62596
62596
|
d9.displayName = "RaterPromoBanner";
|
|
62597
62597
|
//#endregion
|
|
62598
62598
|
//#region src/components/website/ToolSmallCard/ToolSmallCard.tsx
|
|
62599
|
-
var f9 = (({ as: e = "a", title: t, image: n,
|
|
62600
|
-
ref:
|
|
62601
|
-
className:
|
|
62602
|
-
...
|
|
62599
|
+
var f9 = (({ as: e = "a", title: t, image: n, className: r, ref: i, ...a }) => a.href ? /* @__PURE__ */ R(e, {
|
|
62600
|
+
ref: i,
|
|
62601
|
+
className: W("inline-flex items-center gap-2 py-1.5 ps-1.5 pe-3", "rounded-500 border-misc-hairline-emphasized misc-border-size-hairline", "hover:bg-background-borderless-subdued-hover", "active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden transition-all", r),
|
|
62602
|
+
...a,
|
|
62603
62603
|
children: [!!n && /* @__PURE__ */ L("div", {
|
|
62604
62604
|
className: "rounded-concentric-500-6px relative flex h-12 w-[85px] shrink-0 overflow-hidden [&_img]:size-full [&_img]:object-cover",
|
|
62605
62605
|
children: n
|