@photoroom/ui 0.1.92 → 0.1.94

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.
@@ -18,7 +18,7 @@ export type BoardSectionProps = Readonly<{
18
18
  /** Ref forwarded to the label button (e.g. for drag handle) */
19
19
  labelRef?: React.Ref<HTMLButtonElement>;
20
20
  /** Additional HTML attributes spread onto the label button. className is merged, not overridden. */
21
- labelProps?: React.HTMLAttributes<HTMLButtonElement>;
21
+ labelProps?: React.HTMLAttributes<HTMLButtonElement> & Record<`data-${string}`, string>;
22
22
  }>;
23
23
  export declare const BoardSection: ({ label, isSelected, isEditing, onSelect, onRequestEdit, onRename, onCancelEdit, className, labelRef, labelProps, }: BoardSectionProps) => import("react/jsx-runtime").JSX.Element;
24
24
  //# sourceMappingURL=BoardSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BoardSection.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BoardSection/BoardSection.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;IACvC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,mGAAmG;IACnG,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACxC,oGAAoG;IACpG,UAAU,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;CACtD,CAAC,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,qHAW1B,iBAAiB,4CAgInB,CAAC"}
1
+ {"version":3,"file":"BoardSection.d.ts","sourceRoot":"","sources":["../../../../src/components/content/BoardSection/BoardSection.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;IACvC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,mGAAmG;IACnG,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACxC,oGAAoG;IACpG,UAAU,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,GAAG,MAAM,CAAC,QAAQ,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC;CACzF,CAAC,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,qHAW1B,iBAAiB,4CAgInB,CAAC"}
@@ -4,7 +4,6 @@ export type ReviewProps = {
4
4
  image?: React.ReactNode;
5
5
  name: string;
6
6
  occupation: string;
7
- density?: "default" | "compact";
8
7
  } & React.ComponentProps<"li">;
9
- export declare const Review: ({ title, content, image, name, occupation, density, className, ...rest }: ReviewProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Review: ({ title, content, image, name, occupation, className, ...rest }: ReviewProps) => import("react/jsx-runtime").JSX.Element;
10
9
  //# sourceMappingURL=Review.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Review.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ReviewsBlock/Review.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAE/B,eAAO,MAAM,MAAM,GAAI,0EASpB,WAAW,4CA0Cb,CAAC"}
1
+ {"version":3,"file":"Review.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ReviewsBlock/Review.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAE/B,eAAO,MAAM,MAAM,GAAI,iEAQpB,WAAW,4CA8Bb,CAAC"}
@@ -1,4 +1,4 @@
1
- type ReviewsBlockProps = {
1
+ export type ReviewsBlockProps = {
2
2
  titleBlock?: React.ReactNode;
3
3
  ctaLabel?: string;
4
4
  ctaLink?: {
@@ -8,5 +8,4 @@ type ReviewsBlockProps = {
8
8
  reviews?: React.JSX.Element[];
9
9
  } & React.ComponentProps<"section">;
10
10
  export declare const ReviewsBlock: ({ titleBlock, reviews, ctaLabel, ctaLink, className, ...rest }: ReviewsBlockProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
12
11
  //# sourceMappingURL=ReviewsBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReviewsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ReviewsBlock/ReviewsBlock.tsx"],"names":[],"mappings":"AAGA,KAAK,iBAAiB,GAAG;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;CAC/B,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,gEAO1B,iBAAiB,4CAuBnB,CAAC"}
1
+ {"version":3,"file":"ReviewsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ReviewsBlock/ReviewsBlock.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;CAC/B,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,gEAO1B,iBAAiB,4CAuBnB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type TestimonialItemProps = {
2
+ content: React.ReactNode;
3
+ avatar: React.ReactNode;
4
+ logo: React.ReactNode;
5
+ name: string;
6
+ occupation: string;
7
+ className?: string;
8
+ };
9
+ export declare const TestimonialItem: ({ content, avatar, logo, name, occupation, className, }: TestimonialItemProps) => import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=TestimonialItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestimonialItem.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialsBlock/TestimonialItem.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,yDAO7B,oBAAoB,4CAqCtB,CAAC"}
@@ -1,12 +1,6 @@
1
- export type TestimonialsBlockProps = Readonly<{
1
+ export type TestimonialsBlockProps = {
2
2
  titleBlock?: React.ReactNode;
3
- testimonials?: Array<{
4
- content?: React.ReactNode;
5
- avatar?: React.ReactNode;
6
- logo?: React.ReactNode;
7
- name?: string;
8
- occupation?: string;
9
- }>;
10
- }>;
11
- export declare const TestimonialsBlock: ({ titleBlock, testimonials }: TestimonialsBlockProps) => import("react/jsx-runtime").JSX.Element;
3
+ testimonials?: React.JSX.Element[];
4
+ } & React.ComponentProps<"section">;
5
+ export declare const TestimonialsBlock: ({ titleBlock, testimonials, className, ...rest }: TestimonialsBlockProps) => import("react/jsx-runtime").JSX.Element;
12
6
  //# sourceMappingURL=TestimonialsBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TestimonialsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialsBlock/TestimonialsBlock.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC5C,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC;QACnB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC,CAAC;CACJ,CAAC,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAAI,8BAA8B,sBAAsB,4CAoHrF,CAAC"}
1
+ {"version":3,"file":"TestimonialsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialsBlock/TestimonialsBlock.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;CACpC,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAEpC,eAAO,MAAM,iBAAiB,GAAI,kDAK/B,sBAAsB,4CAqFxB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from "./TestimonialsBlock";
2
+ export * from "./TestimonialItem";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialsBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialsBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
@@ -2,7 +2,6 @@ export type TextContentCardProps = {
2
2
  content: React.ReactNode;
3
3
  footer?: React.ReactNode;
4
4
  className?: string;
5
- density?: "default" | "compact";
6
5
  };
7
- export declare const TextContentCard: ({ density, content, footer, className, ...rest }: TextContentCardProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const TextContentCard: ({ content, footer, className, ...rest }: TextContentCardProps) => import("react/jsx-runtime").JSX.Element;
8
7
  //# sourceMappingURL=TextContentCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextContentCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TextContentBlock/TextContentCard.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,kDAM7B,oBAAoB,4CAuBtB,CAAC"}
1
+ {"version":3,"file":"TextContentCard.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TextContentBlock/TextContentCard.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,yCAAyC,oBAAoB,4CAmB5F,CAAC"}