@photoroom/ui 0.1.49 → 0.1.50
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/content/StepCard/StepCard.d.ts +2 -2
- package/components/content/StepCard/StepCard.d.ts.map +1 -1
- package/components/input/FloatingInput/FloatingInput.d.ts +1 -1
- package/components/input/FloatingInput/FloatingInput.d.ts.map +1 -1
- package/components/website/SectionTitle/SectionTitle.d.ts +2 -1
- package/components/website/SectionTitle/SectionTitle.d.ts.map +1 -1
- package/components/website/StepsBlock/StepsBlock.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +6727 -6721
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type StepCardProps = Readonly<{
|
|
2
2
|
title: string;
|
|
3
|
-
|
|
3
|
+
index?: string | number;
|
|
4
4
|
}> & React.ComponentProps<"div">;
|
|
5
|
-
export declare const StepCard: ({
|
|
5
|
+
export declare const StepCard: ({ index, title, children, className, ...rest }: StepCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=StepCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCard.d.ts","sourceRoot":"","sources":["../../../../src/components/content/StepCard/StepCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StepCard.d.ts","sourceRoot":"","sources":["../../../../src/components/content/StepCard/StepCard.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,gDAAgD,aAAa,4CAmBrF,CAAC"}
|
|
@@ -3,7 +3,7 @@ export type FloatingInputProps = {
|
|
|
3
3
|
value: string;
|
|
4
4
|
/** Called when value changes */
|
|
5
5
|
onChange: (value: string) => void;
|
|
6
|
-
/** Called when the user
|
|
6
|
+
/** Called when the user submits (button click or Enter key). Shift+Enter inserts a newline. */
|
|
7
7
|
onSubmit: () => void;
|
|
8
8
|
/** Label for the submit button */
|
|
9
9
|
submitLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/FloatingInput/FloatingInput.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC
|
|
1
|
+
{"version":3,"file":"FloatingInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/FloatingInput/FloatingInput.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,+FAA+F;IAC/F,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,oHA6EzB,CAAC"}
|
|
@@ -2,6 +2,7 @@ export type SectionTitleProps = Omit<React.ComponentProps<"div">, "children"> &
|
|
|
2
2
|
variant?: "default" | "side";
|
|
3
3
|
title?: string;
|
|
4
4
|
subtitle?: React.ReactNode;
|
|
5
|
+
cta?: React.ReactNode;
|
|
5
6
|
}>;
|
|
6
|
-
export declare const SectionTitle: ({ variant, title, subtitle, className, ...rest }: SectionTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SectionTitle: ({ variant, title, subtitle, cta, className, ...rest }: SectionTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
//# sourceMappingURL=SectionTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/website/SectionTitle/SectionTitle.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAC3E,QAAQ,CAAC;IACP,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/website/SectionTitle/SectionTitle.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAC3E,QAAQ,CAAC;IACP,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEL,eAAO,MAAM,YAAY,GAAyB,uDAO/C,iBAAiB,4CA8BnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,GAAI,wCAAwC,eAAe,
|
|
1
|
+
{"version":3,"file":"StepsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,GAAI,wCAAwC,eAAe,4CA0BjF,CAAC"}
|