@photoroom/ui 0.1.644 → 0.1.645

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":"BrowserDialogHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/BrowserDialog/BrowserDialogHeader.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,mBAAmB,0CAK7B,wBAAwB,gCAY1B,CAAC"}
1
+ {"version":3,"file":"BrowserDialogHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/BrowserDialog/BrowserDialogHeader.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,mBAAmB,0CAK7B,wBAAwB,gCAiB1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserDialogSelectionFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/BrowserDialog/BrowserDialogSelectionFooter.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC;IACvD,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,4BAA4B,8CAKtC,iCAAiC,gCAanC,CAAC"}
1
+ {"version":3,"file":"BrowserDialogSelectionFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/BrowserDialog/BrowserDialogSelectionFooter.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC;IACvD,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,4BAA4B,8CAKtC,iCAAiC,gCAenC,CAAC"}
@@ -1,4 +1,7 @@
1
+ import { DialogSelectionThumbnail } from "../BrowserDialog/DialogSelectionThumbnail";
1
2
  import * as DialogPrimitive from "../DialogPrimitive";
3
+ import { ToolDialogFooter } from "./ToolDialogFooter";
4
+ import { ToolDialogSelectionFooter } from "./ToolDialogSelectionFooter";
2
5
  export type ToolDialogProps = Readonly<{
3
6
  open?: boolean;
4
7
  defaultOpen?: boolean;
@@ -16,11 +19,10 @@ export type ToolDialogProps = Readonly<{
16
19
  testId?: string;
17
20
  children: React.ReactNode;
18
21
  }>;
19
- /**
20
- * Full-size dialog hosting a destination tool (AI tools, image previews).
21
- * Fills the available space; below 800px the side panel floats and can be toggled.
22
- *
23
- * https://www.figma.com/design/cHgANa7dtzDDGXk7dKuAOQ/Prism?node-id=76519-18261&m=dev
24
- */
25
- export declare const ToolDialog: ({ open, defaultOpen, onOpenChange, onEscapeKeyDown, onPointerDownOutside, trigger, sidePanel, toolbar, footer, hideCloseButton, closeButtonLabel, className, testId, children, }: ToolDialogProps) => import("react").JSX.Element;
22
+ export declare function ToolDialog({ open, defaultOpen, onOpenChange, onEscapeKeyDown, onPointerDownOutside, trigger, sidePanel, toolbar, footer, hideCloseButton, closeButtonLabel, className, testId, children, }: ToolDialogProps): import("react").JSX.Element;
23
+ export declare namespace ToolDialog {
24
+ export { ToolDialogFooter as Footer };
25
+ export { ToolDialogSelectionFooter as SelectionFooter };
26
+ export { DialogSelectionThumbnail as SelectionThumbnail };
27
+ }
26
28
  //# sourceMappingURL=ToolDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/ToolDialog/ToolDialog.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AAItD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAClE,oBAAoB,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC;IAC5E,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,UAAU,qLAepB,eAAe,gCA+DjB,CAAC"}
1
+ {"version":3,"file":"ToolDialog.d.ts","sourceRoot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tB,wBAAwB"}
@@ -0,0 +1,4 @@
1
+ import { type BrowserDialogFooterProps } from "../BrowserDialog";
2
+ export type ToolDialogFooterProps = BrowserDialogFooterProps;
3
+ export declare const ToolDialogFooter: ({ className, ...props }: ToolDialogFooterProps) => import("react").JSX.Element;
4
+ //# sourceMappingURL=ToolDialogFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolDialogFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/ToolDialog/ToolDialogFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAEtF,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAE7D,eAAO,MAAM,gBAAgB,4BAA6B,qBAAqB,gCAE9E,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type BrowserDialogSelectionFooterProps } from "../BrowserDialog";
2
+ export type ToolDialogSelectionFooterProps = BrowserDialogSelectionFooterProps;
3
+ export declare const ToolDialogSelectionFooter: ({ className, ...props }: ToolDialogSelectionFooterProps) => import("react").JSX.Element;
4
+ //# sourceMappingURL=ToolDialogSelectionFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolDialogSelectionFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/ToolDialog/ToolDialogSelectionFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,8BAA8B,GAAG,iCAAiC,CAAC;AAE/E,eAAO,MAAM,yBAAyB,4BAGnC,8BAA8B,gCAEhC,CAAC"}
@@ -1,2 +1,4 @@
1
1
  export * from "./ToolDialog";
2
+ export * from "./ToolDialogFooter";
3
+ export * from "./ToolDialogSelectionFooter";
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/ToolDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/ToolDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC"}